Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (3.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_fill,
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:44px;
39
				top:14px;
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
					.icon {
97
						width: 40px;
98
						display: inline-block;
99
						font-size: emCalc(24px);
100
					}
101
				}
102
				dd {
103
					display: inline-block;
104
					width: 45%;
105
					margin-bottom: 1em;
106
				}
107
			}
108
			&.tags {
109
				text-align:left;
110
				.editable {
111
					min-width: 30%;
112
					display: inline-block;
113
					.input-txt {
114
						font-size: 14px;
115
					}
116
					input[type="text"] {
117
						width: 100px;
118
					}
119
				}
120
				.btns {
121
					margin-top: 77px;
122
					margin-bottom: 20px;
123
					*:first-child {
124
						margin-right: 15px;
125
					}
126
				}
127
				.buttons {
128
					margin-top: 25px;
129
					margin-bottom: 25px;
130
				}
131
				h3 {
132
					margin: 0;
133
					font-size: emCalc(14px);
134
					font-weight: normal;
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
	}
151
	.lt-bar {
152
		@include ltbar($details-lt-width);
153
		padding: 0;
154
		display: none;
155
	}
156
}
157

    
158
.scroll-wrap {
159
	overflow: auto;
160
	position: relative;
161
}
162

    
163
.toggle-lt-bar {
164
	position: absolute;
165
	left:0;
166
	top: 35px;
167
	background: $link-color;
168
	z-index: 4;
169
	color: #fff;
170
	display: block;
171
	height: 100px;
172
	line-height: 85px;
173
	padding: 0 5px;
174
	&:hover {
175
		background: $link-color-hover;
176
		color: #fff;
177
	}
178
}