Statistics
| Branch: | Tag: | Revision:

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

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
		.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
		.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
							em {
155
								display: inline-block;
156
								opacity: 1;
157
							}
158
						}
159
						&.clicked {
160
							background-color: $link-color;
161
							color: #fff;
162
							em {
163
								display: inline-block;
164
								opacity: 1;
165
								color: #fff;
166
							}
167
						}
168
					}
169

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

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

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