diff --git a/css/glowingbear.css b/css/glowingbear.css index a98992c..1ff584d 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -174,9 +174,17 @@ input[type=text], input[type=password], .badge { overflow-x: hidden; margin-top: 35px; /* topbar */ font-size: smaller; + -webkit-transition:0.35s ease all; + transition:0.35s ease all; } #sidebar form { } +#sidebar.ng-hide-add, #sidebar.ng-hide-remove { + /* this needs to be here to make it visible during the animation + since the .ng-hide class is already on the element rendering + it as hidden. */ + display:block!important; +} #sidebar .badge { border-radius: 0; @@ -187,6 +195,10 @@ input[type=text], input[type=password], .badge { padding-left: 10px; } +#sidebar.ng-hide { + width: 0; +} + #nicklist { position: fixed; width: 100px; @@ -244,21 +256,27 @@ input[type=text], input[type=password], .badge { position: relative; height: 98%; overflow-y: auto; - margin-left: 145px; /* sidebar */ width: auto; top: 35px; /* topbar */ padding-bottom: 10px; margin-right: -5px; + -webkit-transition:0.35s ease all; + transition:0.35s ease all; } .withnicklist { margin-right: 100px !important; /* nicklist */ } +.withsidebar { + margin-left: 145px; /* sidebar */ +} #bufferlines .btn { font-family: sans-serif; } .navbar-fixed-bottom { margin: 0 5px 0 145px; /* sidebar */ + -webkit-transition:0.35s ease all; + transition:0.35s ease all; } .navbar-inverse { background-color: #181818; @@ -311,7 +329,6 @@ table.notimestamp td.time { display: none; } - /* */ /* Mobile layout */ /* */ diff --git a/index.html b/index.html index 67dc1be..27d0cf6 100644 --- a/index.html +++ b/index.html @@ -18,6 +18,7 @@ + @@ -183,7 +184,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel