Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (4.4 kB)

1
/* Storage (pithos) related styles  */
2

    
3
.storage {
4
	$storage-h4-w: 25%;
5
	height: 100%;
6
	.rect-plus {
7
		display: inline-block;
8
		background-color: #fff;
9
		color: $link-color-hover;
10
		padding: 0 6px;
11
		font-size: emCalc(26px);
12
		&:hover {
13
			color: $link-color;
14
		}
15
	}
16
	.items-list {
17
		height: 100%;
18
		&>li {
19
			.img-wrap {
20
				top: 0;
21
				height: $list-icon-height;
22
				line-height: $list-icon-height;
23
			}
24
			h4 {
25
				width: $storage-h4-w;
26
				height: $list-icon-height;
27
				line-height: $list-icon-height;
28
			}
29
			.info {
30
				margin-right: 40px;
31
			}	
32
		}
33
		.folder {
34
			.img-wrap {
35
				background: url(../images/folder-closed.png) no-repeat center center;
36
			}
37
			&.draghover {
38
				.img-wrap {
39
					background-image: url(../images/folder-open.png);
40
				}
41
			}
42
		}
43
		li:hover {
44
			.actions-col {
45
				visibility: visible;
46
			}
47
		}
48
		.add-new {
49
			position: relative;
50
			input[type="file"] {
51
				position: absolute;
52
				left:$lt-bar-width;
53
				top:0;
54
				right: 0;
55
				bottom: 0;
56
				opacity: 0;
57
			}
58
			h4 {
59
				color: #fff;
60
			}
61
			&:hover {
62
				.rect-plus	{
63
					color: $link-color;
64
				}
65
			}
66
		}
67
		&.drag {
68
			background-color: $light-bg;
69
		}
70
	}
71
	&.containers {
72
		margin-right: 30px;
73
		margin-left:30px;
74
		.items-list {
75
			overflow: visible;
76
			&>li {
77
				padding-right: 0;
78
				padding-left: 0;
79
				height:60px;
80
				&>*	{
81
					display: inline-block;
82
					// overflow: hidden;
83
					// border: 1px solid pink;
84
					height: 100%;
85
					line-height: 100%;
86
				}
87
				.basic-data {
88
					width: 25%;
89
				}
90
				.size-data{
91
					width: 35%;
92
					.progress-col {
93
						height: 20px;
94
						line-height: 20px;
95
						width: 150px;
96
						.progress {
97
							border-color: $gray-2;
98
							height: 100%;
99
							line-height: 100%;
100
							.meter {
101
								text-align: right;
102
								font-size: 10px;
103
								padding: 2px;
104
								background-color: $gray-2;
105
								color: white;
106
							}
107
						}
108

    
109
					}
110
					.size {
111
						width: auto;
112
						line-height: 20px;
113
						height: 20px;
114
						padding-left: 20px;
115
					}
116
				}
117
				.project {
118
					.style-1 {
119

    
120
					}
121
					position: absolute;
122
					top: 14px;
123
					right: -164px;
124
					width: 300px;
125
					font-size: emCalc(12px);
126
					.name {
127
						position: relative;
128
						top: 5px;
129
						width: 191px;
130
						display: inline-block;
131
						text-align: left;
132
						padding-left: 10px;
133
						padding-right: 10px;
134
					}
135
					.available {
136
						list-style: none;
137
						display: none;
138
						width: 100%;
139
						background-color: white;
140
						border: 1px solid $gray-2;
141
						position: absolute;
142
						right: 0px;
143
						top: 24px;
144
						padding-bottom: 10px;
145
						li {
146
							a{
147
								display: inline-block;
148
								width: 100%;
149
								.name {
150
									display: inline-block;
151
									width: 100%;
152
								}
153
							}
154
						}
155
					}
156
					.btn-more {
157
						float: right;
158
						display: inline-block;
159
						margin-left: 16px;
160
						border: 1px solid transparent;
161
						padding: 4px;
162
						padding-right: 0;
163
						width: 90px;
164
						&.style-1, .snf-arrow-down.style-1 {
165
							border: 1px solid $gray-2;
166
							}
167
						&.style-2 {
168
							background-color: $gray-2;
169
							color: white;
170
						}
171
						.explain {
172
								display: none;
173
								margin-right: 12px;
174
						}
175
						.snf-arrow-down {
176
							width: 20px;
177
							height: 20px;
178
							line-height: 20px;
179
							border: 1px solid transparent;
180
							display: inline-block;
181
						}
182
					}
183

    
184
				}
185
				.img-wrap {
186
					.snf-folder-full {
187
						font-size: emCalc(34px);
188
						color: $secondary-color;
189
					}
190
					span:not(.snf-folder-full) {
191
						color: $gray-2;
192
						font-size: emCalc(16px);
193
						position: relative;
194
						bottom: 5px;
195
						left: -28px;
196
					}
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
				}
226
				em {
227
					display: none;
228
				}
229
				&:hover {
230
					em {
231
						display: inline;
232
					}
233
				}
234
			}
235
			.progress-col {
236
				padding-top: 7px;
237
			}
238
			&:hover {
239
				background-color: transparent;
240
			}
241
		}
242
	}
243
	.progress {
244
		height: 20px;
245
		.meter {
246
			background-color: #fff;
247
			color: $body-font-color;
248
			text-align: right;
249
			padding-right: 10px;
250
			line-height: 100%;
251
		}
252
	}
253
	.details {
254
		border: 0 none;
255
	}
256
}
257

    
258
.all-height {
259
	height: 100%
260
}