Statistics
| Branch: | Tag: | Revision:

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

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

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