| 1 |
table.webhook-table tr.local { |
| 2 |
font-weight: bold; |
| 3 |
} |
| 4 |
table.webhook-table { |
| 5 |
width: 80%; |
| 6 |
} |
| 7 |
table.webhook-table td.actions { |
| 8 |
text-align: center; |
| 9 |
} |
| 10 |
|
| 11 |
.notice.notice-vipps.notice-info { |
| 12 |
border-left-color: #fe5b24; |
| 13 |
min-height: 56px; |
| 14 |
} |
| 15 |
.notice.notice-vipps.notice-info > div { |
| 16 |
padding-left: 1.5rem; |
| 17 |
padding-right: 1.5rem; |
| 18 |
} |
| 19 |
|
| 20 |
.notice.notice-vipps.notice-info.notice-vipps-neg { |
| 21 |
border-color: #fe5b24 !important; |
| 22 |
background-color: #fe5b24 !important; |
| 23 |
color: white !important; |
| 24 |
min-height: 56px; |
| 25 |
} |
| 26 |
.notice.notice-vipps.notice-info.notice-vipps-neg a { |
| 27 |
color: white !important; |
| 28 |
} |
| 29 |
.notice.notice-vipps.notice-info.notice-vipps-neg button.notice-dismiss { |
| 30 |
color: white; |
| 31 |
} |
| 32 |
.notice.notice-vipps.notice-info.notice-vipps-neg button.notice-dismiss::before { |
| 33 |
color: white; |
| 34 |
} |
| 35 |
|
| 36 |
|
| 37 |
/* Admin-menu for vipps */ |
| 38 |
li#toplevel_page_vipps_admin_menu .wp-menu-image.dashicons-before img { |
| 39 |
width: 20px; opacity: .9; padding-bottom: 2px; |
| 40 |
} |
| 41 |
|
| 42 |
/* For the QR code page */ |
| 43 |
body.post-type-vipps_qr_code.wp-admin .vipps-page-selector { width:100% } |
| 44 |
body.post-type-vipps_qr_code.wp-admin .vipps-page-selector { width:100% } |
| 45 |
body.post-type-vipps_qr_code.wp-admin .url-section .url-options .url-option { |
| 46 |
display:none; |
| 47 |
} |
| 48 |
body.post-type-vipps_qr_code.wp-admin .url-section .url-options .url-option.active { |
| 49 |
display:block; |
| 50 |
} |
| 51 |
|
| 52 |
#vipps_unsynchronized_qr_codes { |
| 53 |
max-width:1000px; |
| 54 |
min-width:600px; |
| 55 |
} |
| 56 |
|
| 57 |
|
| 58 |
.vipps-admin-page { |
| 59 |
background-color: white; |
| 60 |
color: #161225; |
| 61 |
font-family: "Vipps Text", Roboto, Helvetica, Arial, sans-serif; |
| 62 |
} |
| 63 |
.vipps-admin-page h2, .vipps-admin-page h3{ |
| 64 |
font-size: 1.6em; |
| 65 |
} |
| 66 |
.wrap.vipps-admin-page p { |
| 67 |
font-size: larger; |
| 68 |
} |
| 69 |
.vipps-admin-page-header h1 img { |
| 70 |
vertical-align: middle; |
| 71 |
height: 8rem; |
| 72 |
} |
| 73 |
.vipps-admin-page-header h1 { |
| 74 |
color: #fe5b24;; |
| 75 |
font-family: "Vipps Display", Roboto, Helvetica, Arial, sans-serif; |
| 76 |
} |
| 77 |
.vipps-admin-page-header { |
| 78 |
font-family: "Vipps Display", Roboto, Helvetica, Arial, sans-serif; |
| 79 |
min-height: 2rem; |
| 80 |
background-color: #fff4ec; |
| 81 |
color: #fe5b24; |
| 82 |
margin-left: -2rem; |
| 83 |
padding-left: 2rem; |
| 84 |
margin-top: -2rem; |
| 85 |
padding-top: 1rem; |
| 86 |
padding-bottom: 0.2rem; |
| 87 |
} |
| 88 |
|
| 89 |
.vipps-admin-page-header.mobilepay h1 { |
| 90 |
color: #5a78fff7; |
| 91 |
} |
| 92 |
|
| 93 |
.vipps-admin-page-header.mobilepay { |
| 94 |
background-color: #f2f4ff; |
| 95 |
color: #5a78fff7; |
| 96 |
} |
| 97 |
|
| 98 |
.vipps-admin-page .vipps_admin_highlighted_section { |
| 99 |
background-color: #fff4ec; |
| 100 |
color: #fe5b24; |
| 101 |
margin-left: -2rem; |
| 102 |
padding-left: 2rem; |
| 103 |
padding-right: 2rem; |
| 104 |
margin-right: -2rem; |
| 105 |
padding-bottom: .2rem; |
| 106 |
padding-top: .2rem; |
| 107 |
} |
| 108 |
.vipps-admin-page .vipps_admin_highlighted_section.mobilepay { |
| 109 |
background-color: #f2f4ff; |
| 110 |
color: #5a78fff7; |
| 111 |
} |
| 112 |
.vipps-admin-page .vipps_admin_highlighted_section a { |
| 113 |
color: #551488; |
| 114 |
text-decoration:none; |
| 115 |
} |
| 116 |
.vipps-admin-page .vipps_admin_highlighted_section a:visited { |
| 117 |
color: #551488; |
| 118 |
} |
| 119 |
.vipps-admin-page .vipps_admin_highlighted_section a:hover { |
| 120 |
color: #551488; |
| 121 |
font-weight: 500; |
| 122 |
} |
| 123 |
.vipps-admin-page .vipps_admin_highlighted_section a:active { |
| 124 |
color: #551488; |
| 125 |
font-weight: 500; |
| 126 |
} |
| 127 |
#vipps_unsynchronized_qr_codes .importtable { |
| 128 |
width: 100%; |
| 129 |
max-width: 100%; |
| 130 |
} |
| 131 |
#vipps_unsynchronized_qr_codes .importtable .checkboxcell { |
| 132 |
width: 2rem; |
| 133 |
} |
| 134 |
#vipps_unsynchronized_qr_codes .importtable .idcell{ |
| 135 |
text-align:left; |
| 136 |
width:25%; |
| 137 |
} |
| 138 |
#vipps_unsynchronized_qr_codes .importtable .urlcell{ |
| 139 |
} |
| 140 |
#vipps_unsynchronized_qr_codes .importtable .urlcell input { |
| 141 |
width: 100%; |
| 142 |
} |
| 143 |
|
| 144 |
#vipps_unsynchronized_qr_codes .buttonsection { |
| 145 |
display: flex; |
| 146 |
flex-direction: row; |
| 147 |
justify-content: space-between; |
| 148 |
margin-bottom: 1.5rem; |
| 149 |
margin-top: 1.5rem; |
| 150 |
} |
| 151 |
#vipps_unsynchronized_qr_codes .buttonsection .button.primary { |
| 152 |
background-color: #fff4ec; |
| 153 |
color: #fe5b24; |
| 154 |
border-color: #fe5b24; |
| 155 |
box-shadow: 0 0 0 1px #fff4ec; |
| 156 |
font-family: "Vipps Display", Roboto, Helvetica, Arial, sans-serif; |
| 157 |
} |
| 158 |
#vipps_unsynchronized_qr_codes .buttonsection .button.secondary{ |
| 159 |
border-color: red; |
| 160 |
color: red; |
| 161 |
box-shadow: 0 0 0 1px #fff4ec; |
| 162 |
font-family: "Vipps Display", Roboto, Helvetica, Arial, sans-serif; |
| 163 |
} |
| 164 |
|
| 165 |
/* Options CSS for the modified settings page */ |
| 166 |
.vippsoptions.vippstabs.active { display: block; } |
| 167 |
.vippsoptions.vippstabs { display: none; } |
| 168 |
#vippstabholder { display: flex; justify-content: flex-start; } |
| 169 |
#vippstabholder h3 { padding-left: 1rem; padding-right: 1rem; opacity:0.65; border: 1px solid darkgray; border-top-left-radius:0.3rem; border-top-right-radius:0.3rem; padding-top:0.3rem; padding-bottom:0.3rem; border-bottom: 0.8px solid lightgrey; background-color:rgba(0,0,0,0.1); } |
| 170 |
#vippstabholder h3.active { opacity:1; border-bottom:0; background-color:transparent;} |
| 171 |
#vippstabholder h3.last { flex: 1; border-top:0;border-right:0;border-left:0; background-color:transparent;} |
| 172 |
|
| 173 |
|
| 174 |
@media screen and (max-width: 600px) { |
| 175 |
.woocommerce_page_wc-settings #vippstabholder h3.wc-settings-sub-title { |
| 176 |
font-size: 0.8rem; |
| 177 |
} |
| 178 |
} |
| 179 |
|
| 180 |
/* Badge page stuff */ |
| 181 |
.vipps-badge-settings label { |
| 182 |
width: 40%; |
| 183 |
display: inline-block; |
| 184 |
font-weight: 550; |
| 185 |
} |
| 186 |
|
| 187 |
.vipps-badge-settings div { |
| 188 |
margin-top: .5rem; |
| 189 |
} |
| 190 |
|
| 191 |
.woo-vipps-warning::before { |
| 192 |
content:"⚠ "; |
| 193 |
color: darkred; |
| 194 |
} |
| 195 |
.woo-vipps-warning { |
| 196 |
font-size:larger; |
| 197 |
font-weight:medium; |
| 198 |
} |
| 199 |
|
| 200 |
/* Button page stuff */ |
| 201 |
#vipps-button-settings-save { |
| 202 |
margin-top: 1rem; |
| 203 |
} |
| 204 |
.vipps-button-settings-section { |
| 205 |
display: flex; |
| 206 |
flex-direction: column; |
| 207 |
gap: 1rem; |
| 208 |
} |
| 209 |
#vipps-button-settings-express-args fieldset { |
| 210 |
display: flex; |
| 211 |
flex-direction: row; |
| 212 |
gap: 1rem; |
| 213 |
flex-wrap: wrap; |
| 214 |
} |
| 215 |
|
| 216 |
#use-global-config-container { |
| 217 |
display: block; |
| 218 |
visibility: visible; |
| 219 |
} |
| 220 |
#use-global-config-container.hidden { |
| 221 |
visibility: hidden; |
| 222 |
} |
| 223 |
|
| 224 |
#vipps-button-settings-express-args legend { |
| 225 |
font-weight: bold; |
| 226 |
margin-bottom: .3rem; |
| 227 |
} |
| 228 |
#vipps-button-settings-express-args p { |
| 229 |
margin: 0; |
| 230 |
font-weight: bold; |
| 231 |
} |
| 232 |
#vipps-button-settings-express-context { |
| 233 |
display: flex; |
| 234 |
flex-direction: row; |
| 235 |
align-items: center; |
| 236 |
gap: 1rem; |
| 237 |
flex-wrap: wrap; |
| 238 |
margin-bottom: 1rem; |
| 239 |
} |
| 240 |
|