Changeset 11529 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/elements/_notices.scss
- Timestamp:
- 02/08/2022 07:19:44 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/elements/_notices.scss
r7256 r11529 2 2 3 3 .notice { 4 background: #fff; 5 border-left: 4px solid #fff; 4 --notice-background-color: #fff; 5 --notice-border-color: #fff; 6 7 background: var(--notice-background-color); 8 border-left: 4px solid var(--notice-border-color); 6 9 box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 ); 7 10 margin: 1em 0; … … 23 26 24 27 &.notice-success { 25 border-left-color: #46b450; 26 } 28 --notice-border-color: #46b450; 27 29 28 &.notice-success.notice-alt { 29 background-color: #ecf7ed; 30 &.notice-alt { 31 --notice-background-color: #ecf7ed; 32 } 30 33 } 31 34 32 35 &.notice-warning { 33 border-left-color: #ffb900; 34 } 36 --notice-border-color: #ffb900; 35 37 36 &.notice-warning.notice-alt { 37 background-color: #fff8e5; 38 &.notice-alt { 39 --notice-background-color: #fff8e5; 40 } 38 41 } 39 42 40 43 &.notice-error { 41 border-left-color: #dc3232; 42 } 44 --notice-border-color: #dc3232; 43 45 44 &.notice-error.notice-alt { 45 background-color: #fbeaea; 46 &.notice-alt { 47 --notice-background-color: #fbeaea; 48 } 46 49 } 47 50 48 51 &.notice-info { 49 border-left-color: #00a0d2; 52 --notice-border-color: #00a0d2; 53 54 &.notice-alt { 55 --notice-background-color: #e5f5fa; 56 } 50 57 } 51 58 52 &.notice-info.notice-alt { 53 background-color: #e5f5fa; 59 &.with-dashicon { 60 padding-left: 80px; 61 62 .dashicons { 63 color: var(--notice-border-color); 64 float: left; 65 font-size: 70px; 66 margin-left: -77px; 67 } 68 69 > p { 70 margin: 0; 71 min-height: 5em; 72 padding-bottom: 1em; 73 padding-top: 1em; 74 } 54 75 } 55 76 }
Note: See TracChangeset
for help on using the changeset viewer.