components
3 years ago
pages
3 years ago
scss
5 years ago
store
5 years ago
app.js
3 years ago
entities.js
3 years ago
index.js
3 years ago
routes.js
3 years ago
settings.js
4 years ago
settings.scss
5 years ago
util.js
5 years ago
settings.scss
163 lines
| 1 | * { |
| 2 | box-sizing: inherit; |
| 3 | } |
| 4 | |
| 5 | @import "./scss/utility.scss"; |
| 6 | @import "./scss/layout.scss"; |
| 7 | @import "./scss/notices.scss"; |
| 8 | @import "./scss/components.scss"; |
| 9 | |
| 10 | :root { |
| 11 | --wp-admin-theme-color: #7c3aed !important; |
| 12 | --wp-admin-theme-color-darker-10: #6127c7 !important; |
| 13 | --wp-admin-theme-color-darker-20: #501ea5 !important; |
| 14 | --litepickerDayIsEndBg: var(--wp-admin-theme-color, #7c3aed); |
| 15 | --litepickerDayIsStartBg: var(--wp-admin-theme-color, #7c3aed); |
| 16 | --litepickerDayIsInRange: #f3f3f3; |
| 17 | --litepickerDayIsTodayColor: var(--wp-admin-theme-color, #7c3aed); |
| 18 | } |
| 19 | |
| 20 | .presto-options__pro-badge { |
| 21 | margin: 0 4px; |
| 22 | line-height: 1; |
| 23 | background: var(--wp-admin-theme-color); |
| 24 | color: white; |
| 25 | padding: 3px 6px; |
| 26 | border-radius: 9999px; |
| 27 | font-size: 10px; |
| 28 | display: inline-block; |
| 29 | } |
| 30 | |
| 31 | .presto-options__disabled-overlay * { |
| 32 | pointer-events: none; |
| 33 | } |
| 34 | |
| 35 | .presto-options__card { |
| 36 | position: relative; |
| 37 | } |
| 38 | |
| 39 | .litepicker { |
| 40 | font-size: 1em; |
| 41 | |
| 42 | .container__days > div, |
| 43 | .container__days > a { |
| 44 | margin-bottom: 5px; |
| 45 | } |
| 46 | |
| 47 | .container__months, |
| 48 | .container__footer, |
| 49 | .container__main .container__predefined-ranges { |
| 50 | border: 1px solid #e0e0e0; |
| 51 | box-shadow: none; |
| 52 | border-radius: 0; |
| 53 | margin: 0; |
| 54 | } |
| 55 | |
| 56 | .container__main { |
| 57 | .container__predefined-ranges { |
| 58 | margin-right: -1px; |
| 59 | padding: 16px; |
| 60 | max-width: 125px; |
| 61 | width: 125px; |
| 62 | border-radius: 0; |
| 63 | |
| 64 | > div { |
| 65 | color: var(--wp-admin-theme-color, #007cba); |
| 66 | } |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | .container__months { |
| 71 | .month-item-header div > .month-item-year { |
| 72 | padding: 0 24px 0 8px; |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | .container__footer { |
| 77 | margin-top: -1px; |
| 78 | padding: 8px; |
| 79 | |
| 80 | .button-cancel, |
| 81 | .button-apply { |
| 82 | display: inline-flex; |
| 83 | text-decoration: none; |
| 84 | font-size: 13px; |
| 85 | margin: 0; |
| 86 | border: 0; |
| 87 | cursor: pointer; |
| 88 | -webkit-appearance: none; |
| 89 | background: none; |
| 90 | transition: box-shadow 0.1s linear; |
| 91 | height: 36px; |
| 92 | align-items: center; |
| 93 | box-sizing: border-box; |
| 94 | padding: 6px 12px; |
| 95 | border-radius: 2px; |
| 96 | color: #1e1e1e; |
| 97 | white-space: nowrap; |
| 98 | } |
| 99 | |
| 100 | .button-apply { |
| 101 | background: #007cba; |
| 102 | background: var(--wp-admin-theme-color); |
| 103 | color: #fff; |
| 104 | text-decoration: none; |
| 105 | text-shadow: none; |
| 106 | } |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | .presto-settings { |
| 111 | &__page { |
| 112 | margin: 25px 25px 25px auto; |
| 113 | } |
| 114 | &__loading { |
| 115 | min-height: 200px; |
| 116 | width: 100%; |
| 117 | display: flex; |
| 118 | align-items: center; |
| 119 | justify-content: center; |
| 120 | } |
| 121 | &__setting, |
| 122 | &__body .components-card { |
| 123 | max-width: 800px; |
| 124 | } |
| 125 | |
| 126 | &__navigation { |
| 127 | margin-left: -20px; |
| 128 | margin-right: -20px; |
| 129 | padding-right: 20px; |
| 130 | position: sticky; |
| 131 | top: 32px; |
| 132 | z-index: 99; |
| 133 | |
| 134 | @media screen and (max-width: 782px) { |
| 135 | top: 46px; |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | .components-snackbar.is-snackbar-error { |
| 140 | background: #cc1818; |
| 141 | } |
| 142 | |
| 143 | &__date-select, |
| 144 | &__date-select:disabled { |
| 145 | padding-right: 30px; |
| 146 | background: #fff |
| 147 | url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) |
| 148 | no-repeat right 5px top 55%; |
| 149 | background-size: 16px 16px; |
| 150 | cursor: pointer; |
| 151 | vertical-align: middle; |
| 152 | opacity: 1; |
| 153 | box-shadow: none; |
| 154 | color: #444; |
| 155 | border-color: #757575; |
| 156 | user-select: none; |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | .is-color-control { |
| 161 | max-width: 250px; |
| 162 | } |
| 163 |