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