Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ba1d82

Browse files
committed
gridstack.css
1 parent f11993b commit 1ba1d82

File tree

1 file changed

+130
-0
lines changed

1 file changed

+130
-0
lines changed

gridstack.css

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
.grid-stack {
2+
position: relative;
3+
}
4+
5+
.grid-stack-item {
6+
position: absolute;
7+
padding: 0;
8+
}
9+
10+
.grid-stack-item .grid-stack-item-content,
11+
.grid-stack-item .placeholder-content {
12+
margin: 0;
13+
position: absolute;
14+
top: 0;
15+
left: 10px;
16+
right: 10px;
17+
bottom: 0;
18+
width: auto;
19+
z-index: 0 !important;
20+
}
21+
22+
.grid-stack-placeholder .placeholder-content {
23+
border: 1px dashed lightgray;
24+
}
25+
26+
.grid-stack-item.ui-draggable-dragging,
27+
.grid-stack-item.ui-resizable-resizing {
28+
z-index: 100;
29+
}
30+
31+
.grid-stack-item.ui-draggable-dragging .box,
32+
.grid-stack-item.ui-resizable-resizing .box {
33+
box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.2);
34+
opacity: 0.8;
35+
}
36+
37+
.grid-stack-item .ui-resizable-handle {
38+
padding: 3px;
39+
margin: 3px 0;
40+
cursor: nwse-resize;
41+
color: gray;
42+
43+
position: absolute;
44+
bottom: 0;
45+
right: 15px;
46+
47+
font: normal normal normal 14px/1 FontAwesome;
48+
text-rendering: auto;
49+
-webkit-font-smoothing: antialiased;
50+
-moz-osx-font-smoothing: grayscale;
51+
52+
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
53+
-webkit-transform: rotate(90deg);
54+
-ms-transform: rotate(90deg);
55+
transform: rotate(90deg);
56+
57+
font-size: 10px;
58+
}
59+
60+
.grid-stack-item .ui-resizable-handle::before {
61+
content: "\f065";
62+
}
63+
64+
.grid-stack-item[data-gs-width="12"] { width: 100% }
65+
.grid-stack-item[data-gs-width="11"] { width: 91.66666667% }
66+
.grid-stack-item[data-gs-width="10"] { width: 83.33333333% }
67+
.grid-stack-item[data-gs-width="9"] { width: 75% }
68+
.grid-stack-item[data-gs-width="8"] { width: 66.66666667% }
69+
.grid-stack-item[data-gs-width="7"] { width: 58.33333333% }
70+
.grid-stack-item[data-gs-width="6"] { width: 50% }
71+
.grid-stack-item[data-gs-width="5"] { width: 41.66666667% }
72+
.grid-stack-item[data-gs-width="4"] { width: 33.33333333% }
73+
.grid-stack-item[data-gs-width="3"] { width: 25% }
74+
.grid-stack-item[data-gs-width="2"] { width: 16.66666667% }
75+
.grid-stack-item[data-gs-width="1"] { width: 8.33333333% }
76+
77+
.grid-stack-item[data-gs-x="12"] { left: 100% }
78+
.grid-stack-item[data-gs-x="11"] { left: 91.66666667% }
79+
.grid-stack-item[data-gs-x="10"] { left: 83.33333333% }
80+
.grid-stack-item[data-gs-x="9"] { left: 75% }
81+
.grid-stack-item[data-gs-x="8"] { left: 66.66666667% }
82+
.grid-stack-item[data-gs-x="7"] { left: 58.33333333% }
83+
.grid-stack-item[data-gs-x="6"] { left: 50% }
84+
.grid-stack-item[data-gs-x="5"] { left: 41.66666667% }
85+
.grid-stack-item[data-gs-x="4"] { left: 33.33333333% }
86+
.grid-stack-item[data-gs-x="3"] { left: 25% }
87+
.grid-stack-item[data-gs-x="2"] { left: 16.66666667% }
88+
.grid-stack-item[data-gs-x="1"] { left: 8.33333333% }
89+
90+
.grid-stack-item[data-gs-height="1"] { height: 60px; }
91+
.grid-stack-item[data-gs-height="2"] { height: 140px; }
92+
.grid-stack-item[data-gs-height="3"] { height: 220px; }
93+
.grid-stack-item[data-gs-height="4"] { height: 300px; }
94+
.grid-stack-item[data-gs-height="5"] { height: 380px; }
95+
.grid-stack-item[data-gs-height="6"] { height: 460px; }
96+
.grid-stack-item[data-gs-height="7"] { height: 540px; }
97+
.grid-stack-item[data-gs-height="8"] { height: 620px; }
98+
.grid-stack-item[data-gs-height="9"] { height: 700px; }
99+
.grid-stack-item[data-gs-height="10"] { height: 780px; }
100+
.grid-stack-item[data-gs-height="11"] { height: 860px; }
101+
.grid-stack-item[data-gs-height="12"] { height: 940px; }
102+
.grid-stack-item[data-gs-height="13"] { height: 1020px; }
103+
.grid-stack-item[data-gs-height="14"] { height: 1100px; }
104+
.grid-stack-item[data-gs-height="15"] { height: 1180px; }
105+
.grid-stack-item[data-gs-height="16"] { height: 1260px; }
106+
.grid-stack-item[data-gs-height="17"] { height: 1340px; }
107+
.grid-stack-item[data-gs-height="18"] { height: 1420px; }
108+
.grid-stack-item[data-gs-height="19"] { height: 1500px; }
109+
.grid-stack-item[data-gs-height="20"] { height: 1580px; }
110+
111+
.grid-stack-item[data-gs-y="0"] { top: 0 }
112+
.grid-stack-item[data-gs-y="1"] { top: 80px; }
113+
.grid-stack-item[data-gs-y="2"] { top: 160px; }
114+
.grid-stack-item[data-gs-y="3"] { top: 240px; }
115+
.grid-stack-item[data-gs-y="4"] { top: 320px; }
116+
.grid-stack-item[data-gs-y="5"] { top: 400px; }
117+
.grid-stack-item[data-gs-y="6"] { top: 480px; }
118+
.grid-stack-item[data-gs-y="7"] { top: 560px; }
119+
.grid-stack-item[data-gs-y="8"] { top: 640px; }
120+
.grid-stack-item[data-gs-y="9"] { top: 720px; }
121+
.grid-stack-item[data-gs-y="10"] { top: 800px; }
122+
.grid-stack-item[data-gs-y="11"] { top: 880px; }
123+
.grid-stack-item[data-gs-y="12"] { top: 960px; }
124+
.grid-stack-item[data-gs-y="13"] { top: 1040px; }
125+
.grid-stack-item[data-gs-y="14"] { top: 1120px; }
126+
.grid-stack-item[data-gs-y="15"] { top: 1200px; }
127+
.grid-stack-item[data-gs-y="16"] { top: 1280px; }
128+
.grid-stack-item[data-gs-y="17"] { top: 1360px; }
129+
.grid-stack-item[data-gs-y="18"] { top: 1440px; }
130+
.grid-stack-item[data-gs-y="19"] { top: 1520px; }

0 commit comments

Comments
 (0)