Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (4.4 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
				}
125
				.tag {
126
					vertical-align: middle;
127
				}
128
				.delete {
129
					margin-left: 10px;	
130
				}
131
			}
132
			.add-tag {
133
				.buttons {
134
					margin-bottom: 1em;
135
				}
136
			}
137
			&.charts {
138
				.graph_container {
139
					margin-bottom: 20px;
140
				}
141
			}
142
		}
143
	}
144
	.content {
145
		h2 {
146
			font-size: emCalc(16px);
147
			line-height: 1;
148
			margin-bottom: 40px;
149
		}
150
		h3 {
151
			margin: 0;
152
			font-size: emCalc(14px);
153
			font-weight: normal;
154
		}
155
	}
156
	.lt-bar {
157
		@include ltbar($details-lt-width);
158
		padding: 0;
159
		display: none;
160
		.items-list {
161
			.img-wrap {
162
				.snf-font {
163
					font-size: $snf-font-size-medium;;
164
				}
165
			}
166
		}
167
	}
168
}
169

    
170
.scroll-wrap {
171
	// overflow: auto;
172
	position: relative;
173
}
174

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

    
197
	}
198
}
199

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

    
232
// experiment with select lists
233
.select-list {
234
	border: 0 !important;  /*Removes border*/
235
	-webkit-appearance: none;  /*Removes default chrome and safari style*/
236
	-moz-appearance: none;  /*Removes default style Firefox*/
237
	background-color: transparent;
238

    
239
}