| 1 |
/*-----------------------------------------------------------------------------------*/ |
| 2 |
/* *. Borderless Page Menu |
| 3 |
/*-----------------------------------------------------------------------------------*/ |
| 4 |
|
| 5 |
.borderless-page-welcome { |
| 6 |
max-width: 100%; |
| 7 |
} |
| 8 |
|
| 9 |
.borderless-page-welcome .wp-badge.borderless-page-logo { |
| 10 |
background-color: #3379fc; |
| 11 |
background-image: url(../img/borderless.svg); |
| 12 |
border-radius: 4px; |
| 13 |
} |
| 14 |
|
| 15 |
.borderless-page-welcome .borderless-page-actions .borderless-button-settings { |
| 16 |
vertical-align: top; |
| 17 |
} |
| 18 |
|
| 19 |
.borderless-dashboard-howdy { |
| 20 |
display: flex; |
| 21 |
align-items: center; |
| 22 |
} |
| 23 |
|
| 24 |
.borderless-dashboard-avatar { |
| 25 |
margin-right: 2rem; |
| 26 |
} |
| 27 |
|
| 28 |
.borderless-dashboard-avatar img { |
| 29 |
border-radius: 999px; |
| 30 |
border: 4px solid #275efe; |
| 31 |
padding: 5px; |
| 32 |
} |
| 33 |
|
| 34 |
|
| 35 |
.borderless-dashboard-header .borderless-dashboard-title, |
| 36 |
.borderless-dashboard-header .borderless-dashboard-subtitle { |
| 37 |
text-align: left; |
| 38 |
padding: 0px; |
| 39 |
margin: 0px; |
| 40 |
} |
| 41 |
|
| 42 |
.borderless-dashboard-header .borderless-dashboard-title { |
| 43 |
font-size: 2rem; |
| 44 |
font-weight: 600; |
| 45 |
line-height: 40px; |
| 46 |
} |
| 47 |
|
| 48 |
.borderless-dashboard-header .borderless-dashboard-title strong{ |
| 49 |
font-weight: 700; |
| 50 |
text-transform: capitalize; |
| 51 |
} |
| 52 |
|
| 53 |
.borderless-dashboard-header .borderless-dashboard-subtitle { |
| 54 |
font-size: 1.375rem; |
| 55 |
font-weight: 500; |
| 56 |
color: #777777; |
| 57 |
line-height: 25px; |
| 58 |
} |
| 59 |
|
| 60 |
.borderless-dashboard-settings { |
| 61 |
margin-top: 6rem; |
| 62 |
} |
| 63 |
|
| 64 |
@supports (-webkit-appearance: none) or (-moz-appearance: none) { |
| 65 |
|
| 66 |
.form-table td { |
| 67 |
display: flex; |
| 68 |
align-items: center; |
| 69 |
} |
| 70 |
|
| 71 |
input[type=color] { |
| 72 |
width: 28px; |
| 73 |
height: 28px; |
| 74 |
box-shadow: none; |
| 75 |
--active: #275EFE; |
| 76 |
--active-inner: #fff; |
| 77 |
--focus: 2px rgba(39, 94, 254, .3); |
| 78 |
--border: #BBC1E1; |
| 79 |
--border-hover: #275EFE; |
| 80 |
--background: #fff; |
| 81 |
--disabled: #F6F8FF; |
| 82 |
--disabled-inner: #E1E6F9; |
| 83 |
-webkit-appearance: none; |
| 84 |
-moz-appearance: none; |
| 85 |
outline: none; |
| 86 |
display: inline-block; |
| 87 |
vertical-align: top; |
| 88 |
position: relative; |
| 89 |
cursor: pointer; |
| 90 |
border: 1px solid var(--bc, var(--border)); |
| 91 |
background: var(--b, var(--background)); |
| 92 |
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s; |
| 93 |
margin-right: 0.5em; |
| 94 |
margin-bottom: 0; |
| 95 |
} |
| 96 |
|
| 97 |
input[type=checkbox], |
| 98 |
input[type=radio] { |
| 99 |
--active: #275EFE; |
| 100 |
--active-inner: #fff; |
| 101 |
--focus: 2px rgba(39, 94, 254, .3); |
| 102 |
--border: #BBC1E1; |
| 103 |
--border-hover: #275EFE; |
| 104 |
--background: #fff; |
| 105 |
--disabled: #F6F8FF; |
| 106 |
--disabled-inner: #E1E6F9; |
| 107 |
-webkit-appearance: none; |
| 108 |
-moz-appearance: none; |
| 109 |
height: 21px; |
| 110 |
outline: none; |
| 111 |
display: inline-block; |
| 112 |
vertical-align: top; |
| 113 |
position: relative; |
| 114 |
margin-right: 0.5em; |
| 115 |
cursor: pointer; |
| 116 |
border: 1px solid var(--bc, var(--border)); |
| 117 |
background: var(--b, var(--background)); |
| 118 |
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s; |
| 119 |
} |
| 120 |
input[type=checkbox]:after, |
| 121 |
input[type=radio]:after { |
| 122 |
content: ""; |
| 123 |
display: block; |
| 124 |
left: 0; |
| 125 |
top: 0; |
| 126 |
position: absolute; |
| 127 |
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s); |
| 128 |
} |
| 129 |
input[type=checkbox]:checked, |
| 130 |
input[type=radio]:checked { |
| 131 |
--b: var(--active); |
| 132 |
--bc: var(--active); |
| 133 |
--d-o: .3s; |
| 134 |
--d-t: .6s; |
| 135 |
--d-t-e: cubic-bezier(.2, .85, .32, 1.2); |
| 136 |
} |
| 137 |
input[type=checkbox]:disabled, |
| 138 |
input[type=radio]:disabled { |
| 139 |
--b: var(--disabled); |
| 140 |
cursor: not-allowed; |
| 141 |
opacity: 0.9; |
| 142 |
} |
| 143 |
input[type=checkbox]:disabled:checked, |
| 144 |
input[type=radio]:disabled:checked { |
| 145 |
--b: var(--disabled-inner); |
| 146 |
--bc: var(--border); |
| 147 |
} |
| 148 |
input[type=checkbox]:disabled + label, |
| 149 |
input[type=radio]:disabled + label { |
| 150 |
cursor: not-allowed; |
| 151 |
} |
| 152 |
input[type=checkbox]:hover:not(:checked):not(:disabled), |
| 153 |
input[type=radio]:hover:not(:checked):not(:disabled) { |
| 154 |
--bc: var(--border-hover); |
| 155 |
} |
| 156 |
input[type=checkbox]:focus, |
| 157 |
input[type=radio]:focus { |
| 158 |
box-shadow: 0 0 0 var(--focus); |
| 159 |
} |
| 160 |
input[type=checkbox]:not(.switch), |
| 161 |
input[type=radio]:not(.switch) { |
| 162 |
width: 21px; |
| 163 |
} |
| 164 |
input[type=checkbox]:not(.switch):after, |
| 165 |
input[type=radio]:not(.switch):after { |
| 166 |
opacity: var(--o, 0); |
| 167 |
} |
| 168 |
input[type=checkbox]:not(.switch):checked, |
| 169 |
input[type=radio]:not(.switch):checked { |
| 170 |
--o: 1; |
| 171 |
} |
| 172 |
input[type=checkbox] + label, |
| 173 |
input[type=radio] + label { |
| 174 |
font-size: 14px; |
| 175 |
line-height: 21px; |
| 176 |
display: inline-block; |
| 177 |
vertical-align: top; |
| 178 |
cursor: pointer; |
| 179 |
margin-left: 4px; |
| 180 |
} |
| 181 |
|
| 182 |
input[type=checkbox].switch:before { |
| 183 |
display: none; |
| 184 |
} |
| 185 |
input[type=checkbox]:not(.switch) { |
| 186 |
border-radius: 7px; |
| 187 |
} |
| 188 |
input[type=checkbox]:not(.switch):after { |
| 189 |
width: 5px; |
| 190 |
height: 9px; |
| 191 |
border: 2px solid var(--active-inner); |
| 192 |
border-top: 0; |
| 193 |
border-left: 0; |
| 194 |
left: 7px; |
| 195 |
top: 4px; |
| 196 |
transform: rotate(var(--r, 20deg)); |
| 197 |
} |
| 198 |
input[type=checkbox]:not(.switch):checked { |
| 199 |
--r: 43deg; |
| 200 |
} |
| 201 |
input[type=checkbox].switch { |
| 202 |
width: 38px; |
| 203 |
border-radius: 11px; |
| 204 |
} |
| 205 |
input[type=checkbox].switch:after { |
| 206 |
left: 2px; |
| 207 |
top: 2px; |
| 208 |
border-radius: 50%; |
| 209 |
width: 15px; |
| 210 |
height: 15px; |
| 211 |
background: var(--ab, var(--border)); |
| 212 |
transform: translateX(var(--x, 0)); |
| 213 |
} |
| 214 |
input[type=checkbox].switch:checked { |
| 215 |
--ab: var(--active-inner); |
| 216 |
--x: 17px; |
| 217 |
} |
| 218 |
input[type=checkbox].switch:disabled:not(:checked):after { |
| 219 |
opacity: 0.6; |
| 220 |
} |
| 221 |
|
| 222 |
input[type=radio] { |
| 223 |
border-radius: 50%; |
| 224 |
} |
| 225 |
input[type=radio]:after { |
| 226 |
width: 19px; |
| 227 |
height: 19px; |
| 228 |
border-radius: 50%; |
| 229 |
background: var(--active-inner); |
| 230 |
opacity: 0; |
| 231 |
transform: scale(var(--s, 0.7)); |
| 232 |
} |
| 233 |
input[type=radio]:checked { |
| 234 |
--s: .5; |
| 235 |
} |
| 236 |
input[type="submit" i] { |
| 237 |
border-radius: 999px !important; |
| 238 |
width: 160px !important; |
| 239 |
height: 50px !important; |
| 240 |
transition: all 300ms ease-in-out !important; |
| 241 |
font-size: 1rem !important; |
| 242 |
border: none !important; |
| 243 |
background-color: #275EFE !important; |
| 244 |
} |
| 245 |
input[type="submit" i]:hover { |
| 246 |
background-color: #ef2e5e !important; |
| 247 |
} |
| 248 |
} |