root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / _storage.scss @ 390a85eb
History | View | Annotate | Download (4.3 kB)
1 |
/* Storage (pithos) related styles */ |
---|---|
2 |
|
3 |
.storage { |
4 |
height: 100%; |
5 |
.rect-plus { |
6 |
display: inline-block; |
7 |
background-color: #fff; |
8 |
color: $link-color-hover; |
9 |
padding: 0 6px; |
10 |
font-size: emCalc(26px); |
11 |
&:hover { |
12 |
color: $link-color; |
13 |
} |
14 |
} |
15 |
.items-list { |
16 |
height: 100%; |
17 |
&>li { |
18 |
.img-wrap { |
19 |
top: 0; |
20 |
height: $list-icon-height; |
21 |
line-height: $list-icon-height; |
22 |
} |
23 |
h4 { |
24 |
width: $storage-h4-w; |
25 |
height: $list-icon-height; |
26 |
line-height: $list-icon-height; |
27 |
} |
28 |
.info { |
29 |
margin-right: 40px; |
30 |
} |
31 |
} |
32 |
.folder { |
33 |
.img-wrap { |
34 |
background: url(../images/folder-closed.png) no-repeat center center; |
35 |
} |
36 |
&.draghover { |
37 |
.img-wrap { |
38 |
background-image: url(../images/folder-open.png); |
39 |
} |
40 |
} |
41 |
&.updating { |
42 |
.img-wrap { |
43 |
background-image: url(../images/folder-updating.png); |
44 |
} |
45 |
} |
46 |
&.updated { |
47 |
.img-wrap { |
48 |
background-image: url(../images/folder-updated.png); |
49 |
} |
50 |
} |
51 |
} |
52 |
li:hover { |
53 |
.actions-col { |
54 |
visibility: visible; |
55 |
} |
56 |
} |
57 |
.add-new { |
58 |
position: relative; |
59 |
input[type="file"] { |
60 |
position: absolute; |
61 |
left:$lt-bar-width; |
62 |
top:0; |
63 |
right: 0; |
64 |
bottom: 0; |
65 |
opacity: 0; |
66 |
} |
67 |
h4 { |
68 |
color: #fff; |
69 |
} |
70 |
&:hover { |
71 |
.rect-plus { |
72 |
color: $link-color; |
73 |
} |
74 |
} |
75 |
} |
76 |
&.drag { |
77 |
background-color: $light-bg; |
78 |
} |
79 |
} |
80 |
} |
81 |
.containers { |
82 |
.items-list { |
83 |
overflow: visible; |
84 |
&>li { |
85 |
text-align: left; |
86 |
padding-right: 15px; |
87 |
padding-left: 15px; |
88 |
.col { |
89 |
float: left; |
90 |
} |
91 |
h4 { |
92 |
font-size: emCalc(14px); |
93 |
width: auto; |
94 |
} |
95 |
.basic-data { |
96 |
width: 250px; |
97 |
} |
98 |
.size-data{ |
99 |
width: 400px; |
100 |
.progress-col { |
101 |
padding-top: 7px; |
102 |
.progress { |
103 |
border-color: $gray-2; |
104 |
height: 20px; |
105 |
.meter { |
106 |
text-align: right; |
107 |
font-size: 10px; |
108 |
padding: 2px; |
109 |
background-color: $gray-2; |
110 |
color: white; |
111 |
font-size: emCalc(14px); |
112 |
line-height: 100%; |
113 |
} |
114 |
} |
115 |
} |
116 |
.size { |
117 |
width: auto; |
118 |
padding-left: 20px; |
119 |
font-size: emCalc(14px); |
120 |
} |
121 |
} |
122 |
h5 { |
123 |
float: left; |
124 |
width: 200px; |
125 |
font-size: emCalc(14px); |
126 |
font-weight: normal; |
127 |
line-height: $list-icon-height; |
128 |
height: $list-icon-height; |
129 |
margin: 0; |
130 |
padding:0 20px; |
131 |
overflow: hidden; |
132 |
white-space: nowrap; |
133 |
} |
134 |
.project { |
135 |
line-height: $list-icon-height; |
136 |
height: $list-icon-height; |
137 |
width: 100px; |
138 |
font-size: emCalc(14px); |
139 |
position: relative; |
140 |
right: 0; |
141 |
ul { |
142 |
position: absolute; |
143 |
right: 0; |
144 |
top: $list-icon-height + 2px; |
145 |
list-style: none outside none; |
146 |
border: 1px solid $gray-2; |
147 |
padding: 5px 15px; |
148 |
display: none; |
149 |
z-index: 1; |
150 |
background: #fff; |
151 |
min-width: 100px + 200px; |
152 |
li { |
153 |
padding: 6px 5px; |
154 |
} |
155 |
} |
156 |
.btn-more { |
157 |
border: 1px solid $gray-2; |
158 |
padding: 0 10px; |
159 |
float: right; |
160 |
em { |
161 |
display: none; |
162 |
opacity: 0; |
163 |
font-style: normal; |
164 |
color: $body-font-color; |
165 |
@include transition(opacity, 300ms, linear); |
166 |
} |
167 |
&:hover { |
168 |
color: $link-color; |
169 |
em { |
170 |
display: inline-block; |
171 |
opacity: 1; |
172 |
} |
173 |
} |
174 |
&.clicked { |
175 |
background-color: $link-color; |
176 |
color: #fff; |
177 |
em { |
178 |
@include transition(opacity, 300ms, linear); |
179 |
display: inline-block; |
180 |
opacity: 1; |
181 |
color: #fff; |
182 |
} |
183 |
} |
184 |
} |
185 |
|
186 |
} |
187 |
&.folder { |
188 |
.img-wrap { |
189 |
background-position: left center; |
190 |
text-align: left; |
191 |
span { |
192 |
color: $gray-2; |
193 |
font-size: emCalc(16px); |
194 |
position: relative; |
195 |
top: 2px; |
196 |
left: 18px; |
197 |
} |
198 |
} |
199 |
} |
200 |
} |
201 |
} |
202 |
} |
203 |
.storage-progress{ |
204 |
.items-list { |
205 |
margin-bottom: 0; |
206 |
li { |
207 |
padding-left: $lt-bar-width + $check-w; |
208 |
color: #fff; |
209 |
.img-wrap { |
210 |
top: 0; |
211 |
height: $list-icon-height; |
212 |
line-height: $list-icon-height; |
213 |
} |
214 |
h4 { |
215 |
width: $h4-w; |
216 |
height: $list-icon-height; |
217 |
line-height: $list-icon-height; |
218 |
} |
219 |
.remove { |
220 |
text-align: right; |
221 |
font-weight: bold; |
222 |
visibility: visible; |
223 |
a { |
224 |
color: #fff; |
225 |
&:hover { |
226 |
color: $gray-4; |
227 |
} |
228 |
} |
229 |
} |
230 |
.progress-col { |
231 |
padding-top: 7px; |
232 |
} |
233 |
&:hover { |
234 |
background-color: transparent; |
235 |
} |
236 |
} |
237 |
} |
238 |
.progress { |
239 |
height: 20px; |
240 |
.meter { |
241 |
background-color: #fff; |
242 |
color: $body-font-color; |
243 |
text-align: right; |
244 |
padding-right: 10px; |
245 |
line-height: 120%; |
246 |
} |
247 |
} |
248 |
.details { |
249 |
border: 0 none; |
250 |
} |
251 |
} |
252 |
|
253 |
.all-height { |
254 |
height: 100% |
255 |
} |