Skip to content

Commit

Permalink
Refs #141204 globals folder now has the variables and overrides from …
Browse files Browse the repository at this point in the history
…pastanaga theme
  • Loading branch information
ichim-david committed Nov 2, 2021
1 parent 595b4e6 commit 116a0c3
Showing 1 changed file with 27 additions and 24 deletions.
51 changes: 27 additions & 24 deletions theme/themes/eea/globals/reset.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ section {
*/

h1 {
font-size: 2em;
margin: 0.67em 0;
font-size: 2em;
}

/* Grouping content
Expand All @@ -59,7 +59,8 @@ h1 {

figcaption,
figure,
main { /* 1 */
main {
/* 1 */
display: block;
}

Expand All @@ -77,9 +78,9 @@ figure {
*/

hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
height: 0; /* 1 */
box-sizing: content-box; /* 1 */
}

/**
Expand Down Expand Up @@ -178,9 +179,9 @@ small {

sub,
sup {
position: relative;
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}

Expand Down Expand Up @@ -242,10 +243,10 @@ input,
optgroup,
select,
textarea {
margin: 0; /* 2 */
font-family: sans-serif; /* 1 */
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
}

/**
Expand All @@ -254,7 +255,8 @@ textarea {
*/

button,
input { /* 1 */
input {
/* 1 */
overflow: visible;
}

Expand All @@ -264,7 +266,8 @@ input { /* 1 */
*/

button,
select { /* 1 */
select {
/* 1 */
text-transform: none;
}

Expand All @@ -286,21 +289,21 @@ html [type="button"], /* 1 */
*/

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
padding: 0;
border-style: none;
}

/**
* Restore the focus styles unset by the previous rule.
*/

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
outline: 1px dotted ButtonText;
}

Expand All @@ -320,11 +323,11 @@ fieldset {
*/

legend {
box-sizing: border-box; /* 1 */
color: inherit; /* 2 */
display: table; /* 1 */
max-width: 100%; /* 1 */
box-sizing: border-box; /* 1 */
padding: 0; /* 3 */
color: inherit; /* 2 */
white-space: normal; /* 1 */
}

Expand All @@ -351,8 +354,8 @@ textarea {
* 2. Remove the padding in IE 10-.
*/

[type="checkbox"],
[type="radio"] {
[type='checkbox'],
[type='radio'] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
Expand All @@ -361,8 +364,8 @@ textarea {
* Correct the cursor style of increment and decrement buttons in Chrome.
*/

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
height: auto;
}

Expand All @@ -371,7 +374,7 @@ textarea {
* 2. Correct the outline style in Safari.
*/

[type="search"] {
[type='search'] {
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}
Expand All @@ -380,8 +383,8 @@ textarea {
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
*/

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
}

Expand Down

0 comments on commit 116a0c3

Please sign in to comment.