editor-styles.css
200 lines
| 1 | /*lb - latepoint block*/ |
| 2 | .editor-sidebar{ |
| 3 | --wp-admin-theme-color: #007cba; |
| 4 | } |
| 5 | .components-panel__body.is-opened>.components-panel__body-title{ |
| 6 | margin-bottom: 10px; |
| 7 | } |
| 8 | .lb-row{ |
| 9 | display: flex; |
| 10 | justify-content: space-between; |
| 11 | align-items: center; |
| 12 | gap: 5px; |
| 13 | } |
| 14 | .lb-row-block{ |
| 15 | display: block; |
| 16 | & + .lb-row-block{ |
| 17 | margin-top: 10px; |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | .lb-label{ |
| 22 | font-size: 11px; |
| 23 | font-weight: 500; |
| 24 | line-height: 1.4; |
| 25 | text-transform: uppercase; |
| 26 | } |
| 27 | |
| 28 | .lb-color-settings-dropdown{ |
| 29 | width: 100%; |
| 30 | } |
| 31 | .lb-color-settings-w{ |
| 32 | .components-button{ |
| 33 | padding: 0; |
| 34 | border-radius: 50%; |
| 35 | height: auto; |
| 36 | } |
| 37 | .component-color-indicator{ |
| 38 | width: 28px; |
| 39 | height: 28px; |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | .lb-general-tabs{ |
| 44 | & > .components-tab-panel__tabs { |
| 45 | .lb-tab-head{ |
| 46 | display: flex; |
| 47 | flex-direction: column; |
| 48 | align-items: center; |
| 49 | gap: 3px; |
| 50 | } |
| 51 | .components-button { |
| 52 | flex: 1; |
| 53 | justify-content: center; |
| 54 | height: 60px; |
| 55 | |
| 56 | &.active-tab { |
| 57 | border-bottom: 2px solid var(--wp-admin-theme-color); |
| 58 | color: var(--wp-admin-theme-color); |
| 59 | z-index: 2; |
| 60 | } |
| 61 | } |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | .lb-tabs{ |
| 66 | .components-button{ |
| 67 | height: 30px; |
| 68 | background: #efefef; |
| 69 | } |
| 70 | .active-tab{ |
| 71 | background: var(--wp-admin-theme-color); |
| 72 | color: #fff; |
| 73 | } |
| 74 | .components-tab-panel__tab-content{ |
| 75 | padding: 20px; |
| 76 | border: 1px solid #efefef; |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | .lb-toggle-group{ |
| 81 | button{ |
| 82 | border: 1px solid #efefef; |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | .lb-boxcontrol { |
| 87 | .components-unit-control{ |
| 88 | margin-bottom: 0; |
| 89 | } |
| 90 | .components-range-control:last-child{ |
| 91 | margin-bottom: 0 !important; |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | |
| 99 | button.latepoint-block-reset { |
| 100 | color: var(--wp-admin-theme-color); |
| 101 | &:disabled{ |
| 102 | color: #ccc; |
| 103 | opacity: 1; |
| 104 | } |
| 105 | .dashicons-image-rotate { |
| 106 | width: 10px; |
| 107 | height: 10px; |
| 108 | font-size: 10px; |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | |
| 113 | .latepoint-block-popup{ |
| 114 | width: 100%; |
| 115 | position: relative; |
| 116 | } |
| 117 | |
| 118 | .latepoint-block-header{ |
| 119 | display: flex; |
| 120 | justify-content: space-between; |
| 121 | align-items: center; |
| 122 | button.latepoint-block-popup-edit{ |
| 123 | margin: 0; |
| 124 | height: 28px; |
| 125 | width: 28px; |
| 126 | padding: 5px; |
| 127 | border: 1px solid #e6e7e9; |
| 128 | border-radius: 14px; |
| 129 | color: #50575e; |
| 130 | min-width: initial; |
| 131 | } |
| 132 | .latepoint-block-header-actions{ |
| 133 | display: flex; |
| 134 | gap: 10px; |
| 135 | align-items: center; |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | .latepoint-block-popup-options{ |
| 140 | position: relative; |
| 141 | top: 15px; |
| 142 | width: 100%; |
| 143 | border-radius: 2px; |
| 144 | padding: 16px; |
| 145 | margin-bottom: 40px; |
| 146 | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); |
| 147 | background: #fff; |
| 148 | } |
| 149 | |
| 150 | .components-base-control__field .latepoint-control-two-columns{ |
| 151 | align-items: center; |
| 152 | display: grid; |
| 153 | grid-template-columns: 50% 50%; |
| 154 | gap: 0; |
| 155 | } |
| 156 | |
| 157 | .latepoint-control-label{ |
| 158 | font-size: 11px; |
| 159 | font-weight: 500; |
| 160 | line-height: 1.4; |
| 161 | text-transform: uppercase; |
| 162 | } |
| 163 | |
| 164 | |
| 165 | .latepoint-unit-selector{ |
| 166 | display: flex; |
| 167 | gap: 5px; |
| 168 | .components-button{ |
| 169 | box-shadow: none !important; |
| 170 | font-size: 10px; |
| 171 | justify-content: center; |
| 172 | text-align: center; |
| 173 | text-shadow: none; |
| 174 | text-transform: uppercase; |
| 175 | width: 100%; |
| 176 | cursor: pointer; |
| 177 | padding: 0; |
| 178 | color: #50575e; |
| 179 | &:hover, &.is-primary:hover{ |
| 180 | background: none; |
| 181 | color: var(--wp-admin-theme-color); |
| 182 | } |
| 183 | |
| 184 | &.is-primary{ |
| 185 | background: unset; |
| 186 | color: var(--wp-admin-theme-color); |
| 187 | box-shadow: unset; |
| 188 | font-weight: 600; |
| 189 | } |
| 190 | } |
| 191 | } |
| 192 | .lb-resource-title{ |
| 193 | margin: 0 0 10px !important; |
| 194 | } |
| 195 | |
| 196 | .lb-boxshadow-actions{ |
| 197 | display: flex; |
| 198 | justify-content: flex-end; |
| 199 | margin-bottom: -25px; |
| 200 | } |