| 1 |
.cb-region__table { |
| 2 |
display: grid; |
| 3 |
grid-row-gap: 7px; |
| 4 |
} |
| 5 |
|
| 6 |
.cb-region__table__header { |
| 7 |
display: grid; |
| 8 |
grid-template-columns: 1fr 1fr; |
| 9 |
grid-column-gap: 15px; |
| 10 |
padding: 0 24px; |
| 11 |
} |
| 12 |
|
| 13 |
.cb-region__table__header--title { |
| 14 |
font-size: 13px; |
| 15 |
line-height: 18px; |
| 16 |
color: #666666; |
| 17 |
font-weight: 700; |
| 18 |
} |
| 19 |
|
| 20 |
.cb-region__table__item { |
| 21 |
display: grid; |
| 22 |
grid-template-columns: 1fr 1fr; |
| 23 |
grid-column-gap: 15px; |
| 24 |
background-color: #f2f2f2; |
| 25 |
border-radius: 4px; |
| 26 |
padding: 8px 60px 8px 24px; |
| 27 |
} |
| 28 |
|
| 29 |
.cb-region__table__item.cb-region__secondary__banner { |
| 30 |
grid-template-columns: 1fr 1fr auto; |
| 31 |
padding: 8px 24px 8px 24px; |
| 32 |
} |
| 33 |
|
| 34 |
.cb-region__item__region--primary { |
| 35 |
font-size: 15px; |
| 36 |
line-height: 24px; |
| 37 |
font-weight: 400; |
| 38 |
color: #141414; |
| 39 |
} |
| 40 |
|
| 41 |
.cb-region__item__region { |
| 42 |
position: relative; |
| 43 |
} |
| 44 |
|
| 45 |
.cb-region__region__selector { |
| 46 |
position: relative; |
| 47 |
width: 100%; |
| 48 |
background-color: #ffffff; |
| 49 |
color: #141414; |
| 50 |
border: 2px solid #d3d3d3; |
| 51 |
border-radius: 7px; |
| 52 |
padding: 8px 15px; |
| 53 |
box-sizing: border-box; |
| 54 |
font-size: 15px; |
| 55 |
font-weight: 600; |
| 56 |
line-height: 27px; |
| 57 |
min-height: 30px; |
| 58 |
cursor: pointer; |
| 59 |
} |
| 60 |
|
| 61 |
.cb-region__region__selector:after { |
| 62 |
content: url(../../img/icons/down.svg); |
| 63 |
position: absolute; |
| 64 |
top: 7px; |
| 65 |
right: 12px; |
| 66 |
} |
| 67 |
|
| 68 |
.cb-region__table__item:nth-child(2) .cb-region__region__selector, |
| 69 |
.cb-region__table__item:nth-child(2) .cb-region__region__selector:after{ |
| 70 |
display: none; |
| 71 |
} |
| 72 |
|
| 73 |
.selected-regions-item { |
| 74 |
display: inline-block; |
| 75 |
padding: 1px 5px; |
| 76 |
font-size: 13px; |
| 77 |
line-height: initial; |
| 78 |
background: blue; |
| 79 |
color: #ffffff; |
| 80 |
border-radius: 15px; |
| 81 |
margin-right: 4px; |
| 82 |
} |
| 83 |
|
| 84 |
.cb-region__region__list { |
| 85 |
position: absolute; |
| 86 |
bottom: 0; |
| 87 |
width: 100%; |
| 88 |
max-height: 220px; |
| 89 |
overflow: hidden; |
| 90 |
background-color: #ffffff; |
| 91 |
box-shadow: 0px 8px 24px rgb(0 0 0 / 25%); |
| 92 |
border-radius: 8px; |
| 93 |
box-sizing: border-box; |
| 94 |
} |
| 95 |
|
| 96 |
.cb-region__list__container { |
| 97 |
position: relative; |
| 98 |
width: calc(100% - 4px); |
| 99 |
max-height: 216px; |
| 100 |
margin: 2px; |
| 101 |
box-sizing: border-box; |
| 102 |
overflow-y: scroll; |
| 103 |
z-index: 1; |
| 104 |
} |
| 105 |
|
| 106 |
.cb-region__region__item { |
| 107 |
position: relative; |
| 108 |
font-size: 15px; |
| 109 |
font-weight: 600; |
| 110 |
line-height: 24px; |
| 111 |
padding: 10px 15px; |
| 112 |
margin-bottom: 3px; |
| 113 |
border-radius: 8px; |
| 114 |
cursor: pointer; |
| 115 |
} |
| 116 |
|
| 117 |
.cb-region__region__item:hover { |
| 118 |
background-color: #f2f2f2; |
| 119 |
color: #1032CF; |
| 120 |
} |
| 121 |
|
| 122 |
.cb-region__region__item.selected-region { |
| 123 |
background-color: #ECEFFE; |
| 124 |
color: #1032CF; |
| 125 |
} |
| 126 |
|
| 127 |
.cb-region__region__item.selected-region:after { |
| 128 |
content: ''; |
| 129 |
position: absolute; |
| 130 |
top: 10px; |
| 131 |
right: 15px; |
| 132 |
width: 20px; |
| 133 |
height: 20px; |
| 134 |
background-color: #1032cf; |
| 135 |
-webkit-mask-size: contain; |
| 136 |
mask-size: contain; |
| 137 |
-webkit-mask-repeat: no-repeat; |
| 138 |
mask-repeat: no-repeat; |
| 139 |
-webkit-mask-position: center; |
| 140 |
mask-position: center; |
| 141 |
-webkit-mask-image: url(../../img/icons/check.svg); |
| 142 |
mask-image: url(../../img/icons/check.svg); |
| 143 |
} |
| 144 |
|
| 145 |
.cb-region__veil { |
| 146 |
position: fixed; |
| 147 |
top: 0; |
| 148 |
bottom: 0; |
| 149 |
right: 0; |
| 150 |
left: 0; |
| 151 |
z-index: 0; |
| 152 |
} |
| 153 |
|
| 154 |
.cb-region__remove__banner { |
| 155 |
cursor: pointer; |
| 156 |
align-self: center; |
| 157 |
} |