Fix userlist style in apps without iframe

pull/1/head
yflory 8 years ago
parent 555d0a09f8
commit b6944e6638

@ -46,8 +46,8 @@
.driveColor { color: @toolbar-drive-bg; } .driveColor { color: @toolbar-drive-bg; }
.defaultColor { color: @toolbar-default-bg; } .defaultColor { color: @toolbar-default-bg; }
.userlist-drawer { body .userlist-drawer {
font: normal normal normal 14px Arial,Helvetica,Tahoma,Verdana,Sans-Serif; font: normal normal normal 16px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;
min-width: 175px; min-width: 175px;
width: 175px; width: 175px;
display: block; display: block;
@ -69,13 +69,13 @@
} }
h2 { h2 {
color: inherit; color: inherit;
font-size: 1.2em;
font-weight: bold;
text-align: center; text-align: center;
padding: 5px 0px; padding: 5px 0px;
margin: 5px 0px; margin: 5px 0px;
font-size: 16px; font: inherit;
font-weight: bold;
white-space: normal; white-space: normal;
line-height: auto;
} }
text-align:baseline; text-align:baseline;
.viewer { .viewer {
@ -85,6 +85,13 @@
margin: 2px 0; margin: 2px 0;
} }
& > p {
font: normal normal normal 16px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;
margin: 0;
padding: 0;
display: block;
}
.userlist-others { .userlist-others {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
@ -96,6 +103,7 @@
padding: 5px; padding: 5px;
background: rgba(0,0,0,0.1); background: rgba(0,0,0,0.1);
margin: 2px 0; margin: 2px 0;
font-size: 16px;
} }
} }
} }
@ -107,6 +115,7 @@ body {
color: @color; color: @color;
h2 { h2 {
background-color: darken(@bgcolor, 10%); background-color: darken(@bgcolor, 10%);
color: @color;
} }
} }
.cryptpad-toolbar { .cryptpad-toolbar {
@ -124,6 +133,7 @@ body {
} }
} }
.cryptpad-spinner, .cryptpad-state { .cryptpad-spinner, .cryptpad-state {
font-size: 16px;
color: @color; color: @color;
} }
.cryptpad-limit { .cryptpad-limit {
@ -239,7 +249,7 @@ body {
} }
.cryptpad-toolbar { body .cryptpad-toolbar {
* { * {
outline-width: 0; outline-width: 0;
&:focus { &:focus {
@ -440,11 +450,11 @@ body {
} }
button, select, .rightside-element { button, select, .rightside-element {
height: 26px; height: 32px;
padding-right: 5px;
padding-left: 5px;
margin: 3px 2px;
box-sizing: border-box; box-sizing: border-box;
padding: 3px 10px;
margin: 0;
} }
.rightside-button { .rightside-button {

Loading…
Cancel
Save