source: main/trunk/greenstone3/web/interfaces/halftone/less/forms.less@ 32388

Last change on this file since 32388 was 28644, checked in by jlwhisler, 10 years ago

A new interface created using a CSS template by luiszuno.com. Based on the default interface.

File size: 3.1 KB
Line 
1@import "palette.less";
2
3/* FORMS ------------------------------------------------------------*/
4
5#respond{
6 .heading{
7 margin-bottom: 10px;
8 padding-top: 0px;
9 padding-bottom: 10px;
10 border-top: 0px solid @fontColor;
11 border-bottom: 5px solid @fontColor;
12 }
13}
14
15#reply-title{
16 margin-bottom: 10px;
17 padding-top: 0px;
18 padding-bottom: 10px;
19 border-top: 0px solid @fontColor;
20 border-bottom: 5px solid @fontColor;
21}
22
23#commentform,
24#contactForm,
25.wpcf7-form{
26 margin-bottom: 21px;
27}
28
29
30#commentform h4,
31#contactForm h4{
32 margin-top: 20px;
33 margin-bottom: 20px;
34}
35
36.wpcf7-form input,
37.wpcf7-form textarea,
38#contactForm input,
39#contactForm textarea,
40#commentform input,
41#commentform textarea{
42 padding: 10px 15px;
43 background: #eaeaea;
44 color: #484848;
45 border: 1px solid #ccc;
46 font-size: 14px;
47 font-family: Tahoma, Arial;
48 line-height: 1.5em;
49
50 overflow: auto;
51}
52
53.wpcf7-form input:focus,
54.wpcf7-form textarea:focus,
55#contactForm input:focus,
56#contactForm textarea:focus,
57#commentform input:focus,
58#commentform textarea:focus{
59 background: #fff;
60 -webkit-box-shadow: 0px 0px 3px rgba(251,228,113,.4);
61 -moz-box-shadow: 0px 0px 3px rgba(251,228,113,.4);
62 -o-box-shadow: 0px 0px 3px rgba(251,228,113,.4);
63 box-shadow: 0px 0px 3px rgba(251,228,113,.4);
64}
65
66.wpcf7-form input[type="text"],
67.wpcf7-form input[type="text"],
68#contactForm input[type="text"],
69#commentform input[type="text"],
70#contactForm input[type="password"],
71#commentform input[type="password"]{
72 overflow: auto;
73 width: 93.1818%;
74 margin-top: 10px;
75 margin-bottom: 10px;
76 overflow: hidden;
77}
78
79.wpcf7-form textarea,
80#contactForm textarea,
81#commentform textarea{
82 width: 93.1818%;
83 height: 230px;
84 margin-top: 10px;
85 margin-bottom: 10px;
86}
87
88
89#searchsubmit,
90.wpcf7-submit,
91#contactForm input[type="submit"],
92#commentform input[type="submit"],
93#contactForm input[type="button"]{
94
95 width: auto;
96 color: @accentColor;
97 font-size: 14px;
98 background: #f1f1f1;
99 padding: 3px 10px;
100 border: 1px solid #ccc;
101
102 .shadow();
103 .transition();
104
105 cursor: pointer;
106
107 &:hover{
108 -webkit-transform: translate(0, 2px);
109 -moz-transform: translate(0, 2px);
110 -o-transform: translate(0, 2px);
111 transform: translate(0, 2px);
112 }
113}
114
115#respond{
116 margin: 25px 0 0px 0px;
117}
118
119#cancel-comment-reply-link{
120 display: block;
121 float: right;
122 font-family: Tahoma, Arial, "sans-serif";
123 font-size: 12px;
124 text-decoration: underline;
125}
126
127
128
129#commentform .comment-notes{ margin-bottom: 30px;}
130
131
132#contactForm input#submit{ margin-top: 7px; }
133
134#contactForm label,
135#commentform label{
136 color: #484848;
137}
138
139#contactForm p,
140#commentform p{
141 margin-bottom: 0px;
142}
143
144
145#error{
146 margin-left: 10px;
147}
148
149
150#sent-form-msg{
151 padding: 5px 10px;
152 margin-bottom: 40px;
153 background: rgba(0, 0, 0, 0.1);
154 color: @fontColor;
155}
156
157#commentform .form-allowed-tags{
158 font-size: 14px;
159 color: @fontColorLight;
160 margin-bottom: 20px;
161}
162
163.respond-title-wrap,
164.comment-title-wrap {
165 border-bottom: 1px solid #484848;
166 padding: 0 0 15px 0;
167 margin: 0 0 30px 0;
168}
169
170#respond-title,
171#comments,
172.add-comment-link {
173 font-size: 14px;
174 color: #2c2d31;
175 font-weight: bold;
176}
177
178.respond-caption { font-size: 14px; }
Note: See TracBrowser for help on using the repository browser.