| 1 |
#ep-dashboard { |
| 2 |
|
| 3 |
& .components-notice { |
| 4 |
align-items: center; |
| 5 |
display: flex; |
| 6 |
margin: 16px 0; |
| 7 |
} |
| 8 |
|
| 9 |
& .components-panel { |
| 10 |
height: calc(100% - 2px); |
| 11 |
} |
| 12 |
|
| 13 |
& .components-notice__actions { |
| 14 |
display: inline-flex; |
| 15 |
margin-top: 0; |
| 16 |
|
| 17 |
& .is-link { |
| 18 |
margin-left: 12px; |
| 19 |
} |
| 20 |
} |
| 21 |
|
| 22 |
& .components-checkbox-control:has([disabled]) { |
| 23 |
|
| 24 |
& input[disabled], |
| 25 |
& .components-checkbox-control__label { |
| 26 |
opacity: 0.5; |
| 27 |
} |
| 28 |
} |
| 29 |
|
| 30 |
& .components-base-control:not(:focus-within) { |
| 31 |
|
| 32 |
& .components-form-toggle__track, |
| 33 |
& .components-form-toggle__thumb { |
| 34 |
transition: none; |
| 35 |
} |
| 36 |
} |
| 37 |
} |
| 38 |
|
| 39 |
/* Dashboard Layout and Structure */ |
| 40 |
.ep-dashboard-panel { |
| 41 |
|
| 42 |
&.components-panel { |
| 43 |
border: none; |
| 44 |
} |
| 45 |
|
| 46 |
& .ep-dashboard-tabs { |
| 47 |
display: block; |
| 48 |
} |
| 49 |
} |
| 50 |
|
| 51 |
.ep-dashboard-content { |
| 52 |
padding: 14px 16px 32px 0; |
| 53 |
|
| 54 |
@media (max-width: 768px) { |
| 55 |
padding-left: 16px; |
| 56 |
} |
| 57 |
} |
| 58 |
|
| 59 |
.ep-dashboard-heading { |
| 60 |
align-items: center; |
| 61 |
display: flex; |
| 62 |
flex-wrap: wrap; |
| 63 |
gap: 8px; |
| 64 |
justify-content: space-between; |
| 65 |
min-height: 20px; |
| 66 |
} |
| 67 |
|
| 68 |
.ep-dashboard-control { |
| 69 |
margin: 24px 0; |
| 70 |
|
| 71 |
& .components-base-control__help code { |
| 72 |
font-size: inherit; |
| 73 |
} |
| 74 |
} |
| 75 |
|
| 76 |
.ep-field-group { |
| 77 |
|
| 78 |
& .ep-dashboard-control { |
| 79 |
margin: 0; |
| 80 |
|
| 81 |
&:not(:last-child) { |
| 82 |
margin-bottom: 24px; |
| 83 |
} |
| 84 |
} |
| 85 |
|
| 86 |
& .components-card, |
| 87 |
& .components-card__header:first-of-type { |
| 88 |
border-radius: 0; |
| 89 |
} |
| 90 |
} |
| 91 |
|
| 92 |
/* Group Content Structure */ |
| 93 |
.group-content { |
| 94 |
background: #fff; |
| 95 |
border: 1px solid #e0e0e0; |
| 96 |
display: grid; |
| 97 |
grid-gap: 16px; |
| 98 |
grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); |
| 99 |
|
| 100 |
/* stylelint-disable-next-line no-descending-specificity */ |
| 101 |
& .components-notice { |
| 102 |
margin: 16px 0; |
| 103 |
} |
| 104 |
|
| 105 |
@media (max-width: 768px) { |
| 106 |
gap: 0; |
| 107 |
grid-template-columns: 1fr; |
| 108 |
|
| 109 |
& .components-tab-panel__tabs { |
| 110 |
margin-left: -16px; |
| 111 |
margin-right: -16px; |
| 112 |
} |
| 113 |
} |
| 114 |
} |
| 115 |
|
| 116 |
/* Tabs Navigation */ |
| 117 |
.ep-dashboard-outer-tabs { |
| 118 |
align-content: baseline; |
| 119 |
background: #fff; |
| 120 |
border: 1px solid #e0e0e0; |
| 121 |
border-right: none; |
| 122 |
display: block; |
| 123 |
flex-wrap: wrap; |
| 124 |
margin-bottom: 0; |
| 125 |
|
| 126 |
@media (max-width: 768px) { |
| 127 |
grid-template-columns: 1fr; |
| 128 |
} |
| 129 |
} |
| 130 |
|
| 131 |
.ep-dashboard-tabs-nav { |
| 132 |
width: 100%; |
| 133 |
} |
| 134 |
|
| 135 |
.ep-dashboard-tab { |
| 136 |
|
| 137 |
/* Base tab styling */ |
| 138 |
align-items: center; |
| 139 |
background: transparent; |
| 140 |
border: none; |
| 141 |
border-radius: 2px; |
| 142 |
box-shadow: none; |
| 143 |
box-sizing: border-box; |
| 144 |
color: var(--wp-components-color-foreground, #1e1e1e); |
| 145 |
cursor: pointer; |
| 146 |
display: inline-flex; |
| 147 |
font-family: inherit; |
| 148 |
font-size: 13px; |
| 149 |
font-weight: 500; |
| 150 |
margin: 0; |
| 151 |
padding: 16px; |
| 152 |
position: relative; |
| 153 |
text-align: left; |
| 154 |
text-decoration: none; |
| 155 |
width: 100%; |
| 156 |
word-break: break-word; |
| 157 |
} |
| 158 |
|
| 159 |
.ep-dashboard-tab:focus { |
| 160 |
box-shadow: none; |
| 161 |
color: inherit; |
| 162 |
} |
| 163 |
|
| 164 |
.ep-dashboard-tab.is-active { |
| 165 |
background: #f0f0f0; |
| 166 |
font-weight: 500; |
| 167 |
} |
| 168 |
|
| 169 |
/* Feature Tab Styling */ |
| 170 |
.ep-feature-tab { |
| 171 |
align-items: start; |
| 172 |
display: flex; |
| 173 |
flex-direction: column; |
| 174 |
gap: 4px; |
| 175 |
} |
| 176 |
|
| 177 |
.ep-feature-tab__status { |
| 178 |
color: rgb(117, 117, 117); |
| 179 |
display: block; |
| 180 |
font-size: 12px; |
| 181 |
font-weight: 400; |
| 182 |
width: 100%; |
| 183 |
} |
| 184 |
|
| 185 |
/* Settings Page Form */ |
| 186 |
.ep-settings-page form .form-grid { |
| 187 |
display: grid; |
| 188 |
grid-template-columns: 1fr 4fr; |
| 189 |
margin-bottom: 16px; |
| 190 |
|
| 191 |
@media (max-width: 768px) { |
| 192 |
grid-template-columns: 1fr; |
| 193 |
} |
| 194 |
} |
| 195 |
|