PluginProbe
Elementor Website Builder – more than just a page builder / 3.8.0-beta1
Elementor Website Builder – more than just a page builder v3.8.0-beta1
4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 All 457 releases
elementor / app / assets / styles / base / _reset.scss

_reset.scss in Elementor Website Builder – more than just a page builder 3.8.0-beta1, at app/assets/styles/base/_reset.scss

214 lines 3.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // BASE: Reset
2 *,
3 *::before,
4 *::after {
5 box-sizing: border-box;
6 }
7
8 html {
9 font-family: sans-serif;
10 line-height: 1.15;
11 -webkit-text-size-adjust: 100%;
12 -webkit-tap-highlight-color: rgba($black, 0);
13 }
14
15 // stylelint-disable-next-line selector-list-comma-newline-after
16 article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
17 display: block;
18 }
19
20 // Body
21
22 body {
23 margin: 0;
24 font-family: $eps-font-family;
25 font-size: $eps-body-font-size;
26 font-weight: $eps-font-weight-base;
27 line-height: $eps-line-height-base;
28 color: var(--body-color);
29 -webkit-font-smoothing: antialiased;
30 -moz-osx-font-smoothing: grayscale;
31 background-color: var(--body-bg);
32 }
33
34 ::selection {
35 background-color: rgba(theme-colors(cta), $opacity-05);
36 }
37
38 [tabindex="-1"]="-1""]:focus:not(:focus-visible) {
39 outline: 0 !important;
40 }
41
42 // Typography
43 // Reset header Tags
44 h1, h2, h3, h4, h5, h6 {
45 font-size:100%;
46 margin:0;
47 padding:0;
48 line-height:inherit;
49 font-weight:normal;
50 }
51
52 // Reset margins on paragraphs
53 p {
54 margin-top: 0;
55 margin-bottom: $eps-paragraph-margin-bottom;
56 }
57
58 b,
59 strong {
60 font-weight: $eps-font-weight-bold; // Add the correct font weight in Chrome, Edge, and Safari
61 }
62
63 small {
64 font-size: $eps-small-font-size; // Add the correct font size in all browsers
65 }
66
67 // Links
68 a {
69 --eps-link-color: $eps-link-color;
70 color: var(--eps-link-color);
71 background-color: transparent; // Remove the gray background on active links in IE 10.
72
73 &,
74 &:active,
75 &:hover,
76 &:focus {
77 text-decoration: $eps-link-decoration;
78 }
79
80 &:focus,
81 &:hover {
82 --eps-link-color: $eps-link-hover-color;
83 text-decoration: $eps-link-hover-decoration;
84 }
85 }
86
87 a:not([href]) {
88 color: inherit;
89 text-decoration: none;
90
91 &:hover {
92 color: inherit;
93 text-decoration: none;
94 }
95 }
96
97 // Code
98 pre,
99 code,
100 kbd,
101 samp {
102 font-family: $font-family-monospace;
103 font-size: 1em;
104 }
105
106 // Figures
107 figure {
108 // Apply a consistent margin strategy (matches our type styles).
109 margin: 0 0 0;
110 }
111
112 // Images and content
113
114 img {
115 vertical-align: middle;
116 border-style: none; // Remove the border on images inside links in IE 10-.
117 }
118
119 svg {
120 overflow: hidden;
121 vertical-align: middle;
122 }
123
124
125 button {
126 border-radius: 0;
127 }
128
129 button:focus {
130 outline: 1px dotted;
131 outline: 5px auto -webkit-focus-ring-color;
132 }
133
134 input,
135 button,
136 select,
137 optgroup,
138 textarea {
139 margin: 0;
140 font-family: inherit;
141 font-size: inherit;
142 line-height: inherit;
143 }
144
145 button,
146 input {
147 overflow: visible; // Show the overflow in Edge
148 }
149
150 button,
151 select {
152 text-transform: none; // Remove the inheritance of text transform in Firefox
153 }
154
155 [role="button"]="button""] {
156 cursor: pointer;
157 }
158
159 select {
160 word-wrap: normal;
161 }
162
163
164 button,
165 [type="button"]="button""],
166 [type="reset"]="reset""],
167 [type="submit"]="submit""] {
168 -webkit-appearance: button;
169 }
170
171 // Opinionated: add "hand" cursor to non-disabled button elements.
172 button,
173 [type="button"]="button""],
174 [type="reset"]="reset""],
175 [type="submit"]="submit""] {
176 &:not(:disabled) {
177 cursor: pointer;
178 }
179 }
180
181 // Remove inner border and padding from Firefox, but don't restore the outline like Normalize.
182 button::-moz-focus-inner,
183 [type="button"]="button""]::-moz-focus-inner,
184 [type="reset"]="reset""]::-moz-focus-inner,
185 [type="submit"]="submit""]::-moz-focus-inner {
186 padding: 0;
187 border-style: none;
188 }
189
190 input[type="radio"]="radio""],
191 input[type="checkbox"]="checkbox""] {
192 box-sizing: border-box;
193 padding: 0;
194 }
195
196
197 textarea {
198 overflow: auto;
199 resize: vertical;
200 }
201
202
203 // Always hide an element with the `hidden` HTML attribute (from PureCSS).
204 [hidden]] {
205 display: none !important;
206 }
207
208 // Opinionated resets:
209
210 hr {
211 border: 0 none;
212 border-bottom: 1px solid var(--hr-color);
213 }
214