From ea9f487b40c7f1d7348d9f88703cb9d52c7e8603 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 21 Apr 2017 17:12:28 +0200 Subject: Client: fixed header and menu --- client/src/sass/_variables.scss | 2 +- client/src/sass/application.scss | 49 ++++++++-------------------------------- 2 files changed, 10 insertions(+), 41 deletions(-) (limited to 'client/src/sass') diff --git a/client/src/sass/_variables.scss b/client/src/sass/_variables.scss index d89fbb5e0..bb6799665 100644 --- a/client/src/sass/_variables.scss +++ b/client/src/sass/_variables.scss @@ -15,4 +15,4 @@ $video-miniature-other-infos: #686767; $video-watch-border-color: #eceef4; $video-watch-title-height: 90px; $video-watch-info-color: #8e909b; -$video-watch-info-height: 150px; +$video-watch-info-height: 120px; diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index d65cd8c64..571372c2b 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -24,6 +24,11 @@ input.readonly { .header { height: $header-height; + my-search { + position: fixed; + z-index: 1000; + } + .search-col { height: 100%; margin-left: -15px; @@ -31,6 +36,10 @@ input.readonly { } } +.title-menu-left { + position: fixed; +} + .main-col { padding: 0; @@ -51,38 +60,6 @@ input.readonly { } } -.title-menu-left { - height: calc(100vh - #{$header-height}); - padding-right: 0; - - .title-menu-left-block { - margin-left: -15px; - - &.menu { - height: 100%; - } - } - - #peertube-title { - background-color: #fff; - border-right: 1px solid $header-border-color; - font-size: 25px; - line-height: $header-height; - text-align: center; - margin-top: 0; - margin-bottom: 0; - - a { - color: inherit !important; - - &:hover { - color: inherit !important; - text-decoration: none !important; - } - } - } -} - /* some fixes for ng2-smart-table */ ng2-smart-table { thead tr { @@ -103,11 +80,3 @@ ng2-smart-table { font-family: 'Glyphicons Halflings' !important; } } - -footer { - border-top: 1px solid rgba(0, 0, 0, 0.2); - padding-top: 10px; - text-align: center; - font-size: small; - margin-top: 30px; -} -- cgit v1.2.3