mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Fixing the docs sidebar interactions
This commit is contained in:
26
docs/static/css/style-responsive.css
vendored
26
docs/static/css/style-responsive.css
vendored
@@ -63,7 +63,7 @@
|
||||
}
|
||||
|
||||
#sidebar ul > li.active > a .arrow, #sidebar ul > li > a:hover .arrow, #sidebar ul > li > a:focus .arrow,
|
||||
#sidebar > ul > li.active > a .arrow.open, #sidebar > ul > li > a:hover .arrow.open, #sidebar > ul > li > a:focus .arrow.open{
|
||||
#sidebar > ul > li.active > a .arrow.open, #sidebar > ul > li > a:hover .arrow.open, #sidebar > ul > li > a:focus .arrow.open {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
@@ -99,14 +99,12 @@
|
||||
border-right: 15px solid transparent;
|
||||
}
|
||||
|
||||
|
||||
/*---------*/
|
||||
|
||||
.btn {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
|
||||
.inbox-wrapper aside {
|
||||
display: block;
|
||||
}
|
||||
@@ -200,12 +198,6 @@
|
||||
margin-bottom:0px !important;
|
||||
}
|
||||
|
||||
/*--*/
|
||||
|
||||
/*.chart-position {*/
|
||||
/*margin-top: 0px;*/
|
||||
/*}*/
|
||||
|
||||
.timeline-desk .album a {
|
||||
margin-bottom: 5px;
|
||||
margin-right: 4px;
|
||||
@@ -219,20 +211,18 @@
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 740px) {
|
||||
#task_notificatoin_bar,#mail_notificatoin_bar,#alert_notificatoin_bar{
|
||||
#task_notificatoin_bar,#mail_notificatoin_bar,#alert_notificatoin_bar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
|
||||
.notification-row,.task_notificatoin_bar, .search-row,.knob-charts, .dont-show , .inbox-head .sr-input, .inbox-head .sr-btn{
|
||||
.notification-row,.task_notificatoin_bar, .search-row,.knob-charts, .dont-show , .inbox-head .sr-input, .inbox-head .sr-btn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -240,13 +230,14 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
.inbox-wrapper .inbox-left , .inbox-wrapper .inbox-right{
|
||||
.inbox-wrapper .inbox-left , .inbox-wrapper .inbox-right {
|
||||
width: 100% ;
|
||||
}
|
||||
|
||||
#top_menu .nav > li, ul.top-menu > li {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.hidden-phone {
|
||||
display: none !important;
|
||||
}
|
||||
@@ -274,6 +265,7 @@
|
||||
}
|
||||
|
||||
@media (max-width:320px) {
|
||||
|
||||
.login-social-link a {
|
||||
padding: 15px 17px !important;
|
||||
}
|
||||
@@ -286,7 +278,7 @@
|
||||
display: block ;
|
||||
}
|
||||
|
||||
.inbox-wrapper .inbox-left , .inbox-wrapper .inbox-right{
|
||||
.inbox-wrapper .inbox-left , .inbox-wrapper .inbox-right {
|
||||
width: 100% ;
|
||||
}
|
||||
|
||||
@@ -320,7 +312,3 @@
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
5
docs/static/css/style.css
vendored
5
docs/static/css/style.css
vendored
@@ -354,7 +354,7 @@ table tr th { color: #007AFF;}
|
||||
/*sidebar navigation*/
|
||||
|
||||
#sidebar {
|
||||
width: 190px;
|
||||
width: 200px;
|
||||
height: 100%;
|
||||
position: fixed;
|
||||
background: #ffffff;
|
||||
@@ -453,6 +453,7 @@ ul.sidebar-menu li a{
|
||||
transition: all 0.3s ease;
|
||||
border-right: 1px solid #D7D7D7;
|
||||
border-bottom: 1px solid #D7D7D7;
|
||||
overflow:hidden;
|
||||
}
|
||||
/*ul.sidebar-menu li a i{
|
||||
position: relative;
|
||||
@@ -586,7 +587,7 @@ ul.sidebar-menu li.active a i {
|
||||
/*main content*/
|
||||
|
||||
#main-content {
|
||||
margin-left: 180px;
|
||||
margin-left: 200px;
|
||||
line-height: 1.8;
|
||||
font-size: 19px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user