Changeset 3439:640a478849cf for admin/style/scss/partials/_forms.scss
- Timestamp:
- 12/04/16 14:23:07 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/scss/partials/_forms.scss
r3398 r3439 9 9 select, 10 10 legend { 11 12 11 border-radius: 3px; 12 max-width: 100%; 13 13 } 14 14 15 15 form { 16 17 18 16 display: block; 17 margin: 0; 18 padding: 0; 19 19 } 20 20 21 21 fieldset { 22 23 24 25 26 27 28 22 display: block; 23 margin: 1em 0; 24 padding: 1em 0.5em; 25 border-width: 1px 0; 26 border-style: solid; 27 border-color: #ccc; 28 background: #f7f7f7; 29 29 } 30 30 31 31 input[type=text], 32 32 textarea { 33 34 33 font-family: $sans-serif-input; 34 font-size: 100%; 35 35 } 36 36 37 37 legend { 38 39 40 41 42 43 38 padding: 0.2em 0.6em; 39 border-width: 1px; 40 border-style: solid; 41 border-color: #676e78; 42 background: #fff; 43 margin-bottom: 0.5em; 44 44 } 45 45 … … 48 48 input.maximal, 49 49 select.maximal { 50 50 width: 99%; 51 51 } 52 52 … … 55 55 textarea, 56 56 select { 57 58 59 60 61 62 63 64 57 background: #fcfcfc; 58 color: #000; 59 border-width: 1px; 60 border-style: solid; 61 border-color: #dfdfdf; 62 box-shadow: 1px 1px 2px #f3f3f3 inset; 63 padding: 3px; 64 vertical-align: top; 65 65 } 66 66 … … 68 68 textarea:focus, 69 69 select:focus { 70 70 border-color: #9bca1c; 71 71 } 72 72 73 73 textarea { 74 padding: 2px 0; 75 } 76 77 textarea.maximal { 78 resize: vertical; 79 } 80 81 .area textarea { 82 display: block; 83 width: 100%; 84 resize: vertical; 74 padding: 2px 0; 75 &.maximal { 76 resize: vertical; 77 } 78 .area & { 79 display: block; 80 width: 100%; 81 resize: vertical; 82 } 85 83 } 86 84 87 85 select { 88 89 86 padding: 2px 0; 87 vertical-align: middle; 90 88 } 91 89 92 90 select.l10n option { 93 91 padding-left: 16px; 94 92 } 95 93 96 94 option.avail10n { 97 95 background: transparent url(../images/check-on.png) no-repeat 0 50%; 98 96 } 99 97 … … 101 99 textarea.invalid, 102 100 select.invalid { 103 104 105 106 101 border: 1px solid red; 102 background: #FFBABA; 103 color: #900; 104 box-shadow: 0 0 0 3px rgba(218, 62, 90, 0.3); 107 105 } 108 106 … … 110 108 input[type=password], 111 109 textarea { 112 110 margin-right: .3em; 113 111 } 114 112 … … 116 114 input[type=radio], 117 115 input[type=file] { 118 119 120 121 116 border: none; 117 margin: 0 .33em 0 0; 118 padding: 0; 119 background: transparent; 122 120 } 123 121 124 122 input[type=file] { 125 126 123 margin-top: .3em; 124 margin-bottom: .3em; 127 125 } 128 126 129 127 optgroup { 130 131 128 font-weight: bold; 129 font-style: normal; 132 130 } 133 131 134 132 option { 135 133 font-weight: normal; 136 134 } 137 135 138 136 label, 139 137 label span { 140 138 display: block; 141 139 } 142 140 143 141 label.ib, 144 142 input.ib { 145 143 display: inline-block; 146 144 } 147 145 148 146 label.classic { 149 147 display: inline; 150 148 } 151 149 … … 154 152 label.classic select, 155 153 label span select { 156 154 display: inline; 157 155 } 158 156 159 157 label.required { 160 158 font-weight: bold; 161 159 } 162 160 163 161 label.required abbr { 164 165 162 color: #900; 163 font-size: 1.3em; 166 164 } 167 165 168 166 label.bold { 169 170 171 167 text-transform: uppercase; 168 font-weight: bold; 169 margin-top: 2em; 172 170 } 173 171 174 172 label.area, 175 173 p.area { 176 174 width: inherit !important; 177 175 } 178 176 179 177 p.field { 180 position: relative; 181 } 182 183 p.field label { 184 display: inline-block; 185 width: 14em; 186 } 187 188 p.field.wide label { 189 width: 21em; 190 } 191 192 p.field input, 193 p.field select { 194 display: inline-block; 178 position: relative; 179 label { 180 display: inline-block; 181 width: 14em; 182 } 183 &.wide label { 184 width: 21em; 185 } 186 input, 187 select { 188 display: inline-block; 189 } 195 190 } 196 191 197 192 .form-note { 198 199 200 193 font-style: italic; 194 font-weight: normal; 195 color: #676e78; 201 196 } 202 197 203 198 p.form-note { 204 199 margin-top: -.7em; 205 200 } 206 201 207 202 span.form-note { 208 203 text-transform: none; 209 204 } 210 205 211 206 // .more-info Additional information on fieldset, field, … (may be hide from user-prefs) 212 .more-info { 213 } 207 .more-info {} 208 214 209 .no-more-info { 215 216 } 210 display: none; 211 }
Note: See TracChangeset
for help on using the changeset viewer.