PluginProbe
WP Coder – Insert & Manage Code Snippets / 4.3
WP Coder – Insert & Manage Code Snippets v4.3
4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 3.5.1 All 39 releases
wp-coder / assets / scss / _button.scss

_button.scss in WP Coder – Insert & Manage Code Snippets 4.3, at assets/scss/_button.scss

62 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // Buttons
2 .wowp-button__icon {
3 --_color: var(--wowp-gray-700);
4 display: flex;
5 justify-content: center;
6 align-items: center;
7 width: 40px;
8 height: 40px;
9 cursor: pointer;
10 appearance: button;
11 background-color: color-mix(in srgb, var(--_color) 7%, white);
12 border-color: var(--_color);
13 border-width: 1px;
14 border-style: solid;
15 border-radius: 0.25rem;
16 color: var(--_color);
17 &:hover {
18 background-color: color-mix(in srgb, var(--_color) 15%, white);
19 }
20
21 &.is-remove {
22 --_color: var(--wowp-color-red);
23 }
24 }
25
26 .wowp-button {
27 display: inline-flex;
28 align-items: center;
29 gap: 0.5rem;
30 }
31
32 .wowp-button.button-secondary {
33 border-color: transparent;
34 color: var(--wowp-gray-900);
35 font-weight: 500;
36 }
37
38 .wowp-button.button-primary {
39 font-weight: 500;
40 }
41
42
43 .wowp-button.button-dark {
44 font-weight: 500;
45 border-color: transparent;
46 background-color: var(--wowp-gray-900);
47 color: #ffffff;
48 &:hover {
49 background-color: var(--wowp-gray-700);
50 }
51 }
52
53 .wowp-button.button-red {
54 font-weight: 500;
55 border-color: transparent;
56 background-color: var(--wowp-color-red);
57 color: #ffffff;
58 &:hover {
59 background-color: color-mix(in srgb, var(--wowp-color-red) 61.54%, black);
60
61 }
62 }