| 1 |
.merchant-product-size-chart { |
| 2 |
margin-bottom: 20px; |
| 3 |
} |
| 4 |
|
| 5 |
.merchant-product-size-chart-button { |
| 6 |
display: -webkit-box; |
| 7 |
display: -ms-flexbox; |
| 8 |
display: flex; |
| 9 |
} |
| 10 |
.merchant-product-size-chart-button a, |
| 11 |
.merchant-product-size-chart-button a:visited { |
| 12 |
display: -webkit-box; |
| 13 |
display: -ms-flexbox; |
| 14 |
display: flex; |
| 15 |
grid-gap: 8px; |
| 16 |
-webkit-box-align: center; |
| 17 |
-ms-flex-align: center; |
| 18 |
align-items: center; |
| 19 |
font-size: 0.9rem; |
| 20 |
font-weight: bold; |
| 21 |
color: var(--mrc-sc-title-text-color, #212121); |
| 22 |
} |
| 23 |
.merchant-product-size-chart-button a:hover { |
| 24 |
color: var(--mrc-sc-title-text-color-hover, #757575); |
| 25 |
} |
| 26 |
.merchant-product-size-chart-button svg { |
| 27 |
fill: var(--mrc-sc-icon-color, var(--mrc-sc-title-text-color, #212121)); |
| 28 |
width: var(--mrc-sc-icon-size, 24px); |
| 29 |
height: var(--mrc-sc-icon-size, 24px); |
| 30 |
-webkit-transition: all 0.2s; |
| 31 |
transition: all 0.2s; |
| 32 |
} |
| 33 |
.merchant-product-size-chart-button a:hover svg { |
| 34 |
fill: var(--mrc-sc-icon-color-hover, var(--mrc-sc-title-text-color-hover, #757575)); |
| 35 |
} |
| 36 |
|
| 37 |
.merchant-product-size-chart-modal { |
| 38 |
display: none; |
| 39 |
position: fixed; |
| 40 |
z-index: 99999; |
| 41 |
top: 0; |
| 42 |
left: 0; |
| 43 |
right: 0; |
| 44 |
bottom: 0; |
| 45 |
background-color: rgba(0, 0, 0, 0.85); |
| 46 |
} |
| 47 |
|
| 48 |
.merchant-product-size-chart-modal-open { |
| 49 |
overflow: hidden; |
| 50 |
} |
| 51 |
.merchant-product-size-chart-modal-open .bhfb-header { |
| 52 |
z-index: 0; |
| 53 |
} |
| 54 |
.merchant-product-size-chart-modal-open .merchant-product-size-chart-modal { |
| 55 |
display: -webkit-box; |
| 56 |
display: -ms-flexbox; |
| 57 |
display: flex; |
| 58 |
-webkit-box-pack: center; |
| 59 |
-ms-flex-pack: center; |
| 60 |
justify-content: center; |
| 61 |
-webkit-box-align: center; |
| 62 |
-ms-flex-align: center; |
| 63 |
align-items: center; |
| 64 |
} |
| 65 |
|
| 66 |
.merchant-product-size-chart-modal-inner { |
| 67 |
position: relative; |
| 68 |
z-index: 1; |
| 69 |
display: -webkit-box; |
| 70 |
display: -ms-flexbox; |
| 71 |
display: flex; |
| 72 |
-webkit-box-orient: vertical; |
| 73 |
-webkit-box-direction: normal; |
| 74 |
-ms-flex-direction: column; |
| 75 |
flex-direction: column; |
| 76 |
padding: 30px 40px; |
| 77 |
width: var(--mrc-sc-popup-width, 750px); |
| 78 |
max-width: 90%; |
| 79 |
max-height: calc(100% - 100px); |
| 80 |
overflow-y: auto; |
| 81 |
font-size: 14px; |
| 82 |
background-color: var(--mrc-sc-background-color, #f2f2f2); |
| 83 |
} |
| 84 |
.merchant-product-size-chart-modal-inner > *:last-child { |
| 85 |
margin-bottom: 0; |
| 86 |
} |
| 87 |
|
| 88 |
.merchant-product-size-chart-modal-title { |
| 89 |
margin-bottom: 20px; |
| 90 |
} |
| 91 |
|
| 92 |
.merchant-product-size-chart-modal-tabs { |
| 93 |
display: -webkit-box; |
| 94 |
display: -ms-flexbox; |
| 95 |
display: flex; |
| 96 |
-ms-flex-wrap: wrap; |
| 97 |
flex-wrap: wrap; |
| 98 |
-webkit-box-pack: center; |
| 99 |
-ms-flex-pack: center; |
| 100 |
justify-content: center; |
| 101 |
margin-bottom: 30px; |
| 102 |
} |
| 103 |
.merchant-product-size-chart-modal-tabs:empty { |
| 104 |
display: none; |
| 105 |
} |
| 106 |
|
| 107 |
.merchant-product-size-chart-modal-tab { |
| 108 |
cursor: pointer; |
| 109 |
margin: 0; |
| 110 |
padding: 10px 15px; |
| 111 |
font-size: 14px; |
| 112 |
font-weight: bold; |
| 113 |
text-align: center; |
| 114 |
min-width: 100px; |
| 115 |
max-width: 100%; |
| 116 |
color: var(--mrc-sc-tabs-color, #757575); |
| 117 |
border-bottom: 3px solid var(--mrc-sc-tabs-color, #757575); |
| 118 |
} |
| 119 |
.merchant-product-size-chart-modal-tab.active { |
| 120 |
color: var(--mrc-sc-tabs-color-active, #212121); |
| 121 |
border-bottom-color: var(--mrc-sc-tabs-color-active, #212121); |
| 122 |
} |
| 123 |
|
| 124 |
.merchant-product-size-chart-modal-tables { |
| 125 |
margin-bottom: 30px; |
| 126 |
} |
| 127 |
|
| 128 |
.merchant-product-size-chart-modal-table { |
| 129 |
display: none; |
| 130 |
border: 0; |
| 131 |
margin: 0; |
| 132 |
padding: 0; |
| 133 |
text-align: center; |
| 134 |
table-layout: fixed; |
| 135 |
} |
| 136 |
.merchant-product-size-chart-modal-table.active { |
| 137 |
display: table; |
| 138 |
} |
| 139 |
.merchant-product-size-chart-modal-table tr, |
| 140 |
.merchant-product-size-chart-modal-table th, |
| 141 |
.merchant-product-size-chart-modal-table td { |
| 142 |
padding: 7px; |
| 143 |
border: 1px solid rgba(0, 0, 0, 0.1); |
| 144 |
color: var(--mrc-sc-table-body-text-color, #212121); |
| 145 |
background-color: var(--mrc-sc-table-body-background-color, #ffffff); |
| 146 |
} |
| 147 |
.merchant-product-size-chart-modal-table thead tr, |
| 148 |
.merchant-product-size-chart-modal-table thead th { |
| 149 |
border: 0; |
| 150 |
color: var(--mrc-sc-table-headings-text-color, #ffffff); |
| 151 |
background-color: var(--mrc-sc-table-headings-background-color, #212121); |
| 152 |
border: 1px solid rgba(255, 255, 255, 0.1); |
| 153 |
} |
| 154 |
|
| 155 |
.merchant-product-size-chart-modal-close { |
| 156 |
-webkit-user-select: none; |
| 157 |
-moz-user-select: none; |
| 158 |
-ms-user-select: none; |
| 159 |
user-select: none; |
| 160 |
cursor: pointer; |
| 161 |
position: absolute; |
| 162 |
z-index: 1; |
| 163 |
top: 10px; |
| 164 |
right: 10px; |
| 165 |
width: 30px; |
| 166 |
height: 30px; |
| 167 |
display: -webkit-box; |
| 168 |
display: -ms-flexbox; |
| 169 |
display: flex; |
| 170 |
-webkit-box-pack: center; |
| 171 |
-ms-flex-pack: center; |
| 172 |
justify-content: center; |
| 173 |
-webkit-box-align: center; |
| 174 |
-ms-flex-align: center; |
| 175 |
align-items: center; |
| 176 |
font-size: 14px; |
| 177 |
line-height: 1em; |
| 178 |
color: #fff; |
| 179 |
} |
| 180 |
.merchant-product-size-chart-modal-close svg { |
| 181 |
fill: var(--mrc-sc-close-icon-color, #212121); |
| 182 |
width: 1em; |
| 183 |
height: 1em; |
| 184 |
-webkit-transition: all 0.2s; |
| 185 |
transition: all 0.2s; |
| 186 |
} |
| 187 |
.merchant-product-size-chart-modal-close svg path { |
| 188 |
-webkit-transform: scale(0.75); |
| 189 |
transform: scale(0.75); |
| 190 |
} |
| 191 |
.merchant-product-size-chart-modal-close:hover svg { |
| 192 |
fill: var(--mrc-sc-close-icon-color-hover, #757575); |
| 193 |
} |
| 194 |
|
| 195 |
.merchant-product-size-chart-modal-title { |
| 196 |
font-size: 20px; |
| 197 |
text-transform: uppercase; |
| 198 |
font-weight: bold; |
| 199 |
text-align: center; |
| 200 |
color: var(--mrc-sc-title-color, #212121); |
| 201 |
} |
| 202 |
|
| 203 |
.merchant-product-size-chart-modal-content { |
| 204 |
color: var(--mrc-sc-description-text-color, #212121); |
| 205 |
} |
| 206 |
.merchant-product-size-chart-modal-content a { |
| 207 |
color: var(--mrc-sc-description-link-color, #212121); |
| 208 |
} |
| 209 |
.merchant-product-size-chart-modal-content a:hover { |
| 210 |
color: var(--mrc-sc-description-link-color-hover, #757575); |
| 211 |
} |
| 212 |
.merchant-product-size-chart-modal-content > *:last-child { |
| 213 |
margin-bottom: 0; |
| 214 |
} |
| 215 |
|
| 216 |
@media (max-width: 768px) { |
| 217 |
.merchant-product-size-chart-modal-inner { |
| 218 |
max-height: 100%; |
| 219 |
} |
| 220 |
} |