remove unnecessary CSS and !importants

This commit is contained in:
Max Leiter 2022-12-25 21:03:24 -08:00
parent 6aa5301d89
commit 69a40df606
7 changed files with 32 additions and 61 deletions

View file

@ -47,10 +47,6 @@
}
.button {
border-radius: none !important;
}
.content li .fileIcon {
display: inline-block;
margin-right: var(--gap-half);

View file

@ -105,12 +105,6 @@
content: "";
}
.markdownPreview code {
border-radius: 3px;
white-space: pre-wrap;
word-wrap: break-word;
color: inherit !important;
}
.markdownPreview code::before,
.markdownPreview code::after {

View file

@ -1,54 +1,49 @@
.container {
display: flex;
flex-direction: column;
display: flex;
flex-direction: column;
}
.container ul {
margin: 0;
margin-top: var(--gap-double);
margin: 0;
margin-top: var(--gap-double);
}
.dropzone {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
border-radius: 2px;
border: 2px dashed var(--border) !important;
outline: none;
transition: all 0.14s ease-in-out;
cursor: pointer;
}
.dropzone:hover {
border-color: var(--gray) !important;
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
border-radius: 2px;
border: 2px dashed var(--border);
outline: none;
cursor: pointer;
}
.dropzone:focus {
box-shadow: 0 0 4px 1px rgba(124, 124, 124, 0.5);
border-color: var(--gray);
}
.error {
color: red;
font-size: 0.8rem;
transition: border 0.14s ease-in-out;
border: 2px solid red;
border-radius: 2px;
padding: 20px;
color: red;
font-size: 0.8rem;
transition: border 0.14s ease-in-out;
border: 2px solid red;
border-radius: 2px;
padding: 20px;
}
.error ul {
margin: 0;
padding-left: var(--gap-double);
margin: 0;
padding-left: var(--gap-double);
}
.verb:after {
content: "click";
content: "click";
}
@media (hover: none) {
.verb:after {
content: "tap";
}
.verb:after {
content: "tap";
}
}

View file

@ -19,11 +19,6 @@
display: flex;
}
.fileNameContainer > div {
/* Override geist-ui styling */
margin: 0 !important;
}
.textarea {
height: 100%;
}

View file

@ -53,9 +53,8 @@
align-items: center;
}
.active,
.active {
color: var(--fg) !important;
.tabs .active {
color: var(--fg);
}
.buttonGroup,

View file

@ -46,15 +46,11 @@
}
}
.files {
padding: var(--gap) 0 !important;
margin: 0;
}
.files li {
display: flex;
align-items: center;
gap: var(--gap);
padding: var(--gap-quarter);
}
.files li a {

View file

@ -80,8 +80,8 @@
::selection {
text-shadow: none;
background: var(--fg) !important;
color: var(--bg) !important;
background: var(--fg);
color: var(--bg);
}
html,
@ -129,7 +129,7 @@ a.reset {
pre,
code {
font-family: var(--font-mono) !important;
font-family: var(--font-mono);
}
hr {
@ -157,10 +157,6 @@ hr {
--name: #333;
--highlight: #eaeaea;
}
* {
text-shadow: none !important;
}
}
#root,