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:
Joffrey JAFFEUX
2018-06-08 11:49:31 +02:00
committed by GitHub
parent 8bd4c11f53
commit 174d392e5a
118 changed files with 2558 additions and 1874 deletions

View File

@@ -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;
}
}
}

View File

@@ -9,7 +9,7 @@ div.poll {
.poll-info {
.info-label:before {
content:"\00a0"; //nbsp
content: "\00a0"; //nbsp
}
}
}