diff --git a/frappe/public/css/docs.css b/frappe/public/css/docs.css index 1f91e89944..0295ceb8dc 100644 --- a/frappe/public/css/docs.css +++ b/frappe/public/css/docs.css @@ -236,6 +236,7 @@ body { } .toggle-sidebar { margin-right: 15px; + border: 0; } .navbar-default .navbar-nav > li > a, .navbar-default .navbar-brand { diff --git a/frappe/public/css/navbar.css b/frappe/public/css/navbar.css index 18a81af2d8..a6332b03f7 100644 --- a/frappe/public/css/navbar.css +++ b/frappe/public/css/navbar.css @@ -102,6 +102,7 @@ } .toggle-sidebar { margin-right: 15px; + border: 0; } .navbar-default .navbar-nav > li > a, .navbar-default .navbar-brand { diff --git a/frappe/public/css/website.css b/frappe/public/css/website.css index d15579c42f..5dec98108d 100644 --- a/frappe/public/css/website.css +++ b/frappe/public/css/website.css @@ -579,7 +579,6 @@ fieldset { font-weight: 500 !important; } .web-sidebar .sidebar-items { - margin-top: 30px; margin-bottom: 30px; } .web-sidebar .sidebar-items .title { @@ -597,6 +596,14 @@ fieldset { .list-group-item { border-radius: 0px !important; } +.no-results { + text-align: center; +} +.no-results .octicon-telescope { + display: block; + padding: 10px; + padding-top: 20px; +} .website-list { min-height: 200px; padding-bottom: 15px; @@ -927,6 +934,15 @@ body { padding-left: 50px; padding-right: 50px; } +@media screen and (max-width: 480px) { + .page-content { + padding-top: 20px; + } + .page-content.with-sidebar { + padding-left: 20px; + padding-right: 20px; + } +} .content-header { padding-bottom: 20px; } @@ -969,6 +985,7 @@ li .footer-child-item { } .item-search { border-bottom: 1px solid #d1d8dd; + width: 100%; } .item-search .item-search-input { position: relative; @@ -977,6 +994,10 @@ li .footer-child-item { margin-right: 5px; padding: 7px; padding-left: 0px; + width: 95px; +} +.item-search i { + padding: 10px 10px 10px 0; } .vert-line { overflow: hidden; diff --git a/frappe/public/less/navbar.less b/frappe/public/less/navbar.less index d900db027f..fb91b03625 100644 --- a/frappe/public/less/navbar.less +++ b/frappe/public/less/navbar.less @@ -112,6 +112,7 @@ .toggle-sidebar { margin-right: 15px; + border: 0; } .navbar-default .navbar-nav > li > a, diff --git a/frappe/public/less/website.less b/frappe/public/less/website.less index 4dec7241de..295d850d40 100644 --- a/frappe/public/less/website.less +++ b/frappe/public/less/website.less @@ -255,7 +255,7 @@ fieldset { } .sidebar-items { - margin-top:30px; + // margin-top:30px; margin-bottom:30px; .title{ font-size: 14px; @@ -279,6 +279,16 @@ fieldset { border-radius: 0px !important; } +.no-results { + text-align: center; + + .octicon-telescope { + display: block; + padding: 10px; + padding-top: 20px; + } +} + .website-list { min-height: 200px; padding-bottom: 15px; @@ -531,6 +541,17 @@ a.active { padding-right: 50px; } +@media screen and (max-width: 480px) { + .page-content { + padding-top: 20px; + } + .page-content.with-sidebar { + padding-left: 20px; + padding-right: 20px; + } +} + + .content-header { padding-bottom:20px; } @@ -581,6 +602,7 @@ li .footer-child-item { .item-search { border-bottom: 1px solid @border-color; + width: 100%; .item-search-input { position: relative; @@ -589,6 +611,10 @@ li .footer-child-item { margin-right: 5px; padding: 7px; padding-left: 0px; + width: 95px; + } + i { + padding: 10px 10px 10px 0; } } diff --git a/frappe/templates/includes/list/list.html b/frappe/templates/includes/list/list.html index 274d6f649b..509ede5e90 100644 --- a/frappe/templates/includes/list/list.html +++ b/frappe/templates/includes/list/list.html @@ -1,6 +1,7 @@ {% if not result -%} -
- {{ no_result_message or _("Nothing to show") }} +
+ + {{ no_result_message or _("Nothing to show") }}
{% else %} - + \ No newline at end of file diff --git a/frappe/templates/includes/search_box.html b/frappe/templates/includes/search_box.html index 32c2cb9733..883e9902a6 100644 --- a/frappe/templates/includes/search_box.html +++ b/frappe/templates/includes/search_box.html @@ -1,10 +1,10 @@ -
-
+
+

diff --git a/frappe/templates/includes/web_sidebar.html b/frappe/templates/includes/web_sidebar.html index afe7b5dcca..a3128fb40a 100644 --- a/frappe/templates/includes/web_sidebar.html +++ b/frappe/templates/includes/web_sidebar.html @@ -1,5 +1,5 @@
-