Commit 5cee1578 authored by Lyza Danger Gardner's avatar Lyza Danger Gardner

Remove redundant CSS rules

Remove CSS rules that “are the case already” via
inheritance.

Remove rules that are overridden and never apply
parent 79594cc6
......@@ -2,8 +2,6 @@
@use "../../mixins/buttons";
.annotation-body {
@include var.font-normal;
color: var.$color-text;
margin: 1em 0;
}
......@@ -40,7 +38,6 @@
.annotation-body__collapse-toggle-button {
@include buttons.button--labeled;
padding: 0.5em;
background-color: transparent;
}
}
@use "../../variables" as var;
.annotation-document-info {
@include var.font-normal;
color: var.$color-text-light;
display: flex;
......
......@@ -3,8 +3,6 @@
@use "../../variables" as var;
.annotation-header {
color: var.$color-text;
&__row {
display: flex;
flex-wrap: wrap-reverse;
......
......@@ -8,7 +8,6 @@
}
&__quote {
@include var.font-normal;
border-left: 3px solid var.$grey-3;
color: var.$color-text-light;
font-style: italic;
......
......@@ -23,10 +23,6 @@
&__icon-button {
@include buttons.button--input;
padding: 0.25em 0.5em;
&__icon {
margin: 0;
}
}
& .form-input {
......
......@@ -6,7 +6,6 @@
&__group,
&__private {
@include var.font-normal;
display: flex;
align-items: baseline;
color: var.$color-text-light;
......
......@@ -2,7 +2,6 @@
.annotation-user {
&__user-name {
@include var.font-normal;
color: var.$color-text;
font-weight: bold;
......
......@@ -57,7 +57,6 @@
}
&__footer {
@include var.font-normal;
color: var.$color-text-light;
margin-top: 1em;
}
......
......@@ -8,7 +8,6 @@
}
.autocomplete-list__items {
@include var.font-normal;
@supports (clip-path: polygon(0 0, 100% 0, 0% 100%, 0% 100%)) {
&:before {
/**
......
......@@ -12,7 +12,6 @@
background-color: var.$color-background;
border-radius: 2px;
border: solid 1px var.$grey-3;
font-family: var.$sans-font-family;
font-weight: 300;
margin-bottom: 0.72em;
padding: 0.5em 1em;
......
......@@ -10,7 +10,6 @@
}
&__content {
@include var.font-normal;
padding: 0.5em;
border-top: 1px solid var.$grey-3;
border-bottom: 1px solid var.$grey-3;
......
......@@ -41,10 +41,6 @@ $toolbar-border: 0.1em solid var.$grey-3;
color: var.$grey-3;
}
&.is-text {
@include var.font-normal;
}
&-icon {
width: 10px;
height: 10px;
......
......@@ -5,7 +5,6 @@
}
.menu-section__heading {
@include var.font-normal;
color: var.$color-text-light;
line-height: 1;
margin: 1px 1px 0;
......
......@@ -5,7 +5,6 @@
$h-padding: 15px;
.moderation-banner {
@include var.font-normal;
position: relative;
color: white;
......
......@@ -5,8 +5,6 @@
.selection-tabs {
display: flex;
flex-direction: row;
@include var.font-normal;
color: var.$color-text-light;
&:hover {
color: var.$color-text;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment