Changeset 13272 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sass/forms/_buttons.scss
- Timestamp:
- 03/05/2024 02:45:07 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sass/forms/_buttons.scss
r13167 r13272 166 166 .button:active, 167 167 .button-secondary:active { 168 background: $color__background-button;168 background: var(--wp--preset--color--light-grey-1); 169 169 border-color: #999; 170 170 box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); … … 215 215 216 216 .button-primary, 217 .download-button { 218 background: #0085ba; 219 border-color: #0073aa #006799 #006799; 220 box-shadow: 0 1px 0 #006799; 221 color: #fff; 217 .download-button, 218 .is-primary, 219 input[type="submit"], 220 button[type="submit"] { 221 background: var(--wp--custom--button--color--background); 222 border: var(--wp--custom--button--border--width) var(--wp--custom--button--border--style) var(--wp--custom--button--border--color); 223 border-radius: var(--wp--custom--button--border--radius); 224 box-shadow: none; 225 color: var(--wp--custom--button--color--text); 222 226 text-decoration: none; 223 text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799; 227 text-shadow: none; 228 font-size: var(--wp--custom--button--small--typography--font-size); 229 line-height: 1.3; 230 padding-right: var(--wp--custom--button--small--spacing--padding--right); 231 padding-left: var(--wp--custom--button--small--spacing--padding--left); 224 232 225 233 &:visited { 226 background: #0085ba;227 border-color: #0073aa #006799 #006799;228 box-shadow: 0 1px 0 #006799;229 color: #fff;234 background: var(--wp--custom--button--color--background); 235 border-color: var(--wp--custom--button--border--color); 236 box-shadow: none; 237 color: var(--wp--custom--button--color--text); 230 238 } 231 239 … … 234 242 &.focus, 235 243 &:focus { 236 background: #008ec2;237 border-color: #006799;238 box-shadow: 0 1px 0 #006799;239 color: #fff;244 background: var(--wp--custom--button--hover--color--background); 245 border-color: var(--wp--custom--button--hover--color--background); 246 box-shadow: none; 247 color: var(--wp--custom--button--hover--color--text); 240 248 } 241 249 242 250 &.focus, 243 251 &:focus { 244 box-shadow: 0 1px 0 #0073aa, 0 0 2px 1px #33b3db; 252 box-shadow: none; 253 border-color: var(--wp--custom--button--focus--border--color); 245 254 } 246 255 … … 249 258 &.active:focus, 250 259 &:active { 251 background: #0073aa; 252 border-color: #006799; 253 box-shadow: inset 0 2px 0 #006799; 260 background: var(--wp--custom--button--active--color--background); 261 border-color: var(--wp--custom--button--active--border--color); 262 color: var(--wp--custom--button--active--color--text); 263 box-shadow: none; 254 264 vertical-align: top; 255 265 } … … 258 268 &:disabled, 259 269 &.disabled { 260 background: #008ec2!important;261 border-color: #007cb2!important;270 background: var(--wp--custom--button--disabled--background-color) !important; 271 border-color: var(--wp--custom--button--disabled--border-color) !important; 262 272 box-shadow: none !important; 263 color: #66c6e4!important;273 color: var(--wp--custom--button--disabled--color) !important; 264 274 cursor: default; 265 text-shadow: 0 -1px 0 rgba( 0, 0, 0, 0.1 ) !important;266 275 } 267 276 … … 279 288 280 289 .button-primary-disabled { 281 background: #008ec2!important;282 border-color: #007cb2!important;290 background: var(--wp--custom--button--disabled--background-color) !important; 291 border-color: var(--wp--custom--button--disabled--border-color) !important; 283 292 box-shadow: none !important; 284 color: #66c6e4!important;293 color: var(--wp--custom--button--disabled--color) !important; 285 294 cursor: default; 286 text-shadow: 0 -1px 0 rgba( 0, 0, 0, 0.1 ) !important;287 295 } 288 296
Note: See TracChangeset
for help on using the changeset viewer.