migrate from sass to PostCSS (#142)

closes #135
This commit is contained in:
Mihail Novikov
2018-07-09 01:17:04 +04:00
committed by Aleksei Gurianov
parent 20f08683b5
commit bcd28306e2
9 changed files with 189 additions and 1376 deletions
@@ -12,7 +12,7 @@
right: 0;
}
// it isn't mobile first, but it's fine here
/* it isn't mobile first, but it's fine here */
@media (-moz-touch-enabled: 1) and (max-width: 768px), (pointer: coarse) and (max-width: 768px) {
border: 8px solid #eee;
padding-bottom: 0;
@@ -1,14 +1,14 @@
$step: 24px;
@for $i from 1 through 5 {
@for $i from 1 to 5 {
.comment_level {
&_#{$i} {
padding-left: $i * $step;
&_$(i) {
padding-left: calc($i * $step);
&.comment_replying {
.comment__input {
@media (-moz-touch-enabled: 1) and (max-width: 768px), (pointer: coarse) and (max-width: 768px) {
margin-left: -$i * $step;
margin-left: calc(-$i * $step);
}
}
}
@@ -8,7 +8,7 @@
right: 0;
}
// it isn't mobile first, but it's fine here
/* it isn't mobile first, but it's fine here */
@media (-moz-touch-enabled: 1) and (max-width: 768px), (pointer: coarse) and (max-width: 768px) {
border: 8px solid #eee;
padding-bottom: 0;