summaryrefslogtreecommitdiff
path: root/css/cdm.less
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-05 16:26:53 +0300
committerAndrew Dolgov <[email protected]>2018-12-05 16:26:53 +0300
commit2dac797704dcdc0293a7989c56cbb86be7a7dfde (patch)
treefb05b978105ecdb4b8001e0029e52b8573668b1b /css/cdm.less
parentfa639df5882c492380875c4de38809511d6e6db6 (diff)
floatingTitle-related fixes
Diffstat (limited to 'css/cdm.less')
-rw-r--r--css/cdm.less31
1 files changed, 24 insertions, 7 deletions
diff --git a/css/cdm.less b/css/cdm.less
index 085b02269..c129f7f13 100644
--- a/css/cdm.less
+++ b/css/cdm.less
@@ -216,18 +216,36 @@ div#floatingTitle {
border-bottom-width: 1px;
background : white;
color : @default-text;
+ display : flex;
+ flex-direction : row;
+ flex-wrap : nowrap;
box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
> * {
- display : table-cell;
+ align-self: center;
white-space : nowrap;
- vertical-align : middle;
- padding : 9px 5px;
+ padding : 4px;
}
- img {
- margin-right : 4px;
- margin-left : 4px;
+ .left, .right {
+ display : flex;
+
+ > * {
+ align-self : center;
+ }
+
+ i.material-icons {
+ margin-left : 2px;
+ font-size : 20px;
+ padding : 2px;
+ user-select: none;
+ }
+
+ i.anchor {
+ margin-left : 0px;
+ padding : 0px;
+ color : #ccc;
+ }
}
span.author {
@@ -284,7 +302,6 @@ div#floatingTitle {
white-space : normal;
}
- .dijit,
img.score-pic {
display : none;
}