Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / _forms.scss @ fc6bf782

History | View | Annotate | Download (2.2 kB)

1
/* Table of Contents
2

    
3
- editable
4
- universal form styles
5
- vm wizard styles
6
*/
7

    
8

    
9
/* editable (used for changing info asychronously) ------------------ */
10

    
11
.editable {
12
	.editbuttons {		
13
		a {
14
			&.save {
15
				display: none;
16
				span {
17
					font-size: 18px;
18
				}
19
			} 
20
			&.cancel {
21
				@extend a.save
22
			}
23
		}
24
	}
25
	input[type="text"] {
26
		display: none;
27
	}
28
}
29

    
30

    
31
/* universal form styles ------------------ */
32

    
33
.input {
34
	display: inline-block;
35
	padding-left:6px;
36
	input[type="text"] {
37
		width: 142px;
38
		padding:0 12px 0 6px;
39
		border:0 none;
40
		background-color: transparent;
41
		outline: 0;
42
		margin:0;
43
		@include box-shadow(none);
44
	}
45
}
46

    
47

    
48
.snf-color-picker {
49
    display: none;
50
	&>form {
51
		height:237px;
52
		width: 100%
53
	}
54
	#picker {
55
	    position: relative;
56
	    width: 207px;
57
	    margin: 25px 5px 30px;
58
	    display: inline-block;
59
	}
60

    
61
		#color {
62
			@extend .tag-demo;
63
			margin: 0 15px 0 10px;
64
			position: static;
65
			vertical-align: text-bottom;
66
			border-color:transparent;
67
			color: transparent;
68
		}
69
}
70

    
71
/* detailed view styles ------------------ */
72
.details {
73
	.input{
74
		background:url(../images/input-bg-lt-black.png) no-repeat left bottom;
75
		input[type="text"] {
76
			background:url(../images/input-bg-rt-black.png) no-repeat right bottom;
77
			color: $body-font-color;
78
			@include placeholder {
79
				color:$primary-color;
80
			}
81
		}
82
	}
83
}
84

    
85

    
86
/* vm wizard styles ------------------ */
87
.wizard {
88
	form.custom .custom.dropdown.medium {
89
		background:$overlay-bg-color;
90
		color:white;
91
	}
92
	form.custom .custom.dropdown .current {
93
		color:white;
94
	}
95
	form.custom .custom.dropdown .selector {
96
		border-left:1px solid white;
97
		height: 30px;
98
	}
99
	form.custom .custom.dropdown.open ul {
100
		background:$overlay-bg-color;
101
		color:white;
102
	}
103
	form.custom .custom.dropdown ul li {
104
		color:white;
105
	}
106
	form.custom .custom.dropdown ul li.selected {
107
		color:white;
108
		background:lighten($overlay-bg-color,10%);
109
	}
110
	form.custom .custom.dropdown ul li:hover {
111
		background:lighten($overlay-bg-color,20%);
112
		color:white;
113
	}
114

    
115
	.input {
116
		background:url(../images/input-bg-lt.png) no-repeat left bottom;
117
		input[type="text"] {
118
			background:url(../images/input-bg-rt.png) no-repeat right bottom;
119
			color: $wizard-base-font-color;
120
			@include placeholder {
121
			color:$body-font-color;
122
			}
123
		}
124
	}
125
}