PluginProbe
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) / 2.0.3
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) v2.0.3
2.1.3 2.1.2 2.1.1 2.1.0 2.0.4 2.0.3 2.0.2 2.0.1 2.0.0 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 trunk 1.0.1 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 All 57 releases
darkify / src / assets / css / switcher / within.css

within.css in Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) 2.0.3, at src/assets/css/switcher/within.css

64 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .theme-toggle.theme-toggle--reversed .theme-toggle__within {
2 transform: scale(-1, 1);
3 }
4 .theme-toggle {
5 --theme-toggle__within--duration: 500ms;
6 }
7 .theme-toggle__within * {
8 transform-origin: center;
9 transition: transform calc(var(--theme-toggle__within--duration))
10 cubic-bezier(0, 0, 0, 1.25);
11 }
12 .theme-toggle
13 input[type="checkbox"]:checked
14 ~ .theme-toggle__within
15 .theme-toggle__within__circle,
16 .darkify_dark_mode_enabled
17 .theme-toggle:not(label)
18 .theme-toggle__within
19 .theme-toggle__within__circle {
20 transform: scale(1.5);
21 }
22 .theme-toggle
23 input[type="checkbox"]:checked
24 ~ .theme-toggle__within
25 .theme-toggle__within__inner,
26 .darkify_dark_mode_enabled
27 .theme-toggle:not(label)
28 .theme-toggle__within
29 .theme-toggle__within__inner {
30 transform: translate3d(3px, -3px, 0) scale(1.2);
31 }
32 .theme-toggle input[type="checkbox"]:checked ~ .theme-toggle__within g path,
33 .darkify_dark_mode_enabled
34 .theme-toggle:not(label)
35 .theme-toggle__within
36 g
37 path {
38 transform: scale(0.65);
39 }
40 .theme-toggle {
41 border: none;
42 background: 0 0;
43 cursor: pointer;
44 }
45 .theme-toggle input[type="checkbox"] {
46 display: none;
47 }
48 .theme-toggle .theme-toggle-sr {
49 position: absolute;
50 width: 1px;
51 height: 1px;
52 padding: 0;
53 margin: -1px;
54 overflow: hidden;
55 clip: rect(0, 0, 0, 0);
56 white-space: nowrap;
57 border-width: 0;
58 }
59 @media (prefers-reduced-motion: reduce) {
60 .theme-toggle:not(.theme-toggle--force-motion) * {
61 transition: none !important;
62 }
63 }
64