Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / _items-list.scss @ dafb5cab

History | View | Annotate | Download (3.3 kB)

1
/* List view for VMs, networks  */
2

    
3
.items-list {
4
	@include block-grid(2, 0, true);
5
	@media #{$small} {
6
		@include block-grid(4, 0, true);
7
	};
8
	background:url(../images/dashed_atom.png) repeat-y left center;
9
	&>li {
10
		text-align:center;
11
		padding:20px;
12
		position: relative;
13
		list-style:none;
14
		background:url(../images/dashed-bg-corner.png) no-repeat right bottom;
15
		height: 215px;
16
		.add-new {
17
			a {
18
				margin:0 20px;
19
				display: block;
20
				font-weight: bold;
21
				height: 100%;
22
				width:100%;
23
				&:hover {
24
					border-color:$third-color;
25
				}
26
			}			
27
		}
28
		.img-wrap {
29
			// height: 78px;
30
			// margin: 0 60px;
31
			text-align: center;
32
		}
33
		.img {
34
			margin-bottom: 16px;
35
			position: relative;
36
			height:58px;
37
			display: inline-block;
38
		}
39
		.container {
40
			&.set-bg {	background:lighten($primary-color,38%); }
41
			&.set-border {	border-color:$secondary-color; }
42
			height:160px;
43
			border:1px solid transparent;
44
			margin: 16px 20px 20px;
45
			position: relative;
46
			line-height:120%;
47
			.tags {
48
				width: 100%;
49
				min-height: 12px;
50
				position: absolute;
51
				bottom: 6px;
52
				// margin-top: 16px;
53
			}
54
			.status {
55
				font-size: 12px;
56
				text-align: center;
57
				a {
58
					color: $secondary-color;
59
					
60
				}
61
				span {
62
					color: $secondary-color;
63
					display: block;
64
				}
65
			}
66
		}
67
		.more {
68
			$col-height: 200px;
69
			display: none;
70
			// height:180px;
71
			background: #fff;
72
			margin: -30px;
73
			height: 100%;
74
			z-index:101;
75
			position: relative;
76
			@include clearfix;
77
			-moz-box-shadow: -5px 5px 5px #ccc;
78
			-webkit-box-shadow: -5px 5px 5px #ccc;
79
			box-shadow: -5px 5px 5px #ccc;
80
			.col {
81
				width: 50%;
82
				float: left;
83
				font-size: emCalc(14px);
84
				height: $col-height;
85
				ul {
86
					margin: 0;
87
					padding: 0;
88
					list-style: none outside none;
89
					li {
90
						padding: 0;
91
						text-align: left;
92
						a {
93
							color: $body-font-color;
94
							display: block;
95
							width:100%;
96
							&:hover {
97
								background-color: $secondary-color;
98
								color:  #fff;
99
							}
100
						}
101
					}
102
				}
103
				&.lt {
104
					ul {
105
						padding-top:10px;
106
						li {
107
							a {
108
								padding: 5px 5px 5px 30px;
109
							}
110
						}
111
					}
112
				}
113
				&.rt {
114
					ul {
115
						li {
116
							height: $col-height/2;
117
							a {
118
								height: 100%;
119
								padding: 5px 5px 5px 30px;
120
								line-height: $col-height/2;
121
							}
122
						}
123
					}
124
				}
125
			}
126
			.vm-name {
127
				background:url(../images/dashed_atom-x.png) repeat-x center top;
128
				padding: 10px;
129
				font-size: emCalc(10px);
130
			}
131
		}
132
		.check {
133
			position:absolute;
134
			right:10px;
135
			top:5px;
136

    
137
			color:lighten($primary-color,35%);
138
			font-weight: bold;
139
			font-size:emCalc(27px);
140
			cursor: pointer;
141
			z-index: 10;
142
			span { position:relative; z-index:10;}
143
			&.active {
144
				color:$secondary-color;
145
			}
146
		}
147
		.visible-info {
148
			// margin: 0 25px;
149
			text-align: center;
150
			font-size: 12px;
151
			position:relative;
152
			color:$primary-color;
153
			overflow: hidden;
154
			margin-bottom: 4px;
155
			span {
156
				&.title {
157
					// white-space: nowrap;
158
					height: 3em;
159
					overflow: hidden;
160
				}
161
				display: block;
162
				position: relative;
163
				em {
164
					font-style:normal;
165
					position: relative;
166
				}
167
			}
168
		}
169
	}
170
	&.list-view {
171
		li {
172
			width:100%;
173
		}
174
	}
175
}
176

    
177
@media #{$entities-large} {
178
	.entities {
179
		.items-list {
180
			&.list-view	{
181
				li {
182
					width:100%;
183
				}
184
			}
185
		}
186
	} 
187
}