PluginProbe
Code Snippets / trunk
Code Snippets vtrunk
4.0.0-beta.2 3.10.2 3.10.1 3.10.0 3.10.0-beta.2 3.10.0-beta.1 4.0.0-beta.1 3.9.6 trunk 2.10.0 2.10.1 2.12.0 2.12.1 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 3.0.0 All 65 releases
← All changes | css/common/_cards.scss +10 -10 3.10.0-beta.2 → trunk View file →
@@ -8,11 +8,11 @@
8 8 margin: 0;
9 9 }
10 10
11 11 .code-snippets-card {
12 - background: #fff;
13 - border: 1px solid theme.$control-border;
14 - border-radius: 5px;
12 + background: var(--cs-color-surface);
13 + border: 1px solid var(--cs-color-border);
14 + border-radius: var(--cs-card-radius);
15 15 margin: 0;
16 16 display: flex;
17 17 flex-flow: column;
18 18 box-sizing: border-box;
@@ -18,9 +18,9 @@
18 18 box-sizing: border-box;
19 19
20 20 a {
21 21 text-decoration: none;
22 - color: theme.$accent;
22 + color: var(--cs-color-accent);
23 23 }
24 24
25 25 .card-inner {
26 26 padding: 24px;
@@ -30,15 +30,15 @@
30 30 display: flex;
31 31 align-items: center;
32 32 justify-content: space-between;
33 33 gap: 8px;
34 - background: #f7f7f8;
34 + background: var(--cs-color-surface-subtle);
35 35 margin-block-start: auto;
36 - border-block-start: 1px solid theme.$control-border;
36 + border-block-start: 1px solid var(--cs-color-border);
37 37 padding-inline: 24px;
38 38 padding-block: 12px;
39 - border-end-start-radius: 5px;
40 - border-end-end-radius: 5px;
39 + border-end-start-radius: var(--cs-card-radius);
40 + border-end-end-radius: var(--cs-card-radius);
41 41 }
42 42
43 43 // The status label shrinks and clips away under pressure rather than
44 44 // pushing the action buttons onto a second line.
@@ -92,8 +92,8 @@
92 92 margin-inline-end: 48px;
93 93 }
94 94
95 95 &.is-selected {
96 - border-color: theme.$accent;
97 - box-shadow: 0 0 0 1px theme.$accent;
96 + border-color: var(--cs-color-accent);
97 + box-shadow: 0 0 0 1px var(--cs-color-accent);
98 98 }
99 99 }