main
Last change
on this file since befb988 was b248810, checked in by 223021 <daniel.ilievski.2@…>, 4 months ago |
Added no access page for new recruiters and admin panel for granting access
|
-
Property mode
set to
100644
|
File size:
1014 bytes
|
Rev | Line | |
---|
[b248810] | 1 | .table {
|
---|
| 2 |
|
---|
| 3 | }
|
---|
| 4 |
|
---|
| 5 | /* The switch - the box around the slider */
|
---|
| 6 | .switch {
|
---|
| 7 | font-size: 12px;
|
---|
| 8 | position: relative;
|
---|
| 9 | display: inline-block;
|
---|
| 10 | width: 3.5em;
|
---|
| 11 | height: 2em;
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | /* Hide default HTML checkbox */
|
---|
| 15 | .switch input {
|
---|
| 16 | opacity: 0;
|
---|
| 17 | width: 0;
|
---|
| 18 | height: 0;
|
---|
| 19 | }
|
---|
| 20 | .slider {
|
---|
| 21 | position: absolute;
|
---|
| 22 | cursor: pointer;
|
---|
| 23 | inset: 0;
|
---|
| 24 | background: #DB5A57;
|
---|
| 25 | border-radius: 50px;
|
---|
| 26 | transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | .slider:before {
|
---|
| 30 | position: absolute;
|
---|
| 31 | content: "";
|
---|
| 32 | display: flex;
|
---|
| 33 | align-items: center;
|
---|
| 34 | justify-content: center;
|
---|
| 35 | height: 2em;
|
---|
| 36 | width: 2em;
|
---|
| 37 | inset: 0;
|
---|
| 38 | background-color: white;
|
---|
| 39 | border-radius: 50px;
|
---|
| 40 | box-shadow: 0 10px 20px rgba(0,0,0,0.3);
|
---|
| 41 | transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
---|
| 42 | }
|
---|
| 43 |
|
---|
| 44 | .switch input:checked + .slider {
|
---|
| 45 | background: #3DDC69;
|
---|
| 46 | }
|
---|
| 47 |
|
---|
| 48 | .switch input:focus + .slider {
|
---|
| 49 | box-shadow: 0 0 1px #3DDC69;
|
---|
| 50 | }
|
---|
| 51 |
|
---|
| 52 | .switch input:checked + .slider:before {
|
---|
| 53 | transform: translateX(1.6em);
|
---|
| 54 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.