Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (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: 24px;
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
		}
58
		.tabs {
59
			font-size: emCalc(22px);
60
		}
61
		ul {
62
			list-style: none outside none;
63
			padding:0;
64
			margin: 0;
65
			li {
66
				display: inline-block;
67
				padding: 0 20px 0 0 ;
68
				margin: 0;
69
				line-height: $details-top-more-h;
70
			}
71
		}
72
		h1 {
73
			font-size: emCalc(16px);
74
			margin: 0;
75
			padding-top: 16px;
76
			span {
77
				font-size: emCalc(12px);
78
				display: block;
79
				font-weight: normal;
80
			}
81
		}
82
	}
83
	.info-simple {
84
		padding: 20px 0 0 $details-lt-width;
85
		.info-block {
86
			padding:$details-top-more-padding-lt;
87
			background: url('../images/dashed_atom-x.png') repeat-x bottom;
88
			dl {
89
				margin-bottom: 0;
90
				font-size: emCalc(14px);
91
				dt {
92
					display: inline-block;
93
					width: 42%;
94
					vertical-align: top;
95
					font-weight: normal;
96
					.snf-font {
97
						width: 40px;
98
						display: inline-block;
99
						font-size: emCalc(24px);
100
						position: relative;
101
						bottom: -2px;
102
					}
103
				}
104
				dd {
105
					display: inline-block;
106
					width: 45%;
107
					margin-bottom: 1em;
108
				}
109
			}
110
			&.tags {
111
				text-align:left;
112
				.tag-data {
113
					min-width: 30%;
114
					display: inline-block;
115
				}
116
				.btns {
117
					margin-top: 77px;
118
					margin-bottom: 20px;
119
					*:first-child {
120
						margin-right: 15px;
121
					}
122
				}
123
				.buttons {
124
					margin-top: 25px;
125
					margin-bottom: 25px;
126
				}
127
				h3 {
128
					margin: 0;
129
					font-size: emCalc(14px);
130
					font-weight: normal;
131
				}
132
			}
133
			&.charts {
134
				.graph_container {
135
					margin-bottom: 20px;
136
				}
137
			}
138
		}
139
	}
140
	.content {
141
		h2 {
142
			font-size: emCalc(16px);
143
			line-height: 1;
144
			margin-bottom: 40px;
145
		}
146
	}
147
	.lt-bar {
148
		@include ltbar($details-lt-width);
149
		padding: 0;
150
		display: none;
151
	}
152
}
153

    
154
.scroll-wrap {
155
	overflow: auto;
156
	position: relative;
157
}
158

    
159
.toggle-lt-bar {
160
	position: absolute;
161
	left:0;
162
	top: 35px;
163
	background: $link-color;
164
	z-index: 4;
165
	color: #fff;
166
	display: block;
167
	height: 100px;
168
	line-height: 85px;
169
	padding: 0 5px;
170
	&:hover {
171
		background: $link-color-hover;
172
		color: #fff;
173
	}
174
	&.fix-position {
175
		position: fixed;
176
		top: $header-height + $bar-height + 35px;
177
		left: 50%;
178
		margin-left: - ($row-width/2 - emCalc(10px));
179

    
180
	}
181
}
182

    
183
.list-availables {
184
	&>span{
185
			margin-bottom: 1em;
186
			display: inline-block;
187
		}
188
	ul {
189
		list-style-type: none;
190
		li {
191
			line-height: 2.5em;
192
			span {
193
				display: inline-block;
194
				&:not(:last-child), span:not(:first-child) {
195
					margin-right: 20px;
196
				}
197
				&:first-child {
198
					margin-right: 30px;
199
				}
200
				&.snf-font{
201
					vertical-align: middle;
202
					&.snf-network-full, &.snf-volume-full {
203
						font-size: 24px;
204
						color: $secondary-color;
205
					}
206
				}
207
				&.name {
208
					width: 50%;
209
				}
210
			}
211
		}
212
	}
213
}