Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (2.9 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

    
17
	&.list-view {
18
		.items-list {
19
			height: 100%;
20
			h4, .img-wrap {
21
				height: $list-icon-height;
22
				line-height: $list-icon-height;
23
			}
24
			h4 {
25
				width: $storage-h4-w;
26
			}
27
			.info {
28
				margin-right: 40px;
29
			}
30
			li:hover {
31
				.actions-col {
32
					visibility: visible;
33
				}
34
			}
35
			.add-new {
36
				position: relative;
37
				input[type="file"] {
38
					position: absolute;
39
					left:$lt-bar-width;
40
					top:0;
41
					right: 0;
42
					bottom: 0;
43
					opacity: 0;
44
				}
45
			}
46
		}
47
	}
48

    
49
	.files {
50
		margin:1em 0;
51
		padding:0;
52
		list-style: none outside none;
53
		li {
54
			list-style:none outside none;
55
			clear: left;
56
			padding:10px 20px;
57
			border:1px solid transparent;
58
			@extend .clearfix;
59
			text-align: left;
60
			font-weight: normal;
61
			.name-col {
62
				float:left;
63
				width:35%;
64
				padding-left:50px;
65
				&.folder { background:url(../images/icon-folder.png) no-repeat left center; }
66
				&.txt { background:url(../images/icon-txt.png) no-repeat left center; }
67
				&.pdf { background:url(../images/icon-pdf.png) no-repeat left center; }
68
				&.image { background:url(../images/icon-image.png) no-repeat left center; }
69
				font-weight: normal;
70
			}
71
			.size-col {
72
				float:left;
73
				width:10%;
74
			}
75
			.date-col {
76
				float:left;
77
				width:20%;
78
			}
79
			
80
			&:hover {
81
				border-color:$secondary-color;
82
				.actions-col { visibility:visible;}
83
			}
84
			&.titles {
85
				color:$primary-color;
86
				.name-col { padding-left:0; }
87
				&:hover {
88
					border-color:transparent;
89
				}
90
			}
91
		}
92
	}
93
}
94

    
95

    
96

    
97

    
98

    
99
.upload-widget {
100
	
101
	text-align:center;
102
	h2, a{
103
		color:#fff;
104
	}
105
	.btns {
106
		a {
107
			@extend .btn3;
108
			margin:0 10px;
109
		}
110
	}
111
	.breadcrumbs {
112
		*, & > *:before ,li a:first-child, a:hover, li a:first-child:hover  {
113
			color:#fff;
114
		}
115
		a:hover {
116
			text-decoration:underline;
117
		}
118

    
119
		display: inline-block;
120
	}
121
	.files {
122
		color:#fff;
123
		
124
		li {
125
			padding: 10px 120px;
126
			border: none;
127
			position: relative;
128
			.dz-success-mark {
129
				margin-left:10px;
130
			}
131
			.dz-error-mark {
132
				display: none;
133
			}
134
			.cancel-col {
135
				width: 100px;
136
				position: absolute;
137
				right: 50px;
138
				top: 9px;
139
				
140
				.cancel span {
141
					display: block;
142
					text-align: right;
143
				}
144
			}
145
		}
146
		div {
147
			display: inline-block;
148
		}
149
		.progress-bar {
150
			position: static;
151
			padding: 0;
152
			width: 25%;
153
			border: none;
154
			background-color: transparent;
155
			
156
			.progress-wrap {
157
				width: 100%;
158
				margin: 0;
159
			
160
				.progress {
161
					display: block;
162
					margin: 0;
163
					border: 2px solid white;
164
					padding: 0;
165
					background-color:  $secondary-color;
166
				
167
					.meter {
168
						background-color: white;
169
					}
170
				}
171
			}
172
		}
173
	}
174
}
175

    
176
.dz-success-mark, .dz-error-mark, .dz-error-message {
177
	display: none;
178
}
179

    
180
.all-height {
181
	height: 100%
182
}