PluginProbe
Code Snippets / 3.10.0-beta.1
Code Snippets v3.10.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 3.10.0-beta.1, at css/common/_upsell.scss

139 lines 2.3 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 border: none;
40 }
41 }
42
43 .code-snippets-upsell-dialog,
44 .wrap .code-snippets-upsell-page {
45 h1 {
46 font-size: 32px;
47 margin: 0;
48
49 span {
50 color: #d46f4d;
51 }
52 }
53
54 p {
55 margin-block: 0;
56 margin-inline: 2em;
57 font-size: 16px;
58 max-inline-size: 750px;
59 }
60
61 img {
62 inline-size: 82px;
63 }
64
65 ul {
66 display: grid;
67 inline-size: 100%;
68 grid-auto-flow: column;
69 grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
70 max-inline-size: 750px;
71 }
72
73 li {
74 display: flex;
75 flex-flow: row;
76 gap: 11px;
77 font-size: 14px;
78 }
79
80 li::before {
81 content: '✓';
82 color: #fff;
83 inline-size: 24px;
84 block-size: 24px;
85 border-radius: 50%;
86 background-color: #0ca0a9;
87 display: flex;
88 justify-content: center;
89 align-items: center;
90 }
91
92 .button.button-large {
93 background-color: #d46f4d;
94 padding-block: 15px;
95 padding-inline: 20px;
96 font-size: 16px;
97 line-height: inherit;
98 margin-block: 16px 24px;
99 margin-inline: auto;
100 border-color: currentcolor;
101
102 &:hover {
103 background-color: color.adjust(#d46f4d, $lightness: -10%);
104 }
105 }
106 }
107
108 .code-snippets-upsell-page,
109 .code-snippets-upsell-dialog .components-modal__content {
110 margin: 0;
111 padding-block: 48px;
112 padding-inline: 80px;
113 }
114
115 .code-snippets-upsell-page,
116 .code-snippets-upsell-dialog {
117 color: #1c3f41;
118 line-height: 1.5;
119 background: linear-gradient(116.04deg, #edfcff -0.75%, #fcdfd4 93.04%);
120 box-shadow: 0 4px 80px rgb(0 0 0 / 10%);
121 border-radius: 8px;
122 }
123
124 .code-snippets-upsell-page,
125 .code-snippets-upsell-dialog .components-modal__content > div:last-child {
126 display: flex;
127 flex-direction: column;
128 align-items: center;
129 text-align: center;
130 gap: 18px;
131 }
132
133 .code-snippets-upsell-dialog {
134 max-block-size: unset;
135 font-family: 'SF Pro', sans-serif;
136 inline-size: 794px;
137 overflow: auto;
138 }
139