Changeset 3763:857d4768935c for admin/style/scss/partials/_forms.scss
- Timestamp:
- 06/22/18 16:48:10 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/scss/partials/_forms.scss
r3713 r3763 42 42 border-width: 1px 0; 43 43 border-style: solid; 44 border-color: #ccc;45 background: #f7f7f7;44 border-color: $fieldset-border; 45 background: $fieldset-background; 46 46 &:focus-within { 47 background-color: #eee;47 background-color: $fieldset-focus-background; 48 48 } 49 49 } … … 65 65 border-width: 1px; 66 66 border-style: solid; 67 border-color: #676e78;68 background: #fff;67 border-color: $legend-border; 68 background: $legend-background; 69 69 margin-bottom: 0.5em; 70 70 } … … 73 73 } 74 74 input.invalid, textarea.invalid, select.invalid, input:not([type=file]):invalid:not(:focus) { 75 color: #900;76 box-shadow: 0 0 0 3px rgba(218, 62, 90, 0.3);75 color: $invalid-input-color; 76 box-shadow: 0 0 0 3px $invalid-input-shadow; 77 77 } 78 78 input.invalid, textarea.invalid, input:not([type=file]):invalid:not(:focus) { 79 border: 1px solid red;80 background: #FFBABA;79 border: 1px solid $invalid-input-border; 80 background: $invalid-input-background; 81 81 } 82 82 input[type=text], … … 91 91 input[type=number], 92 92 textarea, select, input:not([type=file]):invalid, input:not([type=file]):invalid:placeholder-shown { 93 color: #000;94 box-shadow: 1px 1px 2px #f3f3f3inset;93 color: $input-color; 94 box-shadow: 1px 1px 2px $input-shadow inset; 95 95 padding: 3px; 96 96 vertical-align: top; … … 107 107 input[type=number], 108 108 textarea, input:not([type=file]):invalid, input:not([type=file]):invalid:placeholder-shown { 109 background: #fcfcfc;109 background: $input-background; 110 110 border-width: 1px; 111 111 border-style: solid; 112 border-color: #dfdfdf;112 border-color: $input-border; 113 113 } 114 114 input:focus, textarea:focus { 115 border-color: #9bca1c;115 border-color: $input-focus; 116 116 } 117 117 textarea { … … 197 197 } 198 198 label.required abbr { 199 color: #900;199 color: $error-alt; 200 200 font-size: 1.3em; 201 201 text-decoration: none; … … 225 225 font-style: italic; 226 226 font-weight: normal; 227 color: #676e78;227 color: $form-note-color; 228 228 } 229 229 p.form-note, p.form-stats { … … 243 243 } 244 244 50% { 245 background-color: #ffbaba;245 background-color: $error-background; 246 246 } 247 247 100% { … … 259 259 } 260 260 50% { 261 background-color: #ccff00;261 background-color: $input-focus; 262 262 } 263 263 100% {
Note: See TracChangeset
for help on using the changeset viewer.