_card.scss
5 years ago
_custom-tooltip.scss
3 years ago
_demo-site-templates.scss
5 years ago
_docnotice.scss
2 years ago
_editor-selector.scss
2 years ago
_editor-tabs.scss
4 years ago
_feedback.scss
2 years ago
_general.scss
3 years ago
_header.scss
3 years ago
_import-modal.scss
3 years ago
_library.scss
2 years ago
_license.scss
3 years ago
_media-queries.scss
4 years ago
_mock.scss
5 years ago
_new-tc-notice.scss
1 year ago
_notification.scss
4 years ago
_preview.scss
5 years ago
_search.scss
4 years ago
_settings.scss
2 years ago
_starter-site-card.scss
4 years ago
_stepper.scss
3 years ago
_sticky-nav.scss
5 years ago
_vars.scss
5 years ago
_notification.scss
71 lines
| 1 | .notification { |
| 2 | color: #fff; |
| 3 | display: flex; |
| 4 | align-items: center; |
| 5 | flex-wrap: wrap; |
| 6 | padding: 20px; |
| 7 | box-sizing: border-box; |
| 8 | background-color: $blue; |
| 9 | border: 1px solid darken($blue, 5%); |
| 10 | margin: 0 0 20px; |
| 11 | max-height: 1000px; |
| 12 | |
| 13 | .components-button { |
| 14 | box-shadow: none!important; |
| 15 | margin: 10px 0 0; |
| 16 | background-color: transparent; |
| 17 | color: #fff; |
| 18 | border: 2px solid #FFFFFF; |
| 19 | border-radius: 2px; |
| 20 | font-size: 14px; |
| 21 | font-weight: 600; |
| 22 | line-height: normal; |
| 23 | padding: 5px 10px; |
| 24 | height: auto; |
| 25 | flex-shrink: 0; |
| 26 | &:hover { |
| 27 | background-color: #fff; |
| 28 | color: $blue; |
| 29 | box-shadow: none; |
| 30 | } |
| 31 | span { |
| 32 | display: flex; |
| 33 | align-items: center; |
| 34 | |
| 35 | svg { |
| 36 | height: 15px; |
| 37 | margin-right: 5px; |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | } |
| 42 | |
| 43 | p { |
| 44 | display: flex; |
| 45 | align-items: center; |
| 46 | font-size: 15px; |
| 47 | font-weight: 600; |
| 48 | flex-grow: 0; |
| 49 | svg { |
| 50 | margin-right: 5px; |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | .components-button .dashicon{ |
| 55 | margin-left: 5px; |
| 56 | } |
| 57 | |
| 58 | } |
| 59 | |
| 60 | @mixin notification--tablet() { |
| 61 | .notification { |
| 62 | flex-wrap: nowrap; |
| 63 | padding: 10px; |
| 64 | p{ |
| 65 | margin: 0; |
| 66 | } |
| 67 | .components-button{ |
| 68 | margin: 0 0 0 auto; |
| 69 | } |
| 70 | } |
| 71 | } |