Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (2.3 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
		width: 85%;
28
	}
29
}
30

    
31

    
32
/* universal form styles ------------------ */
33

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

    
48

    
49
.snf-color-picker {
50
    display: none;
51
	&>form {
52
		height:237px;
53
		width: 100%
54
	}
55

    
56
	#picker {
57
	    position: relative;
58
	    width: 207px;
59
	    margin: 25px 5px 30px;
60
	    display: inline-block;
61
	}
62
		.color-preview {
63
			@include circle(9px);
64
			// background-color: #16C1E9;
65
			position: relative;
66
			left: 10px;
67
			bottom: -5px;
68
			margin: 0 15px 0 10px;
69
			vertical-align: text-bottom;
70
			border-color: transparent;
71
			color: transparent;
72
		}
73
}
74

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

    
89

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

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