_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
_editor-selector.scss
95 lines
| 1 | .ob-dropdown.editor-selector { |
| 2 | overflow: visible; |
| 3 | display: inline-block; |
| 4 | position: relative; |
| 5 | width: 100%; |
| 6 | |
| 7 | button { |
| 8 | display: flex; |
| 9 | align-items: center; |
| 10 | font-weight: 600; |
| 11 | padding: 5px 20px 5px 10px; |
| 12 | background: #fff; |
| 13 | border: 1px solid $grey; |
| 14 | font-size: 14px; |
| 15 | height: 52px; |
| 16 | width: 100%; |
| 17 | white-space: nowrap; |
| 18 | |
| 19 | .count { |
| 20 | color: #a3a3a3; |
| 21 | margin: 0 20px 0 auto; |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | img { |
| 26 | border-radius: 100%; |
| 27 | margin-right: 5px; |
| 28 | max-width: 30px; |
| 29 | max-height: 30px; |
| 30 | } |
| 31 | |
| 32 | .options { |
| 33 | margin: 0; |
| 34 | |
| 35 | li { |
| 36 | border-bottom: 1px solid $grey; |
| 37 | padding: 0; |
| 38 | margin: 0; |
| 39 | } |
| 40 | |
| 41 | a { |
| 42 | height: 35px; |
| 43 | font-size: 14px; |
| 44 | display: flex; |
| 45 | align-items: center; |
| 46 | font-weight: 600; |
| 47 | color: $black; |
| 48 | cursor: pointer; |
| 49 | padding: 5px 10px; |
| 50 | text-decoration: none; |
| 51 | white-space: nowrap; |
| 52 | |
| 53 | > span:not(.count) { |
| 54 | margin-right: 20px; |
| 55 | } |
| 56 | |
| 57 | .count { |
| 58 | margin-left: auto; |
| 59 | } |
| 60 | |
| 61 | &:hover { |
| 62 | background-color: $blue; |
| 63 | color: #fff; |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | &.filter-selector { |
| 69 | margin-left: 8px; |
| 70 | width: inherit; |
| 71 | button { |
| 72 | border-radius: 8px; |
| 73 | border: 1px solid transparent; |
| 74 | padding: 5px 10px; |
| 75 | &:hover { |
| 76 | border: 1px solid $grey; |
| 77 | } |
| 78 | } |
| 79 | .dashicon + .editor-icon { |
| 80 | margin: 0 0 0 12px; |
| 81 | } |
| 82 | .options a { |
| 83 | min-width: 59px; |
| 84 | display: flex; |
| 85 | justify-content: center; |
| 86 | } |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | @mixin ob-editor-selector--laptop() { |
| 91 | .ob-body .ob-dropdown.editor-selector:not(.filter-selector) { |
| 92 | display: none; |
| 93 | } |
| 94 | } |
| 95 |