| 1 |
/** |
| 2 |
* gridstack SASS styles 11.3.0 |
| 3 |
* Copyright (c) 2021-2024 Alain Dumesny - see GridStack root license |
| 4 |
*/ |
| 5 |
.grid-stack { |
| 6 |
position: relative; |
| 7 |
} |
| 8 |
|
| 9 |
.grid-stack-rtl { |
| 10 |
direction: ltr; |
| 11 |
} |
| 12 |
|
| 13 |
.grid-stack-rtl>.grid-stack-item { |
| 14 |
direction: rtl; |
| 15 |
} |
| 16 |
|
| 17 |
.grid-stack-placeholder>.placeholder-content { |
| 18 |
background-color: rgba(0, 0, 0, 0.1); |
| 19 |
margin: 0; |
| 20 |
position: absolute; |
| 21 |
width: auto; |
| 22 |
z-index: 0 !important; |
| 23 |
} |
| 24 |
|
| 25 |
.grid-stack>.grid-stack-item { |
| 26 |
position: absolute; |
| 27 |
padding: 0; |
| 28 |
} |
| 29 |
|
| 30 |
.grid-stack>.grid-stack-item>.grid-stack-item-content { |
| 31 |
margin: 0; |
| 32 |
position: absolute; |
| 33 |
width: auto; |
| 34 |
overflow-x: hidden; |
| 35 |
overflow-y: auto; |
| 36 |
} |
| 37 |
|
| 38 |
.grid-stack>.grid-stack-item.size-to-content:not(.size-to-content-max)>.grid-stack-item-content { |
| 39 |
overflow-y: hidden; |
| 40 |
} |
| 41 |
|
| 42 |
.grid-stack-item>.ui-resizable-handle { |
| 43 |
position: absolute; |
| 44 |
font-size: 0.1px; |
| 45 |
display: block; |
| 46 |
-ms-touch-action: none; |
| 47 |
touch-action: none; |
| 48 |
} |
| 49 |
|
| 50 |
.grid-stack-item.ui-resizable-disabled>.ui-resizable-handle, |
| 51 |
.grid-stack-item.ui-resizable-autohide>.ui-resizable-handle { |
| 52 |
display: none; |
| 53 |
} |
| 54 |
|
| 55 |
.grid-stack-item>.ui-resizable-sw { |
| 56 |
transform: rotate(45deg); |
| 57 |
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%23666" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 20 20"><path d="m10 3 2 2H8l2-2v14l-2-2h4l-2 2"/></svg>'); |
| 58 |
background-repeat: no-repeat; |
| 59 |
background-position: center; |
| 60 |
cursor: sw-resize; |
| 61 |
width: 20px; |
| 62 |
height: 20px; |
| 63 |
} |
| 64 |
|
| 65 |
.grid-stack-item>.ui-resizable-nw { |
| 66 |
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%23666" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 20 20"><path d="m10 3 2 2H8l2-2v14l-2-2h4l-2 2"/></svg>'); |
| 67 |
background-repeat: no-repeat; |
| 68 |
background-position: center; |
| 69 |
transform: rotate(-45deg); |
| 70 |
cursor: nw-resize; |
| 71 |
width: 20px; |
| 72 |
height: 20px; |
| 73 |
top: 0; |
| 74 |
} |
| 75 |
|
| 76 |
.grid-stack-item>.ui-resizable-n { |
| 77 |
cursor: n-resize; |
| 78 |
height: 10px; |
| 79 |
top: 0; |
| 80 |
left: 25px; |
| 81 |
right: 25px; |
| 82 |
} |
| 83 |
|
| 84 |
.grid-stack-item>.ui-resizable-ne { |
| 85 |
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%23666" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 20 20"><path d="m10 3 2 2H8l2-2v14l-2-2h4l-2 2"/></svg>'); |
| 86 |
background-repeat: no-repeat; |
| 87 |
background-position: center; |
| 88 |
cursor: ne-resize; |
| 89 |
width: 20px; |
| 90 |
height: 20px; |
| 91 |
top: 0; |
| 92 |
transform: rotate(45deg); |
| 93 |
} |
| 94 |
|
| 95 |
.grid-stack-item>.ui-resizable-e { |
| 96 |
cursor: e-resize; |
| 97 |
width: 10px; |
| 98 |
top: 15px; |
| 99 |
bottom: 15px; |
| 100 |
} |
| 101 |
|
| 102 |
.grid-stack-item>.ui-resizable-se { |
| 103 |
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%23666" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 20 20"><path d="m10 3 2 2H8l2-2v14l-2-2h4l-2 2"/></svg>'); |
| 104 |
background-repeat: no-repeat; |
| 105 |
background-position: center; |
| 106 |
cursor: se-resize; |
| 107 |
width: 20px; |
| 108 |
height: 20px; |
| 109 |
transform: rotate(-45deg); |
| 110 |
} |
| 111 |
|
| 112 |
.grid-stack-item>.ui-resizable-s { |
| 113 |
cursor: s-resize; |
| 114 |
height: 10px; |
| 115 |
left: 25px; |
| 116 |
bottom: 0; |
| 117 |
right: 25px; |
| 118 |
} |
| 119 |
|
| 120 |
.grid-stack-item>.ui-resizable-w { |
| 121 |
cursor: w-resize; |
| 122 |
width: 10px; |
| 123 |
top: 15px; |
| 124 |
bottom: 15px; |
| 125 |
} |
| 126 |
|
| 127 |
.grid-stack-item.ui-draggable-dragging>.ui-resizable-handle { |
| 128 |
display: none !important; |
| 129 |
} |
| 130 |
|
| 131 |
.grid-stack-item.ui-draggable-dragging { |
| 132 |
will-change: left, top; |
| 133 |
cursor: move; |
| 134 |
} |
| 135 |
|
| 136 |
.grid-stack-item.ui-resizable-resizing { |
| 137 |
will-change: width, height; |
| 138 |
} |
| 139 |
|
| 140 |
.ui-draggable-dragging, |
| 141 |
.ui-resizable-resizing { |
| 142 |
z-index: 10000; |
| 143 |
} |
| 144 |
|
| 145 |
.ui-draggable-dragging>.grid-stack-item-content, |
| 146 |
.ui-resizable-resizing>.grid-stack-item-content { |
| 147 |
box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.2); |
| 148 |
opacity: 0.8; |
| 149 |
} |
| 150 |
|
| 151 |
.grid-stack-animate, |
| 152 |
.grid-stack-animate .grid-stack-item { |
| 153 |
transition: left 0.3s, top 0.3s, height 0.3s, width 0.3s; |
| 154 |
} |
| 155 |
|
| 156 |
.grid-stack-animate .grid-stack-item.ui-draggable-dragging, |
| 157 |
.grid-stack-animate .grid-stack-item.ui-resizable-resizing, |
| 158 |
.grid-stack-animate .grid-stack-item.grid-stack-placeholder { |
| 159 |
transition: left 0s, top 0s, height 0s, width 0s; |
| 160 |
} |
| 161 |
|
| 162 |
.grid-stack>.grid-stack-item[gs-y="0"] { |
| 163 |
top: 0px; |
| 164 |
} |
| 165 |
|
| 166 |
.grid-stack>.grid-stack-item[gs-x="0"] { |
| 167 |
left: 0%; |
| 168 |
} |
| 169 |
|
| 170 |
.gs-12>.grid-stack-item { |
| 171 |
width: 8.333%; |
| 172 |
} |
| 173 |
|
| 174 |
.gs-12>.grid-stack-item[gs-x="1"] { |
| 175 |
left: 8.333%; |
| 176 |
} |
| 177 |
|
| 178 |
.gs-12>.grid-stack-item[gs-w="2"] { |
| 179 |
width: 16.667%; |
| 180 |
} |
| 181 |
|
| 182 |
.gs-12>.grid-stack-item[gs-x="2"] { |
| 183 |
left: 16.667%; |
| 184 |
} |
| 185 |
|
| 186 |
.gs-12>.grid-stack-item[gs-w="3"] { |
| 187 |
width: 25%; |
| 188 |
} |
| 189 |
|
| 190 |
.gs-12>.grid-stack-item[gs-x="3"] { |
| 191 |
left: 25%; |
| 192 |
} |
| 193 |
|
| 194 |
.gs-12>.grid-stack-item[gs-w="4"] { |
| 195 |
width: 33.333%; |
| 196 |
} |
| 197 |
|
| 198 |
.gs-12>.grid-stack-item[gs-x="4"] { |
| 199 |
left: 33.333%; |
| 200 |
} |
| 201 |
|
| 202 |
.gs-12>.grid-stack-item[gs-w="5"] { |
| 203 |
width: 41.667%; |
| 204 |
} |
| 205 |
|
| 206 |
.gs-12>.grid-stack-item[gs-x="5"] { |
| 207 |
left: 41.667%; |
| 208 |
} |
| 209 |
|
| 210 |
.gs-12>.grid-stack-item[gs-w="6"] { |
| 211 |
width: 50%; |
| 212 |
} |
| 213 |
|
| 214 |
.gs-12>.grid-stack-item[gs-x="6"] { |
| 215 |
left: 50%; |
| 216 |
} |
| 217 |
|
| 218 |
.gs-12>.grid-stack-item[gs-w="7"] { |
| 219 |
width: 58.333%; |
| 220 |
} |
| 221 |
|
| 222 |
.gs-12>.grid-stack-item[gs-x="7"] { |
| 223 |
left: 58.333%; |
| 224 |
} |
| 225 |
|
| 226 |
.gs-12>.grid-stack-item[gs-w="8"] { |
| 227 |
width: 66.667%; |
| 228 |
} |
| 229 |
|
| 230 |
.gs-12>.grid-stack-item[gs-x="8"] { |
| 231 |
left: 66.667%; |
| 232 |
} |
| 233 |
|
| 234 |
.gs-12>.grid-stack-item[gs-w="9"] { |
| 235 |
width: 75%; |
| 236 |
} |
| 237 |
|
| 238 |
.gs-12>.grid-stack-item[gs-x="9"] { |
| 239 |
left: 75%; |
| 240 |
} |
| 241 |
|
| 242 |
.gs-12>.grid-stack-item[gs-w="10"] { |
| 243 |
width: 83.333%; |
| 244 |
} |
| 245 |
|
| 246 |
.gs-12>.grid-stack-item[gs-x="10"] { |
| 247 |
left: 83.333%; |
| 248 |
} |
| 249 |
|
| 250 |
.gs-12>.grid-stack-item[gs-w="11"] { |
| 251 |
width: 91.667%; |
| 252 |
} |
| 253 |
|
| 254 |
.gs-12>.grid-stack-item[gs-x="11"] { |
| 255 |
left: 91.667%; |
| 256 |
} |
| 257 |
|
| 258 |
.gs-12>.grid-stack-item[gs-w="12"] { |
| 259 |
width: 100%; |
| 260 |
} |
| 261 |
|
| 262 |
.gs-1>.grid-stack-item { |
| 263 |
width: 100%; |
| 264 |
} |