Changeset 3763:857d4768935c for admin/style/scss/partials/_buttons.scss
- Timestamp:
- 06/22/18 16:48:10 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/scss/partials/_buttons.scss
r3517 r3763 17 17 input[type=reset], 18 18 input[type=submit] { 19 border: 1px solid #ccc;19 border: 1px solid $button-border; 20 20 font-family: $sans-serif-input; 21 21 padding: 3px 10px; … … 27 27 cursor: pointer; 28 28 position: relative; 29 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);29 box-shadow: 0 1px 3px $button-shadow; 30 30 border-style: solid; 31 31 border-width: 1px; … … 52 52 button.submit, 53 53 input.button.start { 54 color: #fff;55 background-color: #25a6e1;56 @include background-image(linear-gradient(to bottom, #25a6e1, #188bc0));57 border-color: #25a6e1;54 color: $submit-color; 55 background-color: $submit-background; 56 @include background-image(linear-gradient(to bottom, $submit-background, $submit-background-alt)); 57 border-color: $submit-background; 58 58 } 59 59 … … 68 68 a.button.submit:hover, 69 69 a.button.submit:focus { 70 background-color: #188bc0;71 @include background-image(linear-gradient(to bottom, #188bc0, #25a6e1));72 border-color: #188bc0;70 background-color: $submit-background-alt; 71 @include background-image(linear-gradient(to bottom, $submit-background-alt, $submit-background)); 72 border-color: $submit-background-alt; 73 73 } 74 74 … … 87 87 a.button.delete, 88 88 a.button.reset { 89 color: #000;90 background-color: #eaeaea;91 @include background-image(linear-gradient(to bottom, #f9f9f9, #eaeaea));89 color: $reset-color; 90 background-color: $reset-background; 91 @include background-image(linear-gradient(to bottom, $reset-background-alt, $reset-background)); 92 92 background-repeat: repeat-x; 93 border-color: #dfdfdf #dfdfdf #c5c5c5;93 border-color: $reset-border; 94 94 } 95 95 … … 116 116 a.button.reset:focus, 117 117 a.button:focus { 118 background-color: #dadada;119 @include background-image(linear-gradient(to bottom, #eaeaea, #dadada));118 background-color: $reset-background-ter; 119 @include background-image(linear-gradient(to bottom, $reset-background, $reset-background-ter)); 120 120 background-repeat: repeat-x; 121 border-color: #cccccc #cccccc #b5b5b5;121 border-color: $reset-border; 122 122 } 123 123 … … 130 130 button.delete, 131 131 a.button.delete { 132 color: #900;132 color: $delete-color; 133 133 } 134 134 … … 143 143 button.delete:focus, 144 144 a.button.delete:focus { 145 color: #ffffff;146 background-color: #b33630;147 @include background-image(linear-gradient(to bottom, #dc5f59, #b33630));145 color: $delete-hover-color; 146 background-color: $delete-hover-background; 147 @include background-image(linear-gradient(to bottom, $delete-hover-background-alt, $delete-hover-background)); 148 148 background-repeat: repeat-x; 149 border-color: #cd504a;149 border-color: $delete-hover-border; 150 150 } 151 151 … … 158 158 .button.add, 159 159 button.add { 160 color: #000;161 background-color: #bee74b;162 @include background-image(linear-gradient(to bottom, #bee74b, #9bca1c));163 border-color: #bee74b;160 color: $add-color; 161 background-color: $add-background; 162 @include background-image(linear-gradient(to bottom, $add-background, $add-background-alt)); 163 border-color: $add-border; 164 164 padding: .33em 1.33em .5em; 165 165 } … … 171 171 button.add:active, 172 172 button.add:focus { 173 background-color: #9bca1c;174 @include background-image(linear-gradient(to bottom, #9bca1c, #bee74b));175 border-color: #9bca1c;173 background-color: $add-background-alt; 174 @include background-image(linear-gradient(to bottom, $add-background-alt, $add-background)); 175 border-color: $add-border-alt; 176 176 } 177 177 … … 195 195 button.disabled, 196 196 button[type=submit].disabled { 197 color: #676e78;198 background: #F5F5F5;199 border: 1px solid #CCC;197 color: $button-disabled-color; 198 background: $button-disabled-background; 199 border: 1px solid $button-disabled-border; 200 200 } 201 201 … … 204 204 button.disabled:hover, 205 205 button[type=submit].disabled:hover { 206 color: #676e78;207 background: #eee;208 border: 1px solid #CCC;206 color: $button-disabled-color; 207 background: $button-disabled-background-alt; 208 border: 1px solid $button-disabled-border; 209 209 } 210 210 … … 222 222 a.metaGetMore { 223 223 font-size: 0.825em; 224 color: #333;225 background: #fff;224 color: $ajax-color; 225 background: $ajax-background; 226 226 box-shadow: none; 227 border: 1px solid #676e78;227 border: 1px solid $ajax-border; 228 228 margin-bottom: .25em; 229 229 text-align: center; 230 230 &:hover { 231 background: #a2cbe9;231 background: $ajax-background-alt; 232 232 box-shadow: none; 233 border: 1px solid #676e78;233 border: 1px solid $ajax-border; 234 234 } 235 235 } … … 248 248 a:hover, 249 249 a:active { 250 color: #333;251 background: transparent;252 border: none;250 color: $gotop-color; 251 background: $gotop-background; 252 border: $gotop-border; 253 253 } 254 254 } … … 269 269 &:hover, 270 270 &:focus { 271 background: #fc0;271 background: $addmeta-background; 272 272 } 273 273 }
Note: See TracChangeset
for help on using the changeset viewer.