Mobile view based on window width, drop terrible user agent detection

And improved responsive CSS
This commit is contained in:
djmaze 2021-02-16 14:40:11 +01:00
parent 33214c1a33
commit 292f3289ac
28 changed files with 49 additions and 336 deletions

View file

@ -4,11 +4,9 @@
&.modal {
width: 98%;
max-width: 1000px;
/* height: calc(100% - 52px);*/
min-height: calc(100% - 52px);
.modal-body {
/* height: calc(100% - 60px);*/
padding: 0;
}
}
@ -34,7 +32,6 @@
text-align: center;
font-size: 24px;
color: #666;
text-shadow: 0 1px 0 #fff;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
@ -47,11 +44,7 @@
.b-header-toolbar {
height: 40px;
color: #fff;
background-color: @rlMainDarkColor;
background-color: #333;
background-color: rgba(0,0,0,0.8) !important;
.close, .minimize-custom {
@ -147,12 +140,6 @@
}
}
.cke_chrome {
border-left-width: 0 !important;
border-right-width: 0 !important;
border-bottom-width: 0 !important;
}
.b-attachment-button {
display: inline-block;
}