Merge pull request #5013 from consul/more_unused_css
Remove some obsolete CSS code
This commit is contained in:
@@ -632,7 +632,6 @@ code {
|
||||
}
|
||||
}
|
||||
|
||||
.admin-content .select-geozone,
|
||||
.admin-content .select-heading {
|
||||
|
||||
a {
|
||||
@@ -654,24 +653,6 @@ code {
|
||||
}
|
||||
}
|
||||
|
||||
.admin {
|
||||
|
||||
.geozone {
|
||||
background: #ececec;
|
||||
border-radius: rem-calc(6);
|
||||
color: $text;
|
||||
display: inline-block;
|
||||
font-size: $small-font-size;
|
||||
margin-bottom: $line-height / 3;
|
||||
padding: $line-height / 4 $line-height / 3;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
background: #e0e0e0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.management-list {
|
||||
max-width: rem-calc(1200);
|
||||
}
|
||||
|
||||
@@ -1,105 +1,11 @@
|
||||
// Overrides styles of annotator.min
|
||||
//
|
||||
|
||||
.annotator-editor .annotator-controls,
|
||||
.annotator-filter,
|
||||
.annotator-filter .annotator-filter-navigation button {
|
||||
background: #f3f3f3;
|
||||
background-image: none;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
border-top: 1px solid $border;
|
||||
box-shadow: none;
|
||||
padding: $line-height / 2 $line-height / 4;
|
||||
}
|
||||
|
||||
.annotator-adder {
|
||||
background-image: image-url("annotator_adder.png");
|
||||
margin-top: -52px;
|
||||
}
|
||||
|
||||
.annotator-widget {
|
||||
background: #fff;
|
||||
border: 1px solid $border;
|
||||
border-radius: 0;
|
||||
bottom: $line-height;
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
|
||||
font-family: $body-font-family;
|
||||
font-size: $base-font-size;
|
||||
line-height: $line-height;
|
||||
min-width: $line-height * 13;
|
||||
|
||||
p {
|
||||
color: $text;
|
||||
padding: $line-height / 2;
|
||||
}
|
||||
}
|
||||
|
||||
.annotator-item,
|
||||
.annotator-editor .annotator-item input:focus,
|
||||
.annotator-editor .annotator-item textarea:focus {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.annotator-widget::after,
|
||||
.annotator-editor.annotator-invert-y .annotator-widget::after {
|
||||
background-image: image-url("annotator_items.png");
|
||||
}
|
||||
|
||||
.annotator-editor a,
|
||||
.annotator-filter .annotator-filter-property label {
|
||||
padding: 0 $line-height / 4;
|
||||
}
|
||||
|
||||
.annotator-editor a {
|
||||
background: none;
|
||||
background-image: none;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
color: $link;
|
||||
font-family: $body-font-family;
|
||||
font-size: $base-font-size;
|
||||
font-weight: normal;
|
||||
text-shadow: none;
|
||||
padding: 0;
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
background: none;
|
||||
background-image: none;
|
||||
color: $link-hover;
|
||||
text-decoration: underline;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: none;
|
||||
}
|
||||
|
||||
&.annotator-cancel {
|
||||
background: #f04124;
|
||||
color: #fff;
|
||||
padding: $line-height / 4 $line-height / 2;
|
||||
|
||||
&:hover {
|
||||
background: darken(#f04124, 20);
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.annotator-save {
|
||||
background: #43ac6a;
|
||||
color: #fff;
|
||||
padding: $line-height / 4 $line-height / 2;
|
||||
|
||||
&:hover {
|
||||
background: darken(#43ac6a, 20);
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.annotator-hl {
|
||||
cursor: pointer;
|
||||
background: rgba(255, 249, 218, 0.75);
|
||||
|
||||
@@ -441,26 +441,6 @@
|
||||
position: relative;
|
||||
text-align: center;
|
||||
|
||||
.clipboard {
|
||||
border: 1px solid $brand;
|
||||
border-radius: rem-calc(20);
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
margin-bottom: $line-height;
|
||||
padding: $line-height / 4 $line-height / 2;
|
||||
padding-left: rem-calc(30);
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
|
||||
&::before {
|
||||
color: $brand;
|
||||
content: "\6d";
|
||||
font-family: "icons";
|
||||
left: 6px;
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
|
||||
.button {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
// 10. Official levels
|
||||
// 11. Tables
|
||||
// 12. Social
|
||||
// 13. Pages
|
||||
// 14. Verification
|
||||
// 15. Comments
|
||||
// 16. Flags
|
||||
@@ -1628,51 +1627,6 @@ table {
|
||||
}
|
||||
}
|
||||
|
||||
// 13. Pages
|
||||
// ---------
|
||||
|
||||
.help {
|
||||
|
||||
li {
|
||||
border-bottom: 1px solid $border;
|
||||
font-weight: bold;
|
||||
margin-left: rem-calc(-12);
|
||||
position: relative;
|
||||
|
||||
span {
|
||||
color: $text;
|
||||
display: inline-block;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: none;
|
||||
color: $text-medium;
|
||||
font-family: "icons" !important;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 24px;
|
||||
|
||||
@include breakpoint(medium) {
|
||||
content: "c";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
display: block;
|
||||
padding: $line-height / 2;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background: $highlight;
|
||||
|
||||
span {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 14. Verification
|
||||
// ----------------
|
||||
|
||||
@@ -1742,15 +1696,6 @@ table {
|
||||
}
|
||||
}
|
||||
|
||||
.send-letter {
|
||||
background: none;
|
||||
color: $link;
|
||||
|
||||
&:hover {
|
||||
color: $link-hover;
|
||||
}
|
||||
}
|
||||
|
||||
.button + form {
|
||||
display: inline-block;
|
||||
margin-left: $line-height / 2;
|
||||
|
||||
@@ -163,7 +163,6 @@
|
||||
.budget-investment-show,
|
||||
.polls-show,
|
||||
.debate-quiz,
|
||||
.budget-investment-show,
|
||||
.draft-panels,
|
||||
.debate-questions,
|
||||
.communities-show,
|
||||
@@ -637,7 +636,8 @@
|
||||
padding: $line-height / 2 0;
|
||||
}
|
||||
|
||||
.proposal {
|
||||
.proposal,
|
||||
.budget-investment {
|
||||
|
||||
.supports {
|
||||
@include supports;
|
||||
@@ -648,7 +648,6 @@
|
||||
.budget-investment-show {
|
||||
|
||||
.supports {
|
||||
@include supports;
|
||||
|
||||
.investment-project-amount,
|
||||
.budget-investment-amount {
|
||||
|
||||
Reference in New Issue
Block a user