_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-tabs.scss
119 lines
| 1 | .editor-tabs { |
| 2 | display: none; |
| 3 | margin: 30px 0; |
| 4 | position: relative; |
| 5 | |
| 6 | &:after{ |
| 7 | content: ""; |
| 8 | position: absolute; |
| 9 | display: block; |
| 10 | width: 100%; |
| 11 | left: 0; |
| 12 | border-bottom: 1px solid #e0e0e0; |
| 13 | height: 1px; |
| 14 | z-index: -1; |
| 15 | right: 0; |
| 16 | bottom: 0; |
| 17 | } |
| 18 | |
| 19 | .long-name { |
| 20 | display: none; |
| 21 | } |
| 22 | |
| 23 | a { |
| 24 | padding: 15px 10px 12px 0px; |
| 25 | display: flex; |
| 26 | align-items: center; |
| 27 | font-weight: 700; |
| 28 | text-decoration: none; |
| 29 | font-size: 14px; |
| 30 | border-bottom: 3px solid transparent; |
| 31 | position: relative; |
| 32 | width: auto; |
| 33 | |
| 34 | &:last-child { |
| 35 | padding-right: 0; |
| 36 | } |
| 37 | |
| 38 | &:not(:first-child) { |
| 39 | margin-left: auto; |
| 40 | } |
| 41 | |
| 42 | &.active { |
| 43 | border-bottom: 3px solid $blue; |
| 44 | } |
| 45 | |
| 46 | .pro-badge { |
| 47 | margin-left: auto; |
| 48 | font-size: 10px; |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | .editor { |
| 53 | color: #616161; |
| 54 | } |
| 55 | |
| 56 | .count { |
| 57 | color: rgba(97, 97, 97, 0.5); |
| 58 | margin: 0 10px; |
| 59 | } |
| 60 | |
| 61 | .icon-wrap { |
| 62 | display: none; |
| 63 | margin-right: 10px; |
| 64 | width: 34px; |
| 65 | height: 34px; |
| 66 | border-radius: 100%; |
| 67 | overflow: hidden; |
| 68 | |
| 69 | img { |
| 70 | max-width: 100%; |
| 71 | display: block; |
| 72 | } |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | .cloud-items { |
| 77 | .editor-tabs { |
| 78 | a { |
| 79 | &:not(:first-child) { |
| 80 | margin-left: 20px; |
| 81 | } |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | @mixin ob-editor-tabs--tablet() { |
| 87 | } |
| 88 | |
| 89 | @mixin ob-editor-tabs--laptop() { |
| 90 | .editor-tabs { |
| 91 | display: flex; |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | @mixin ob-editor-tabs--desktop() { |
| 96 | .editor-tabs { |
| 97 | .icon-wrap { |
| 98 | display: block; |
| 99 | } |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | @mixin ob-editor-tabs--desktop-large() { |
| 104 | .editor-tabs { |
| 105 | a { |
| 106 | width: auto; |
| 107 | padding: 15px 10px 12px 5px; |
| 108 | } |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | @media (min-width: 1600px) { |
| 113 | .editor-tabs { |
| 114 | .long-name { |
| 115 | display: inline; |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 |