general.css
2 years ago
notifications-panel.css
2 years ago
notifications-panel.less
3 years ago
page.css
2 years ago
page.less
3 years ago
settings.css
7 months ago
settings.less
7 months ago
notifications-panel.less
97 lines
| 1 | /** |
| 2 | * Notification panel in admin bar |
| 3 | * @author Alex Kovalev <alex.kovalevv@gmail.com> |
| 4 | * @copyright Alex Kovalev 23.08.2017 |
| 5 | */ |
| 6 | |
| 7 | #wp-admin-bar-wbcr-han-notify-panel { |
| 8 | |
| 9 | .wbcr-han-adminbar-counter { |
| 10 | background-color: #0073aa; |
| 11 | border-radius: 50%; |
| 12 | color: #fff; |
| 13 | font-weight: bold; |
| 14 | padding: 2px 6px; |
| 15 | font-size: 0.85em; |
| 16 | margin-left: 5px; |
| 17 | } |
| 18 | |
| 19 | .ab-sub-wrapper { |
| 20 | |
| 21 | max-height: 500px; |
| 22 | overflow-y: scroll; |
| 23 | |
| 24 | ul.ab-submenu { |
| 25 | width: 400px; |
| 26 | padding: 0; |
| 27 | |
| 28 | & > li { |
| 29 | border-left: 4px solid #26292b; |
| 30 | padding: 0; |
| 31 | |
| 32 | &.wpnc-updated { |
| 33 | border-left-color: #7ad03a; |
| 34 | } |
| 35 | |
| 36 | &.wpnc-update-nag { |
| 37 | border-left-color: #ffba00; |
| 38 | } |
| 39 | |
| 40 | &.wpnc-error { |
| 41 | border-left-color: #dd3d36; |
| 42 | } |
| 43 | |
| 44 | .wbcr-han-panel-restore-notify-line { |
| 45 | text-align: right; |
| 46 | |
| 47 | a { |
| 48 | color: #ffba00 !important; |
| 49 | text-decoration: none !important; |
| 50 | |
| 51 | &:hover { |
| 52 | text-decoration: underline !important; |
| 53 | color: lighten(#ffba00, 5%) !important; |
| 54 | } |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | .ab-item { |
| 59 | height: 100% !important; |
| 60 | white-space: normal !important; |
| 61 | padding: .5em 1em; |
| 62 | border-bottom: 1px solid #4a4f55; |
| 63 | color: #949494; |
| 64 | line-height: 1.5 !important; |
| 65 | |
| 66 | a { |
| 67 | display: inline; |
| 68 | padding: 0; |
| 69 | margin: 0; |
| 70 | text-decoration: underline; |
| 71 | line-height: 1.5 !important; |
| 72 | color: #949494; |
| 73 | } |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | & > li[id^=wp-admin-bar-wbcr-han-notify-panel-group] { |
| 78 | .ab-item { |
| 79 | height: 100%; |
| 80 | white-space: normal; |
| 81 | padding: 0.5em 1em; |
| 82 | border-bottom: 1px solid #fff; |
| 83 | color: #fff; |
| 84 | line-height: 2; |
| 85 | text-align: center; |
| 86 | font-weight: bold; |
| 87 | text-transform: uppercase; |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | li:nth-child(2n) { |
| 92 | background: #26292b; |
| 93 | } |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 |