Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (4.2 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
		li:hover {
34
			.actions-col {
35
				visibility: visible;
36
			}
37
		}
38
		.add-new {
39
			position: relative;
40
			input[type="file"] {
41
				position: absolute;
42
				left:$lt-bar-width;
43
				top:0;
44
				right: 0;
45
				bottom: 0;
46
				opacity: 0;
47
			}
48
			h4 {
49
				color: #fff;
50
			}
51
			&:hover {
52
				.rect-plus	{
53
					color: $link-color;
54
				}
55
			}
56
		}
57
		&.drag {
58
			background-color: $light-bg;
59
		}
60
	}
61
	&.containers {
62
		margin-right: 30px;
63
		margin-left:30px;
64
		.items-list {
65
			overflow: visible;
66
			&>li {
67
				padding-right: 0;
68
				padding-left: 0;
69
				height:60px;
70
				&>*	{
71
					display: inline-block;
72
					// overflow: hidden;
73
					// border: 1px solid pink;
74
					height: 100%;
75
					line-height: 100%;
76
				}
77
				.basic-data {
78
					width: 25%;
79
				}
80
				.size-data{
81
					width: 35%;
82
					.progress-col {
83
						height: 20px;
84
						line-height: 20px;
85
						width: 150px;
86
						.progress {
87
							border-color: $gray-2;
88
							height: 100%;
89
							line-height: 100%;
90
							.meter {
91
								text-align: right;
92
								font-size: 10px;
93
								padding: 2px;
94
								background-color: $gray-2;
95
								color: white;
96
							}
97
						}
98

    
99
					}
100
					.size {
101
						width: auto;
102
						line-height: 20px;
103
						height: 20px;
104
						padding-left: 20px;
105
					}
106
				}
107
				.project {
108
					.style-1 {
109

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

    
174
				}
175
				.img-wrap {
176
					.snf-folder-full {
177
						font-size: emCalc(34px);
178
						color: $secondary-color;
179
					}
180
					span:not(.snf-folder-full) {
181
						color: $gray-2;
182
						font-size: emCalc(16px);
183
						position: relative;
184
						bottom: 5px;
185
						left: -28px;
186
					}
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: 100%;
241
		}
242
	}
243
	.details {
244
		border: 0 none;
245
	}
246
}
247

    
248
.all-height {
249
	height: 100%
250
}