1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 07:22:28 +02:00

Fine tune CSS and fix CSS regressions in last commit

Related commit:
- e917213e81

Specifically, intended font size was no longer
set properly for mobile in popup panel.
This commit is contained in:
Raymond Hill 2020-04-13 16:40:12 -04:00
parent 051cb27f9b
commit 7f55e5d54d
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
7 changed files with 18 additions and 42 deletions

View File

@ -183,9 +183,6 @@ body.updating .listEntry.checked.obsolete .updating {
}
@media (pointer: coarse) {
body {
font: 16px/1.5 sans-serif;
}
.listEntries {
margin-inline-start: 0;
-webkit-margin-start: 0;

View File

@ -1,9 +1,3 @@
body {
border: 0;
font: 14px/1.5 sans-serif;
margin: 0;
padding: 0;
}
.entries {
margin: 0.5em 0;
margin-inline-start: 2em;
@ -12,9 +6,3 @@ body {
.entry {
margin: 0.5em 0;
}
@media (pointer: coarse) {
body {
font: 16px/1.5 sans-serif;
}
}

View File

@ -1,3 +1,20 @@
body {
font: 14px/1.5 sans-serif;
}
@media (pointer: coarse) {
body {
font: 16px/1.5 sans-serif;
}
}
body {
background-color: var(--bg-0);
border: 0;
box-sizing: border-box;
color: var(--fg-0);
fill: var(--fg-0);
margin: 0;
padding: 0;
}
@font-face {
font-family: 'FontAwesome';
font-weight: normal;
@ -14,16 +31,6 @@
-moz-user-select: none;
-webkit-user-select: none;
}
body {
background-color: var(--bg-0);
border: 0;
box-sizing: border-box;
color: var(--fg-0);
fill: var(--fg-0);
font: 14px/1.5 sans-serif;
margin: 0;
padding: 0;
}
code {
background-color: var(--bg-code);
padding: 0 0.25em;

View File

@ -1,10 +1,6 @@
html, body {
border: 0;
font: 14px/1.5 sans-serif;
height: 100%;
margin: 0;
overflow: hidden;
padding: 0;
position: relative;
width: 100%;
}
@ -83,7 +79,6 @@ body:not(.canUpdateShortcuts) .tabButton[data-pane="shortcuts.html"] {
@media (pointer: coarse) {
#dashboard-nav {
flex-wrap: nowrap;
font: 16px/1.5 sans-serif;
overflow-x: auto;
}
#dashboard-nav .logo {

View File

@ -1,13 +1,8 @@
body {
background-color: white;
border: 0;
color: black;
display: flex;
flex-direction: column;
height: 100vh;
margin: 0;
overflow: hidden;
padding: 0;
width: 100vw;
}
textarea {

View File

@ -10,6 +10,7 @@
/* Internal CSS values */
body {
white-space: nowrap;
min-width: 375px;
}
a {
@ -128,7 +129,6 @@ body.needSave #revertRules {
display: flex;
flex-direction: column;
font-size: 1.4em;
min-width: 4em;
}
.toolRibbon [data-i18n] {
font-size: x-small;

View File

@ -34,9 +34,3 @@ hr {
body.advancedUser [href="advanced-settings.html"] {
display: inline-flex;
}
@media (pointer: coarse) {
body {
font: 16px/1.5 sans-serif;
}
}