mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: adds prettier (#5956)
Run `prettier --write "app/assets/stylesheets/**/*.scss" "plugins/**/*.scss"` after making sure you installed it with `yarn` It's recommended to configure your editor to run prettier on file save.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
$border-color: rgb(219,219,219);
|
||||
$text-color: #9E9E9E;
|
||||
$border-color: rgb(219, 219, 219);
|
||||
$text-color: #9e9e9e;
|
||||
|
||||
$option-background: dark-light-diff($primary, $secondary, 90%, -65%);
|
||||
|
||||
@@ -9,7 +9,8 @@ div.poll {
|
||||
|
||||
@include unselectable;
|
||||
|
||||
ul, ol {
|
||||
ul,
|
||||
ol {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
@@ -25,7 +26,7 @@ div.poll {
|
||||
|
||||
li[data-poll-option-id] {
|
||||
color: $primary;
|
||||
padding: .5em .7em .7em .5em;
|
||||
padding: 0.5em 0.7em 0.7em 0.5em;
|
||||
}
|
||||
|
||||
.button {
|
||||
@@ -95,7 +96,6 @@ div.poll {
|
||||
}
|
||||
|
||||
.results {
|
||||
|
||||
.option {
|
||||
padding-bottom: 5px;
|
||||
p {
|
||||
@@ -116,7 +116,7 @@ div.poll {
|
||||
|
||||
.bar {
|
||||
height: 10px;
|
||||
background: dark-light-diff($primary, $secondary, 50%, -25%);;
|
||||
background: dark-light-diff($primary, $secondary, 50%, -25%);
|
||||
}
|
||||
|
||||
.chosen .bar {
|
||||
@@ -125,13 +125,10 @@ div.poll {
|
||||
}
|
||||
|
||||
&[data-poll-type="number"] {
|
||||
|
||||
li[data-poll-option-id] {
|
||||
display: inline-block;
|
||||
width: 45px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ div.poll {
|
||||
|
||||
.poll-info {
|
||||
.info-label:before {
|
||||
content:"\00a0"; //nbsp
|
||||
content: "\00a0"; //nbsp
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user