diff --git a/applications/GettingStartedWith/Draggable/index.css b/applications/GettingStartedWith/Draggable/index.css new file mode 100644 index 0000000000..ab55db37be --- /dev/null +++ b/applications/GettingStartedWith/Draggable/index.css @@ -0,0 +1,118 @@ +body { + padding: 0; +} + +.demo-container { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding: 0 40px; + height: 524px; +} + +.boundary-text { + height: 16px; + line-height: 16px; + text-align: center; + vertical-align: middle; + padding-top: 17px; + padding-bottom: 17px; + color: var(--dx-color-icon) +} + +.board { + background-color: light-dark(#F5F5F5, #141414); + outline: 1px dashed light-dark(#E0E0E0, #525252); + max-width: 1000px; + min-width: 320px; + width: 100%; + height: 500px; + display: grid; + grid-template-columns: repeat(4, 1fr); + align-content: start; + gap: 8px; + border-radius: 8px; + padding: 12px; +} + +@media (width < 850px) { + .board { + grid-template-columns: repeat(3, 1fr); + } +} + +@media (width < 650px) { + .board { + grid-template-columns: repeat(2, 1fr); + } +} + +@media (width < 475px) { + .board { + grid-template-columns: 1fr; + } +} + +.card { + z-index: 0; + max-width: 320px; + min-width: 180px; + width: 100%; + min-height: 84px; + max-height: 84px; + border-radius: 8px; + background-color: light-dark(#FFF, #292929); + display: flex; + box-shadow: 0 0 2px rgba(0 0 0 / 24%); + transition: box-shadow 0.1s ease-in-out; +} + +.color-indicator { + margin: 8px; + height: 68px; + width: 4px; + border-radius: 4px; +} + +.color-indicator.blue { + background-color: var(--dx-color-primary); +} + +.color-indicator.green { + background-color: var(--dx-color-success); +} + +.color-indicator.red { + background-color: var(--dx-color-danger); +} + +.color-indicator.yellow { + background-color: var(--dx-color-warning); +} + +.text-container { + margin-top: 8px; + margin-bottom: 8px; + margin-right: 8px; + height: 68px; + display: flex; + flex-direction: column; +} + +.body-text-box { + height: 40px; +} + +.detail-text-box { + margin-top: auto; + color: light-dark(#707070, #999); +} + +.card.dx-draggable-dragging { + box-shadow: 0 4px 8px rgba(0 0 0 / 28%); +} + +.card.overlapped { + outline: 1px dashed var(--dx-color-primary); +} \ No newline at end of file diff --git a/applications/GettingStartedWith/Draggable/index.html b/applications/GettingStartedWith/Draggable/index.html new file mode 100644 index 0000000000..22576b71d9 --- /dev/null +++ b/applications/GettingStartedWith/Draggable/index.html @@ -0,0 +1,39 @@ +