PluginProbe
Code Snippets / 3.9.6
Code Snippets v3.9.6
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 3.9.6, at css/common/_upsell.scss

135 lines 2.1 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: #a7aaad;
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 }
80
81 h1 + p {
82 font-size: 16px;
83 }
84
85 img {
86 inline-size: 82px;
87 }
88
89 h2 {
90 text-transform: uppercase;
91 font-size: 12px;
92 }
93
94 ul {
95 display: grid;
96 inline-size: 100%;
97 grid-auto-flow: column;
98 grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
99 }
100
101 li {
102 display: flex;
103 flex-flow: row;
104 gap: 11px;
105 font-size: 14px;
106 }
107
108 li::before {
109 content: '✓';
110 color: #fff;
111 inline-size: 24px;
112 block-size: 24px;
113 border-radius: 50%;
114 background-color: #0ca0a9;
115 display: flex;
116 justify-content: center;
117 align-items: center;
118 }
119
120 .button.button-large {
121 background-color: #d46f4d;
122 padding-block: 15px;
123 padding-inline: 20px;
124 font-size: 16px;
125 line-height: inherit;
126 margin-block: 16px 24px;
127 margin-inline: auto;
128 border-color: currentcolor;
129
130 &:hover {
131 background-color: color.adjust(#d46f4d, $lightness: -10%);
132 }
133 }
134 }
135