PluginProbe
Code Snippets / 4.0.0-beta.1
Code Snippets v4.0.0-beta.1
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
code-snippets / css / common / _upsell.scss

_upsell.scss in Code Snippets 4.0.0-beta.1, at css/common/_upsell.scss

127 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @use 'sass:color';
2 @use 'theme';
3
4 .code-snippets-upsell-banner {
5 display: flex;
6 flex-direction: row;
7 align-items: center;
8 padding: 12px;
9 gap: 10px;
10 background: #fff;
11 border: 1px solid #ccc;
12 border-radius: 5px;
13
14 p {
15 margin: 0;
16 }
17
18 .components-external-link__contents {
19 text-decoration: none;
20 }
21
22 .button-primary {
23 background-color: theme.$secondary;
24 border: 0;
25 font-weight: bold;
26 margin-inline-start: auto;
27
28 &:hover, &:focus {
29 background-color: color.adjust(theme.$secondary, $lightness: -10%);
30 }
31 }
32
33 .button-link.button-small {
34 text-decoration: none;
35 font-weight: normal;
36 padding: 0;
37 color: #646970;
38 line-height: 1;
39 }
40 }
41
42 .code-snippets-upsell-dialog {
43 background: linear-gradient(116.04deg, #edfcff -0.75%, #fcdfd4 93.04%);
44 inline-size: 794px;
45 box-shadow: 0 4px 80px rgb(0 0 0 / 10%);
46 border-radius: 8px;
47 font-family: 'SF Pro', sans-serif;
48 color: #1c3f41;
49 line-height: 1.5;
50 max-block-size: unset;
51
52 .components-modal__content {
53 margin: 0;
54 padding-block: 48px;
55 padding-inline: 80px;
56 }
57
58 .components-modal__content > div:last-child {
59 display: flex;
60 flex-direction: column;
61 align-items: center;
62 text-align: center;
63 gap: 18px;
64 overflow: auto;
65 }
66
67 h1 {
68 font-size: 32px;
69 margin: 0;
70
71 span {
72 color: #d46f4d;
73 }
74 }
75
76 p {
77 margin-block: 0;
78 margin-inline: 2em;
79 font-size: 16px;
80 }
81
82 img {
83 inline-size: 82px;
84 }
85
86 ul {
87 display: grid;
88 inline-size: 100%;
89 grid-auto-flow: column;
90 grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
91 }
92
93 li {
94 display: flex;
95 flex-flow: row;
96 gap: 11px;
97 font-size: 14px;
98 }
99
100 li::before {
101 content: '✓';
102 color: #fff;
103 inline-size: 24px;
104 block-size: 24px;
105 border-radius: 50%;
106 background-color: #0ca0a9;
107 display: flex;
108 justify-content: center;
109 align-items: center;
110 }
111
112 .button.button-large {
113 background-color: #d46f4d;
114 padding-block: 15px;
115 padding-inline: 20px;
116 font-size: 16px;
117 line-height: inherit;
118 margin-block: 16px 24px;
119 margin-inline: auto;
120 border-color: currentcolor;
121
122 &:hover {
123 background-color: color.adjust(#d46f4d, $lightness: -10%);
124 }
125 }
126 }
127