3 * Visual styles for Bartik's forms.
21 * We've temporarily added this Firefox specific rule here to fix fieldset
23 * @todo remove once this Mozilla bug is fixed.
24 * See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
26 @media (min--moz-device-pixel-ratio: 0) {
37 border-top-left-radius: 0;
38 border-top-right-radius: 0;
43 .filter-wrapper .form-item label {
44 margin-right: 10px; /* LTR */
46 [dir="rtl"] .filter-wrapper .form-item label {
53 text-shadow: 0 1px 0 #fff;
58 details summary a:hover,
59 details summary a:active,
60 details summary a:focus {
63 details .details-description {
76 font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
81 /* Keep form elements from overflowing their containers. */
83 box-sizing: border-box;
91 * Make the font slightly bigger in mobile
92 * @todo: check the correct font-size
94 @media screen and (max-width: 60em) { /* 920px */
103 textarea.form-textarea {
114 textarea.form-textarea {
115 border: 1px solid #ccc;
118 input.form-submit:hover,
119 input.form-submit:focus {
122 .password-suggestions ul li {
123 margin-left: 1.2em; /* LTR */
125 [dir="rtl"] .password-suggestions ul li {
130 .form-wrapper .label {
133 .form-wrapper .field-multiple-table .label {
136 .form-type-radio label,
137 .form-type-checkbox label {
138 margin-left: 4px; /* LTR */
140 [dir="rtl"] .form-type-radio label,
141 [dir="rtl"] .form-type-checkbox label {
145 .form-type-radio .description,
146 .form-type-checkbox .description {
147 margin-left: 2px; /* LTR */
149 [dir="rtl"] .form-type-radio .description,
150 [dir="rtl"] .form-type-checkbox .description {
163 .node-form .description,
164 .node-form .form-wrapper .label {
165 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
167 .node-form .form-wrapper .field-multiple-table .label {
168 font-family: inherit;
170 .node-form .form-wrapper {
173 .node-form .entity-content-form-footer,
174 .node-form .field--name-status {
177 .node-form .form-actions {
183 .contact-form #edit-name {
187 .contact-form #edit-mail {
191 .contact-form #edit-subject {
195 .contact-form #edit-message {
197 border-top-left-radius: 4px;
198 border-top-right-radius: 4px;
201 /* Disabled form elements */
202 .form-disabled input,
203 .form-disabled select,
204 .form-disabled textarea {
209 .form-disabled label {
214 .comment-form label {
215 float: left; /* LTR */
216 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
220 [dir="rtl"] .comment-form label {
224 .comment-form .form-select {
228 .comment-form .form-type-textarea label {
231 .comment-form .form-item,
232 .comment-form .form-radios,
233 .comment-form .form-type-checkbox,
234 .comment-form .form-select {
238 .comment-form .form-type-checkbox,
239 .comment-form .form-radios {
240 margin-left: 120px; /* LTR */
242 [dir="rtl"] .comment-form .form-type-checkbox,
243 [dir="rtl"] .comment-form .form-radios,
244 [dir="rtl"] .comment-form .form-item .description {
248 .comment-form .form-type-checkbox label,
249 .comment-form .form-radios label {
253 .comment-form input.form-file {
256 .layout-no-sidebars .comment-form .form-text {
259 .layout-one-sidebar .comment-form .form-text {
262 .layout-two-sidebars .comment-form .form-text {
265 .comment-form .form-item .description {
268 margin-left: 120px; /* LTR */
270 .comment-form .form-textarea {
271 border-top-left-radius: 4px;
272 border-top-right-radius: 4px;
274 .comment-form details.filter-wrapper .details-wrapper,
275 .comment-form .text-format-wrapper .form-item {
279 .filter-wrapper label {
283 .filter-wrapper .form-select {
286 .comment-form details.filter-wrapper .tips {
289 #comment-body-add-more-wrapper .form-type-textarea label {
290 margin-bottom: 0.4em;
292 #edit-actions input {
293 margin-right: 0.6em; /* LTR */
295 [dir="rtl"] #edit-actions input {
300 /* Form error styles. */
301 .form-item textarea.error + .cke {
302 border: 2px solid red;
305 /* Form error message styles. */
306 .form-item--error-message {
311 * Improve form element usability on narrow devices.
313 @media all and (max-width: 600px) {
314 .form-actions .button {
320 box-sizing: border-box;
321 -webkit-box-sizing: border-box;
322 -moz-box-sizing: border-box;
325 .js .dropbutton .dropbutton-action > input,
326 .js .dropbutton .dropbutton-action > a,
327 .js .dropbutton .dropbutton-action > button {