reuse inline styles as a mixin
This commit is contained in:
@@ -149,11 +149,7 @@ body {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
|
||||||
.avatar,
|
.hover () {
|
||||||
.right-col {
|
|
||||||
flex:1 1 auto;
|
|
||||||
}
|
|
||||||
.remove-history {
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
@@ -161,9 +157,20 @@ body {
|
|||||||
background-color: rgba(50,50,50,0.3);
|
background-color: rgba(50,50,50,0.3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.avatar,
|
||||||
|
.right-col {
|
||||||
|
flex:1 1 auto;
|
||||||
|
}
|
||||||
|
.remove-history {
|
||||||
|
.hover;
|
||||||
|
}
|
||||||
.avatar {
|
.avatar {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
.more-history {
|
||||||
|
.hover;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.chat {
|
.chat {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user