Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / _details.scss @ 20f0c4ae

History | View | Annotate | Download (4.5 kB)

1
$details-icon-large : 90px;
2

    
3
.details {
4
	$details-top-title-h : 0.4 * $details-top-height;
5
	$details-top-more-h : ( $details-top-height - $details-top-title-h )/2;
6
	position:relative;
7
	border-left: 1px solid $border-color-1;
8
	border-right: 1px solid $border-color-1;
9
	.lt {
10
		width: $details-lt-width;
11
		float: left;
12
		text-align: center;
13
		border-right: 1px solid $border-color-1;
14
		height: $details-top-height;
15
		line-height: $details-top-height;
16
	}
17
	.rt {
18
		overflow: hidden;
19
	}
20
	.top {
21
		@extend .clearfix;
22
		border-bottom:1px solid $border-color-1;
23
		position: relative;
24
		z-index: 1;
25
		.img-wrap {
26
			position: relative;
27
			vertical-align: middle;
28
			width: auto;
29
			height: $details-icon-large;
30
			.snf-pc-full,
31
			.snf-network-full {
32
				font-size: $details-icon-large;
33
			}
34
			.os {
35
				@include sprite('../images/os-unknown.png', 30px, 30px);
36
				position: absolute;
37
				background-size:100%;
38
				left: 42px;
39
				top: 15px;
40
				&.windows { background-image:url('../images/os-windows.png'); }
41
				&.kubuntu { background-image:url('../images/os-kubuntu.png'); }
42
				&.fedora { background-image:url('../images/os-fedora.png'); }
43
			}
44
		}
45
		.title {
46
			height: $details-top-title-h;
47
			padding: 0 0 0 $details-top-more-padding-lt; 
48
		}
49
		.actions, .tabs {
50
			border-top: 1px solid $border-color-1;
51
			height: $details-top-more-h;
52
			line-height: $details-top-more-h;
53
			padding: 0 0 0 $details-top-more-padding-lt; 
54
		}
55
		.actions {
56
			font-size: emCalc(14px);
57
			a {
58
				text-transform: capitalize;
59
			}
60
		}
61
		.tabs {
62
			font-size: emCalc(22px);
63
		}
64
		ul {
65
			list-style: none outside none;
66
			padding:0;
67
			margin: 0;
68
			li {
69
				display: inline-block;
70
				padding: 0 20px 0 0 ;
71
				margin: 0;
72
				line-height: $details-top-more-h;
73
			}
74
		}
75
		h1 {
76
			font-size: emCalc(16px);
77
			margin: 0;
78
			padding-top: 16px;
79
			span {
80
				font-size: emCalc(12px);
81
				display: block;
82
				font-weight: normal;
83
			}
84
		}
85
	}
86
	.content {
87
		&.hidden {
88
			display: none;
89
		}
90
	}
91
	.info-simple {
92
		padding: 0 0 0 $details-lt-width;
93
		.info-block {
94
			padding:$details-top-more-padding-lt;
95
			background: url('../images/dashed_atom-x.png') repeat-x bottom;
96
			dl {
97
				margin-bottom: 0;
98
				font-size: emCalc(14px);
99
				dt {
100
					display: inline-block;
101
					width: 42%;
102
					vertical-align: top;
103
					font-weight: normal;
104
					.snf-font {
105
						width: 40px;
106
						display: inline-block;
107
						font-size: emCalc(24px);
108
						position: relative;
109
						bottom: -2px;
110
					}
111
				}
112
				dd {
113
					display: inline-block;
114
					width: 45%;
115
					margin-bottom: 1em;
116
				}
117
			}
118
			.tags {
119
				text-align:left;
120
				li {
121
					list-style: none outside none;
122
					display: inline-block;
123
					margin-right: 25px;
124
					&:hover {
125
						span {
126
							color:$link-color;
127
						}
128
					}
129
				}
130
				.tag {
131
					vertical-align: middle;
132
				}
133
				.delete {
134
					margin-left: 10px;	
135
				}
136
			}
137
			.add-tag {
138
				.buttons {
139
					margin-bottom: 1em;
140
				}
141
			}
142
			&.charts {
143
				.graph_container {
144
					margin-bottom: 20px;
145
				}
146
			}
147
		}
148
	}
149
	.content {
150
		h2 {
151
			font-size: emCalc(16px);
152
			line-height: 1;
153
			margin-bottom: 40px;
154
		}
155
		h3 {
156
			margin: 0;
157
			font-size: emCalc(14px);
158
			font-weight: normal;
159
		}
160
	}
161
	.lt-bar {
162
		@include ltbar($details-lt-width);
163
		padding: 0;
164
		display: none;
165
		.items-list {
166
			.img-wrap {
167
				.snf-font {
168
					font-size: $snf-font-size-medium;;
169
				}
170
			}
171
		}
172
	}
173
}
174

    
175
.scroll-wrap {
176
	// overflow: auto;
177
	position: relative;
178
}
179

    
180
.toggle-lt-bar {
181
	position: absolute;
182
	left:0;
183
	top: 35px;
184
	background: $link-color;
185
	z-index: 4;
186
	color: #fff;
187
	display: block;
188
	height: 100px;
189
	line-height: 85px;
190
	padding: 0 5px;
191
	&:hover {
192
		background: $link-color-hover;
193
		color: #fff;
194
	}
195
	&.fix-position {
196
		position: fixed;
197
		top: $header-height + $bar-height + 35px;
198
		left: 50%;
199
		margin-left: - ($row-width/2 - emCalc(10px));
200
		border: 1px solid white;
201

    
202
	}
203
}
204

    
205
.list-availables {
206
	&>span{
207
			margin-bottom: 1em;
208
			display: inline-block;
209
		}
210
	ul {
211
		list-style-type: none;
212
		li {
213
			line-height: 2.5em;
214
			span {
215
				display: inline-block;
216
				&:not(:last-child), span:not(:first-child) {
217
					margin-right: 20px;
218
				}
219
				&:first-child {
220
					margin-right: 30px;
221
				}
222
				&.snf-font{
223
					vertical-align: middle;
224
					&.snf-network-full, &.snf-volume-full {
225
						font-size: 24px;
226
						color: $secondary-color;
227
					}
228
				}
229
				&.name {
230
					width: 50%;
231
				}
232
			}
233
		}
234
	}
235
}
236

    
237
// experiment with select lists
238
.select-list {
239
	border: 0 !important;  /*Removes border*/
240
	-webkit-appearance: none;  /*Removes default chrome and safari style*/
241
	-moz-appearance: none;  /*Removes default style Firefox*/
242
	background-color: transparent;
243

    
244
}