Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / _storage.scss @ 536ffa66

History | View | Annotate | Download (4.1 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: 0;
77
			padding-left: 0;
78
			.col {
79
				float: left;
80
			}
81
			h4 {
82
				font-size: emCalc(14px);
83
				width: auto;
84
			}
85
			.basic-data {
86
				width: 20%;
87
			}
88
			.size-data{
89
				width: 40%;
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: 20%;
115
				font-size: emCalc(14px);
116
				font-weight: normal;
117
				line-height: $list-icon-height;
118
				height: $list-icon-height;
119
				margin: 0;
120
			}
121
			.project {
122
				line-height: $list-icon-height;
123
				height: $list-icon-height;
124
				width: 18%;
125
				font-size: emCalc(14px);
126
				position: relative;
127
				right: 0;
128
				ul {
129
					position: absolute;
130
					right: 0;
131
					top: $list-icon-height + 2px;
132
					list-style: none outside none;
133
					border: 1px solid $gray-2;
134
					padding: 5px 15px;
135
					display: none;
136
					z-index: 1;
137
					background: #fff;
138
					li {
139
						padding: 4px 0;
140
					}
141
				}
142
				.btn-more {
143
					border: 1px solid $gray-2;
144
					padding: 0 10px;
145
					float: right;
146
					em {
147
						display: none;
148
						opacity: 0;
149
						font-style: normal;
150
						color: $body-font-color;
151
						@include transition(opacity, 300ms, linear);
152
					}
153
					&:hover {
154
						color: $link-color;
155
						em {
156
							display: inline-block;
157
							opacity: 1;
158
						}
159
					}
160
					&.clicked {
161
						background-color: $link-color;
162
						color: #fff;
163
						em {
164
							@include transition(opacity, 300ms, linear);
165
							display: inline-block;
166
							opacity: 1;
167
							color: #fff;
168
						}
169
					}
170
				}
171

    
172
			}
173
			.img-wrap {
174
				.snf-folder-full {
175
					font-size: emCalc(34px);
176
					color: $secondary-color;
177
				}
178
				span:not(.snf-folder-full) {
179
					color: $gray-2;
180
					font-size: emCalc(16px);
181
					position: relative;
182
					bottom: 5px;
183
					left: -28px;
184
				}
185
			}
186

    
187
		}
188
	}
189
}
190
.storage-progress{
191
	.items-list {
192
		margin-bottom: 0;
193
		li {
194
			padding-left: $lt-bar-width + $check-w;
195
			color: #fff;
196
			.img-wrap {
197
				top: 0;
198
				height: $list-icon-height;
199
				line-height: $list-icon-height;
200
			}
201
			h4 {
202
				width: $h4-w;
203
				height: $list-icon-height;
204
				line-height: $list-icon-height;
205
			}
206
			.remove {
207
				text-align: right;
208
				font-weight: bold;
209
				visibility: visible;
210
				a {
211
					color: #fff;
212
				}
213
				em {
214
					display: none;
215
				}
216
				&:hover {
217
					em {
218
						display: inline;
219
					}
220
				}
221
			}
222
			.progress-col {
223
				padding-top: 7px;
224
			}
225
			&:hover {
226
				background-color: transparent;
227
			}
228
		}
229
	}
230
	.progress {
231
		height: 20px;
232
		.meter {
233
			background-color: #fff;
234
			color: $body-font-color;
235
			text-align: right;
236
			padding-right: 10px;
237
			line-height: 120%;
238
		}
239
	}
240
	.details {
241
		border: 0 none;
242
	}
243
}
244

    
245
.all-height {
246
	height: 100%
247
}