| 1 |
body div.jconfirm .jconfirm-box-container .jconfirm-box .jconfirm-buttons .wsrw-button, |
| 2 |
.wsrw-button { |
| 3 |
background-color: var(--wsrw-button-primary-bg); |
| 4 |
border: 1px solid var(--wsrw-button-primary-bg); |
| 5 |
border-radius: 4px; |
| 6 |
color: var(--wsrw-button-primary-text); |
| 7 |
cursor: pointer; |
| 8 |
display: inline-block; |
| 9 |
font-size: var(--wsrw-font-size-s); |
| 10 |
font-weight: 700; |
| 11 |
line-height: 1; |
| 12 |
padding: 10px 16px; |
| 13 |
text-decoration: none; |
| 14 |
|
| 15 |
&.wsrw-button-icon { |
| 16 |
align-items: center; |
| 17 |
display: inline-flex; |
| 18 |
|
| 19 |
padding-bottom: 10px; |
| 20 |
padding-top: 10px; |
| 21 |
|
| 22 |
svg { |
| 23 |
margin-right: 5px; |
| 24 |
} |
| 25 |
|
| 26 |
&.wsrw-copy-target { |
| 27 |
padding-bottom: 10px; |
| 28 |
padding-top: 10px; |
| 29 |
} |
| 30 |
} |
| 31 |
|
| 32 |
&.wsrw-button-wide { |
| 33 |
padding-left: 50px; |
| 34 |
padding-right: 50px; |
| 35 |
} |
| 36 |
|
| 37 |
&:hover, |
| 38 |
&:focus { |
| 39 |
background-color: var(--wsrw-button-primary-bg-hover); |
| 40 |
border-color: var(--wsrw-button-primary-bg-hover); |
| 41 |
color: var(--wsrw-button-primary-text-hover); |
| 42 |
} |
| 43 |
|
| 44 |
&.wsrw-button-secondary { |
| 45 |
background-color: var(--wsrw-button-secondary-bg); |
| 46 |
border: var(--wsrw-button-secondary-border); |
| 47 |
color: var(--wsrw-button-secondary-text); |
| 48 |
|
| 49 |
&:hover, |
| 50 |
&:focus { |
| 51 |
background-color: var(--wsrw-button-secondary-bg-hover); |
| 52 |
color: var(--wsrw-button-secondary-text-hover); |
| 53 |
} |
| 54 |
|
| 55 |
&.wsrw-button-secondary-inactive { |
| 56 |
background-color: var(--wsrw-button-disabled-bg); |
| 57 |
border-color: var(--wsrw-button-disabled-bg); |
| 58 |
} |
| 59 |
|
| 60 |
&.wsrw-button-secondary-selected { |
| 61 |
border-color: var(--wsrw-button-primary-bg); |
| 62 |
} |
| 63 |
} |
| 64 |
|
| 65 |
&.wsrw-button-orange { |
| 66 |
background-color: var(--wsrw-button-orange-bg); |
| 67 |
border-color: var(--wsrw-button-orange-bg); |
| 68 |
color: var(--wsrw-button-primary-text); |
| 69 |
|
| 70 |
&:hover, |
| 71 |
&:focus { |
| 72 |
background-color: var(--wsrw-button-orange-bg-hover); |
| 73 |
color: var(--wsrw-button-primary-text); |
| 74 |
} |
| 75 |
} |
| 76 |
|
| 77 |
&.wsrw-button-large { |
| 78 |
align-items: center; |
| 79 |
display: inline-flex; |
| 80 |
font-size: var(--wsrw-font-size-m); |
| 81 |
height: 56px; |
| 82 |
justify-content: center; |
| 83 |
padding-left: var(--wsrw-space-h); |
| 84 |
padding-right: var(--wsrw-space-h); |
| 85 |
text-align: center; |
| 86 |
|
| 87 |
svg { |
| 88 |
margin-right: 7px; |
| 89 |
} |
| 90 |
} |
| 91 |
|
| 92 |
&.wsrw-button-small { |
| 93 |
font-size: var(--wsrw-font-size-xs); |
| 94 |
padding: 9px; |
| 95 |
} |
| 96 |
|
| 97 |
&:disabled:hover, |
| 98 |
&:disabled { |
| 99 |
background-color: var(--wsrw-button-disabled-bg); |
| 100 |
border: var(--wsrw-button-disabled-border); |
| 101 |
color: var(--wsrw-button-disabled-text); |
| 102 |
} |
| 103 |
} |
| 104 |
|
| 105 |
.wsrw-button-toggle { |
| 106 |
align-items: center; |
| 107 |
display: flex; |
| 108 |
justify-content: space-between; |
| 109 |
min-width: 424px; |
| 110 |
|
| 111 |
.wsrw-button { |
| 112 |
width: calc(50% - 5px); |
| 113 |
background: var(--wsrw-background-white); |
| 114 |
color: var(--wsrw-input-text-color); |
| 115 |
} |
| 116 |
|
| 117 |
.wsrw-button-secondary { |
| 118 |
border: 2px solid var(--wsrw-color-primary); |
| 119 |
} |
| 120 |
} |
| 121 |
|
| 122 |
.wsrw-success-icon { |
| 123 |
display: none; |
| 124 |
} |
| 125 |
|
| 126 |
.wsrw-show-success-icon { |
| 127 |
.wsrw-success-icon { |
| 128 |
display: inline-block; |
| 129 |
} |
| 130 |
|
| 131 |
.wsrw-default-icon { |
| 132 |
display: none; |
| 133 |
} |
| 134 |
} |
| 135 |
|
| 136 |
.wsrw-button-just-icon { |
| 137 |
background: none; |
| 138 |
border: none; |
| 139 |
cursor: pointer; |
| 140 |
padding: 0; |
| 141 |
|
| 142 |
.wsrw-icon { |
| 143 |
display: block; |
| 144 |
} |
| 145 |
} |
| 146 |
|
| 147 |
.wsrw-text-button-icon { |
| 148 |
align-items: center; |
| 149 |
background: none; |
| 150 |
border: none; |
| 151 |
color: var(--wsrw-text-color-paragraph); |
| 152 |
cursor: pointer; |
| 153 |
display: inline-flex; |
| 154 |
font-size: var(--wsrw-font-size-s); |
| 155 |
font-weight: 600; |
| 156 |
padding: 0; |
| 157 |
|
| 158 |
&:hover { |
| 159 |
color: var(--wsrw-text-color-heading); |
| 160 |
|
| 161 |
path { |
| 162 |
fill: var(--wsrw-text-color-heading); |
| 163 |
} |
| 164 |
} |
| 165 |
|
| 166 |
.wsrw-icon { |
| 167 |
margin-right: 5px; |
| 168 |
} |
| 169 |
} |
| 170 |
|
| 171 |
.wsrw-just-icon-button { |
| 172 |
background: none; |
| 173 |
border: none; |
| 174 |
cursor: pointer; |
| 175 |
} |
| 176 |
|
| 177 |
/* Looks like a link but it's actually a button for better accessibility. */ |
| 178 |
.wsrw-button-text { |
| 179 |
background: none; |
| 180 |
border: none; |
| 181 |
color: var(--wsrw-text-color-paragraph); |
| 182 |
cursor: pointer; |
| 183 |
font-size: var(--wsrw-font-size-xs); |
| 184 |
padding: 0; |
| 185 |
text-decoration: underline; |
| 186 |
|
| 187 |
.wsrw-icon { |
| 188 |
margin-right: 11px |
| 189 |
} |
| 190 |
|
| 191 |
&:focus, |
| 192 |
&:hover { |
| 193 |
text-decoration: none; |
| 194 |
background: none; |
| 195 |
color: var(--wsrw-text-color-heading); |
| 196 |
|
| 197 |
svg path { |
| 198 |
fill: var(--wsrw-text-color-heading); |
| 199 |
} |
| 200 |
} |
| 201 |
} |
| 202 |
|