Bugfix boostrap alerts.less was accidentally removed

Bugfix Date.fromNow('past'/'future') reversed
Replace Events[pub/sub]('interval.*') with setInterval()
Events[pub/sub] to native
Cleanup knockout extensions
Replaced momentToNode with proper HTML5 <time>
Cleanup Momentor
This commit is contained in:
djmaze 2020-08-14 20:35:39 +02:00
parent 6541a1de7c
commit 9f1ea1a0fd
44 changed files with 539 additions and 1126 deletions

View file

@ -19,6 +19,7 @@
@import "../../vendors/bootstrap/less/buttons.less";
@import "../../vendors/bootstrap/less/button-groups.less";
@import "../../vendors/bootstrap/less/alerts.less";
@import "../../vendors/bootstrap/less/navs.less";
@ -80,7 +81,5 @@
@import "SettingsThemes.less";
@import "SettingsFilters.less";
@import "Cmd.less";
@import "Animations.less";
@import "_End.less";

View file

@ -73,11 +73,13 @@ html {
html.rl-anim {
.rl-animated-inited {
opacity: 1;
.transition(opacity 0.5s linear);
&.rl-animated-hidden {
.b-login-content {
.alertError {
display: block;
opacity: 1;
.transition(opacity 0.5s linear);
}
.alertError[hidden] {
opacity: 0;
}
}

View file

@ -1,82 +0,0 @@
.rl-cmd {
position: absolute;
bottom: 0;
left: 0;
right: 0;
top: auto;
height: 0;
z-index: 10000;
background: rgba(0, 0, 0, .85);
border-top: 1px solid #000;
overflow: hidden;
font-family: monospace;
.transition(height 0.1s ease-out);
&.opened {
height: 250px;
}
.rl-cmd-clr-error {
color: #CD3131;
}
.rl-cmd-clr-info {
color: #BFBF00;
}
.rl-cmd-clr-success {
color: #31FF40;
}
.rl-cmd-wrp {
position: relative;
height: 100%;
}
.rl-cmd-input-helper {
color: #666;
}
.rl-cmd-input-prefix {
color: #31FF40;
display: inline-block;
}
.rl-cmd-input-wrp {
position: absolute;
bottom: 0;
left: 10px;
right: 10px;
}
.rl-cmd-input {
background: none;
border: none;
color: white;
display: inline-block;
width: calc(~'100% - 30px');
font-family: monospace;
&:focus{
background: none;
border: none;
}
}
.rl-cmd-history {
color: white;
font-family: monospace;
position: absolute;
top: 10px;
bottom: 60px;
left: 10px;
right: -30px;
overflow: hidden;
overflow-x: hidden;
overflow-y: auto;
}
}

View file

@ -649,20 +649,12 @@ html .messageItem {
.buttonUp, .buttonUp {
display: none !important;
}
&.scroller-shadow-top .buttonUp {
display: inline-block !important;
}
}
html.rl-desktop .messageItem {
.buttonUp, .buttonFull {
display: none !important;
}
&:hover {
&.scroller-shadow-top .buttonUp, .buttonFull {
display: inline-block !important;
}
}
}
html.rl-message-fullscreen .messageItem {
@ -675,7 +667,4 @@ html.rl-message-fullscreen .messageItem {
.buttonUp {
display: none !important;
}
&.scroller-shadow-top .buttonUp {
display: inline-block !important;
}
}