style: format code with prettier
This commit is contained in:
1 parent
f4c2ba6e14
commit
df4e128e53
1 file changed
+46
-43
@@ -845,59 +845,62 @@
|
|||||||
/* SHOUT BOX */
|
/* SHOUT BOX */
|
||||||
|
|
||||||
.shout {
|
.shout {
|
||||||
&--active {
|
&--active {
|
||||||
background-color: fadeout(@surface1, 0.3);
|
background-color: fadeout(@surface1, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
&, &-form {
|
&,
|
||||||
border-bottom-color: @surface0;
|
&-form {
|
||||||
|
border-bottom-color: @surface0;
|
||||||
|
}
|
||||||
|
&-user a {
|
||||||
|
color: @text;
|
||||||
|
}
|
||||||
|
&-timestamp,
|
||||||
|
&-reply {
|
||||||
|
color: @subtext0;
|
||||||
|
&:hover {
|
||||||
|
color: @overlay2;
|
||||||
}
|
}
|
||||||
&-user a {
|
}
|
||||||
color: @text;
|
&-reply::before {
|
||||||
}
|
background: @subtext0;
|
||||||
&-timestamp, &-reply {
|
-mask-image: url("/static/images/icons/reply_sprite_16@2x.a145ef7db2f5.png");
|
||||||
color: @subtext0;
|
-webkit-mask-image: url("/static/images/icons/reply_sprite_16@2x.a145ef7db2f5.png");
|
||||||
&:hover {
|
-webkit-mask-size: 16px 32px;
|
||||||
color: @overlay2;
|
mask-size: 16px 32px;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
&-reply::before {
|
|
||||||
background: @subtext0;
|
|
||||||
-mask-image: url("/static/images/icons/reply_sprite_16@2x.a145ef7db2f5.png");
|
|
||||||
-webkit-mask-image: url("/static/images/icons/reply_sprite_16@2x.a145ef7db2f5.png");
|
|
||||||
-webkit-mask-size: 16px 32px;
|
|
||||||
mask-size: 16px 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&-form {
|
&-form {
|
||||||
border-color: none;
|
border-color: none;
|
||||||
|
}
|
||||||
|
&-permalink.shout-permalink {
|
||||||
|
&:focus,
|
||||||
|
&:hover {
|
||||||
|
color: @overlay2;
|
||||||
}
|
}
|
||||||
&-permalink.shout-permalink {
|
}
|
||||||
&:focus, &:hover {
|
.vote-button {
|
||||||
color: @overlay2;
|
color: @overlay1;
|
||||||
}
|
&::before {
|
||||||
|
background-image: none;
|
||||||
|
background-color: @overlay1;
|
||||||
|
mask-image: url("/static/images/icons/upvote_sprite_16@2x.5e02a31189da.png");
|
||||||
|
-webkit-mask-image: url("/static/images/icons/upvote_sprite_16@2x.5e02a31189da.png");
|
||||||
|
mask-size: 16px 32px;
|
||||||
|
-webkit-mask-size: 16px 32px;
|
||||||
|
mask-position: 0 0;
|
||||||
|
-webkit-mask-position: 0 0;
|
||||||
}
|
}
|
||||||
.vote-button {
|
|
||||||
color: @overlay1;
|
|
||||||
&::before {
|
|
||||||
background-image: none;
|
|
||||||
background-color: @overlay1;
|
|
||||||
mask-image: url("/static/images/icons/upvote_sprite_16@2x.5e02a31189da.png");
|
|
||||||
-webkit-mask-image: url("/static/images/icons/upvote_sprite_16@2x.5e02a31189da.png");
|
|
||||||
mask-size: 16px 32px;
|
|
||||||
-webkit-mask-size: 16px 32px;
|
|
||||||
mask-position: 0 0;
|
|
||||||
-webkit-mask-position: 0 0;
|
|
||||||
}
|
|
||||||
&--voted {
|
&--voted {
|
||||||
color: @green;
|
color: @green;
|
||||||
&::before {
|
&::before {
|
||||||
background-color: @green;
|
background-color: @green;
|
||||||
mask-position: 0 -16px;
|
mask-position: 0 -16px;
|
||||||
-webkit-mask-position: 0 -16px;
|
-webkit-mask-position: 0 -16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* LIBRARY */
|
/* LIBRARY */
|
||||||
|
|||||||
Reference in new issue
Block a user