_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
_search.scss
134 lines
| 1 | .search { |
| 2 | position: relative; |
| 3 | display: flex; |
| 4 | width: 100%; |
| 5 | flex-wrap: wrap; |
| 6 | |
| 7 | input { |
| 8 | width: auto; |
| 9 | flex-shrink: 1; |
| 10 | } |
| 11 | |
| 12 | img { |
| 13 | opacity: .4; |
| 14 | position: absolute; |
| 15 | top: 10px; |
| 16 | left: 10px; |
| 17 | } |
| 18 | |
| 19 | .label-editor { |
| 20 | display: flex; |
| 21 | align-items: center; |
| 22 | width: 100%; |
| 23 | .icon-wrap{ |
| 24 | width: 30px; |
| 25 | margin-right: 10px; |
| 26 | img { |
| 27 | position: relative; |
| 28 | opacity: 1; |
| 29 | width: 100%; |
| 30 | top: auto; |
| 31 | left: auto; |
| 32 | transform: unset; |
| 33 | border-radius: 50%; |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | .ob-dropdown { |
| 39 | width: 100%; |
| 40 | height: 52px; |
| 41 | margin: 20px 0 0; |
| 42 | |
| 43 | button { |
| 44 | position: relative; |
| 45 | left: -1px; |
| 46 | height: 100%; |
| 47 | display: flex; |
| 48 | align-items: center; |
| 49 | font-weight: 600; |
| 50 | padding: 5px 20px 5px 10px; |
| 51 | background: #fff; |
| 52 | border: 1px solid $grey; |
| 53 | font-size: 14px; |
| 54 | margin: 0; |
| 55 | |
| 56 | > svg, .dashicon { |
| 57 | margin-left: auto; |
| 58 | display: flex; |
| 59 | align-items: center; |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | .options { |
| 64 | margin: 0; |
| 65 | |
| 66 | li { |
| 67 | margin: 0; |
| 68 | } |
| 69 | |
| 70 | a { |
| 71 | height: 35px; |
| 72 | font-size: 14px; |
| 73 | display: flex; |
| 74 | align-items: center; |
| 75 | font-weight: 600; |
| 76 | color: $black; |
| 77 | cursor: pointer; |
| 78 | padding: 5px 10px; |
| 79 | text-decoration: none; |
| 80 | white-space: nowrap; |
| 81 | |
| 82 | .count { |
| 83 | color: #a3a3a3; |
| 84 | } |
| 85 | |
| 86 | > span:not(.count) { |
| 87 | margin-right: 20px; |
| 88 | } |
| 89 | |
| 90 | &:hover { |
| 91 | color: #fff; |
| 92 | background-color: $blue; |
| 93 | |
| 94 | .count { |
| 95 | color: #fff; |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | .count { |
| 100 | margin-left: auto; |
| 101 | } |
| 102 | } |
| 103 | } |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | @mixin ob-search--laptop() { |
| 108 | .search { |
| 109 | display: flex; |
| 110 | |
| 111 | input { |
| 112 | border-bottom-right-radius: 0; |
| 113 | border-top-right-radius: 0; |
| 114 | } |
| 115 | |
| 116 | img { |
| 117 | top: 50%; |
| 118 | transform: translateY(-50%); |
| 119 | } |
| 120 | |
| 121 | .ob-dropdown { |
| 122 | display: inline-block; |
| 123 | width: 200px; |
| 124 | margin: 0; |
| 125 | |
| 126 | button { |
| 127 | margin: 0; |
| 128 | border-top-left-radius: 0; |
| 129 | border-bottom-left-radius: 0; |
| 130 | } |
| 131 | } |
| 132 | } |
| 133 | } |
| 134 |