You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2019/12/12 11:34:43 UTC
[isis] 03/10: ISIS-2210: wip, copies the 20% section to the end...
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
commit 50e98b0cb254d82eaf90071e02eb9ed52c825de9
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Thu Dec 12 11:06:45 2019 +0000
ISIS-2210: wip, copies the 20% section to the end...
... in order to factor out common stuff.
---
.../isis/viewer/wicket/ui/pages/simple-sidebar.css | 112 +++++++++++++++++++++
1 file changed, 112 insertions(+)
diff --git a/core/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/simple-sidebar.css b/core/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/simple-sidebar.css
index a4303e0..57ec2af 100644
--- a/core/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/simple-sidebar.css
+++ b/core/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/simple-sidebar.css
@@ -502,3 +502,115 @@ body {
}
}
+#wrapper.toggled {
+ padding-left: 20%;
+}
+
+#sidebar-wrapper {
+ z-index: 1000;
+ position: fixed;
+ left: 20%;
+ width: 0;
+ height: 100%;
+ margin-left: -20%;
+ overflow-y: auto;
+ border: 1px dotted;
+ -webkit-transition: all 0.5s ease;
+ -moz-transition: all 0.5s ease;
+ -o-transition: all 0.5s ease;
+ transition: all 0.5s ease;
+}
+
+#wrapper.toggled #sidebar-wrapper {
+ width: 20%;
+}
+
+#page-content-wrapper {
+ width: 100%;
+ position: absolute;
+ padding: 15px;
+}
+
+#wrapper.toggled #page-content-wrapper {
+ position: absolute;
+ margin-right: -20%;
+}
+
+/* Sidebar Styles */
+
+.sidebar-nav {
+ position: absolute;
+ top: 0;
+ width: 100%;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+
+.sidebar-nav li a {
+ display: block;
+ text-decoration: none;
+ color: #999999;
+}
+
+.sidebar-nav li a:hover {
+ text-decoration: none;
+ color: #fff;
+ background: rgba(255,255,255,0.2);
+}
+
+.sidebar-nav li a:active,
+.sidebar-nav li a:focus {
+ text-decoration: none;
+}
+
+.sidebar-nav > .sidebar-brand {
+ height: 65px;
+ font-size: 18px;
+ line-height: 60px;
+}
+
+.sidebar-nav > .sidebar-brand a {
+ color: #999999;
+}
+
+.sidebar-nav > .sidebar-brand a:hover {
+ color: #fff;
+ background: none;
+}
+
+.sidebar-panel {
+ padding: 20px;
+}
+.sidebar-content {
+ padding-top: 20px;
+ padding-bottom: 20px;
+}
+
+#wrapper {
+ padding-left: 20%;
+}
+
+#wrapper.toggled {
+ padding-left: 0;
+}
+
+#sidebar-wrapper {
+ width: 20%;
+}
+
+#wrapper.toggled #sidebar-wrapper {
+ width: 0;
+ border: 0;
+}
+
+#page-content-wrapper {
+ padding: 20px;
+ position: relative;
+}
+
+#wrapper.toggled #page-content-wrapper {
+ position: relative;
+ margin-right: 0;
+}