root / cloudcms / static / cloudcms / css / forms.css @ 7405e79a
History | View | Annotate | Download (9.3 kB)
1 |
/* generic form styles */
|
---|---|
2 |
input, textarea, .form-widget { background-color: #ffffff; color: #000;border-color: #000000; } |
3 |
#forms .input, #forms input { font-family: 'Antic', sans-serif; font-size: 14px; font-weight: normal; line-height: 22px; letter-spacing: 1px; border: 1px solid #808080; height: 21px; display: inline-block; margin-bottom: -1px; padding: 0.8em; padding-left: 1.5em; z-index: 2; } |
4 |
#forms .input:focus, |
5 |
#forms input:focus { position: relative; border: 1px solid #000; z-index: 100; } |
6 |
#forms .input:focus label, |
7 |
#forms input:focus label { z-index: 300; } |
8 |
form.withlabels label { width: 224px; display: block; float: left; padding-top: 1em; } |
9 |
form.withlabels input[type=text], |
10 |
form.withlabels input[type=password] { width: 224px; } |
11 |
form.withlabels input[type=text].long, |
12 |
form.withlabels input[type=password].long, |
13 |
form.withlabels textarea.long { width: 224px; } |
14 |
.login-section a.button { margin-bottom: 12px; } |
15 |
.login-section a.button:last-child { margin-bottom: none;} |
16 |
.login-section a.button.withicon { background-repeat: no-repeat; background-position: 15px 50%; padding-left: 40px; } |
17 |
.login-section.loggedin { padding-bottom: 0 !important; background-image: none !important; } |
18 |
form.login { margin-bottom: 22px; width:340px; } |
19 |
form h2 span { padding-bottom: 3px; } |
20 |
form .form-row { min-height: 30px; position: relative;} |
21 |
form .form-row.submit { margin: 22px 0 ;} |
22 |
form .form-row .extra-link { color: #808080; text-decoration: none; border: none; margin-top:15px; line-height:98%; display:inline-block; padding-top:15px; float: right; position:absolute; right:0; top:0; } |
23 |
form .form-row .extra-link:hover { border-bottom:1px solid #808080;} |
24 |
form .form-row label { font-size: 1.1em; } |
25 |
form.innerlabels label { position: absolute; bottom: 11px; left: 1.5em; color: #808080 ; } |
26 |
form.innerlabels p { margin:0; position: relative;} |
27 |
form.innerlabels p.p15px { font-size:1.154em;} |
28 |
form.innerlabels p.p15px a { margin:0 5px;} |
29 |
form.innerlabels p.p15px a:hover { text-decoration:underline;} |
30 |
form.innerlabels a, |
31 |
form.innerlabels a:hover { } |
32 |
form textarea, |
33 |
form input.text, |
34 |
form input[type="text"], |
35 |
form input[type="password"] { color:#808080; font-family: 'Antic', sans-serif; font-weight: normal; line-height: 22px; letter-spacing: 1px;border: 1px solid #808080; height: 21px; display: inline-block; margin-bottom: -1px; padding: 0.8em; padding-left: 1.5em; z-index: 2; width:300px; } |
36 |
form select { font-family: 'Antic', sans-serif; font-weight: normal; line-height: 22px; letter-spacing: 1px; border: 1px solid #808080; display:block; margin-bottom: -1px; padding: 0.8em; padding-left: 1.5em; z-index: 2; width:331px; } |
37 |
form textarea:focus, |
38 |
form input.text:focus, |
39 |
form input[type="text"]:focus, |
40 |
form input[type="password"]:focus {position: relative; border: 1px solid #000; z-index: 100;} |
41 |
form textarea:focus label, |
42 |
form input.text:focus label, |
43 |
form input[type="text"]:focus label, |
44 |
form input[type="password"]:focus label { z-index: 300;} |
45 |
form input.submit, |
46 |
form input[type="submit"] {font-family: 'Antic', sans-serif;font-size: 14px; font-weight: normal; line-height: 22px; letter-spacing:1px; background-color: #f89a1c;color: #ffffff; border: none; padding: 10px 22px;font-size: 1em; margin:15px 0 0 223px; height:43px; } |
47 |
form.innerlabels input.submit, |
48 |
form.innerlabels input[type="submit"] {margin-left:0;} |
49 |
form input.submit:hover, |
50 |
form input[type="submit"]:hover { background-color:#3582ac;border-color:#3582ac;} |
51 |
form input.submit.back, |
52 |
form input[type="submit"].back { text-decoration: none; bottom: 0; float: right; z-index: 500; } |
53 |
form input.submit.back.right, |
54 |
form input[type="submit"].back.right {right: 0;} |
55 |
form input.submit.back, |
56 |
form input[type="submit"].back { text-decoration: none; bottom: 0; float: right; z-index: 500; } |
57 |
form input.submit.back.right, |
58 |
form input[type="submit"].back.right { right: 0; } |
59 |
form textarea { height: 150px; width: 350px; max-height:150px; max-width:350px;} |
60 |
form .with-errors input, |
61 |
form .with-errors textarea, |
62 |
form .with-errors select { color: #9d261d;} |
63 |
form .with-errors label { color: #e4776f; } |
64 |
.form-error { color:red; font-size: 0.8em; padding: 5px 5px; } |
65 |
.form-errors.all .form-error { position: relative; border-radius: 0; margin-bottom: 1.3em; padding: 0.5em; } |
66 |
div.form-stacked { margin-bottom: 4em; } |
67 |
.checkbox-widget.checked { background-color: #FF0000; background-image: url("../images/checkbox.png"); background-position: 50% 50%; } |
68 |
.content a.checkbox-widget { border: 1px solid #808080; cursor: pointer; display: block; float: left; height: 25px; margin:5px 20px 0 0 ; width: 25px; } |
69 |
form.withlabels .checkbox-widget { margin-top:20px; } |
70 |
form.innerlabels .checkbox-widget + label { position:static; line-height:36px; color:#808080; } |
71 |
form.innerlabels .checkbox-widget + label + a { border-bottom:1px solid #F89A1C; font-size: 1.1em; } |
72 |
form span.info { position:absolute;z-index:10; bottom:32px; } |
73 |
form.innerlabels span.info { left: 290px; } |
74 |
form.withlabels span.info { left: 440px; } |
75 |
form span.info em { display:block; overflow:hidden; position:absolute; left:0; text-indent:-100px; top:0; height:21px; width:21px; background:url(../images/symbols.png) no-repeat -4px -31px;cursor:pointer; } |
76 |
form span.info:hover em { background-position:-4px -3px; } |
77 |
form span.info span { position:absolute; left:29px; top:-2px; width:120px; padding-left:30px; background:url(../images/black-line.jpg ) no-repeat left 12px; min-height:50px; display:none; font-size:0.846em;} |
78 |
form span.info:hover span { display:block; } |
79 |
form .with-errors span.info { display:none;} |
80 |
form p { margin-bottom:0;position:relative;} |
81 |
form input[readonly=true] { /*background-color: #ddd;*/ color: #5e5e5e; } |
82 |
#recaptcha_area { margin-top:20px; } |
83 |
form.innerlabels .with-checkbox .checkbox-widget { } |
84 |
form.innerlabels .with-checkbox .checkbox-label { left:2.5em; top:17px; } |
85 |
form.withlabels .with-checkbox .checkbox-widget { position:absolute; left:224px; top:0; } |
86 |
|
87 |
form .extra-img { display:block; width:21px; height:21px; overflow:hidden; position:absolute; } |
88 |
form.withlabels .extra-img { left:440px; bottom:12px; } |
89 |
form.innerlabels .extra-img { bottom:10px; left:290px } |
90 |
form .with-checkbox .extra-img { top:20px; } |
91 |
form .with-errors .extra-img { background:url(../images/symbols.png) no-repeat -58px -3px; z-index:101;} |
92 |
form .with-errors textarea+.extra-img, |
93 |
form .with-errors noscript+.extra-img { background:transparent;} |
94 |
form .with-errors input[type="text"], |
95 |
form .with-errors input[type="password"] { border:1px solid red;} |
96 |
form.innerlabels .with-errors .extra-img { left:290px;} |
97 |
form input[readonly="True"]+ span.extra-img { background:url(../images/symbols.png) no-repeat -111px -3px; z-index:101;} |
98 |
.errorlist { margin:0; padding:0;} |
99 |
.errorlist li { list-style:none outside;} |
100 |
|
101 |
form .with-hidden { display:none; } |
102 |
|
103 |
|
104 |
/* custom captcha */
|
105 |
#okeanos_recaptcha { width:329px; border:1px solid #808080; margin:0 0 20px; position:relative; } |
106 |
#okeanos_recaptcha #recaptcha_image { padding:15px 0; } |
107 |
#okeanos_recaptcha label.recaptcha_only_if_image, |
108 |
#okeanos_recaptcha label.recaptcha_only_if_audio{ position:absolute; top:auto; bottom:11px; } |
109 |
#okeanos_recaptcha a.recaptcha_audio_cant_hear_link { margin-left:20px; } |
110 |
#okeanos_recaptcha #recaptcha_response_field { width:220px; float:left; margin-left:-1px; } |
111 |
#okeanos_recaptcha .img { width:23px; float:left; height:23px; overflow:hidden; margin:8px; } |
112 |
#okeanos_recaptcha .img a { display:block; width:100%; height:100%; background:url(../images/refresh_lg.png) no-repeat top left; text-indent:-100px } |
113 |
#okeanos_recaptcha .img-refresh a { background:url(../images/refresh_lg.png); } |
114 |
#okeanos_recaptcha .img-refresh a:hover { background:url(../images/refresh_g.png); } |
115 |
#okeanos_recaptcha .img-audio a { background:url(../images/sound_lg.png); } |
116 |
#okeanos_recaptcha .img-audio a:hover { background:url(../images/sound_g.png); } |
117 |
#okeanos_recaptcha .actions-wrap { border-top:1px solid #808080 } |
118 |
|
119 |
input.submit:focus, |
120 |
input[type="submit"]:focus { box-shadow: 0 0 0 1px #FFFFFF inset; border:1px solid #F89A1C; outline:0 none; } |
121 |
|
122 |
@media screen and (max-width : 591px) { |
123 |
form.withlabels .extra-img { left:222px; } |
124 |
form.withlabels span.info { left:222px; } |
125 |
form .extra-img { left:222px; } |
126 |
.form-error { margin-left:0!important; } |
127 |
|
128 |
} |
129 |
|
130 |
|
131 |
@media screen and (max-width : 410px) { |
132 |
form.login { width:auto; } |
133 |
form textarea, |
134 |
form input.text, |
135 |
form input[type="text"], |
136 |
form input[type="password"] { width:90%; } |
137 |
form.innerlabels .extra-img, |
138 |
form.innerlabels .with-errors .extra-img { left:90%; } |
139 |
form.innerlabels { width:auto; } |
140 |
.container form.innerlabels.overflow-hidden { overflow:visible;} |
141 |
form span.info { display:none; } |
142 |
#okeanos_recaptcha { width:inherit } |
143 |
#okeanos_recaptcha #recaptcha_response_field { width:55%; } |
144 |
#okeanos_recaptcha #recaptcha_image img { width:80%; } |
145 |
} |
146 |
|
147 |
|
148 |
@media screen and ( width : 320px) { |
149 |
#okeanos_recaptcha { width:259px } |
150 |
|
151 |
} |