mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
Outline framework in place
This commit is contained in:
parent
4045197871
commit
942bc386f4
18 changed files with 752 additions and 177 deletions
|
@ -19,6 +19,7 @@
|
|||
@import "view/navigation.scss";
|
||||
@import "view/toolbar.scss";
|
||||
@import "view/views.scss";
|
||||
@import "layout/all.scss";
|
||||
|
||||
@import "vendor.scss";
|
||||
@import "print.scss";
|
||||
|
|
4
gui/app/styles/layout/all.scss
Normal file
4
gui/app/styles/layout/all.scss
Normal file
|
@ -0,0 +1,4 @@
|
|||
@import "top-bar.scss";
|
||||
@import "sidebar.scss";
|
||||
@import "sub-nav.scss";
|
||||
|
8
gui/app/styles/layout/sidebar.scss
Normal file
8
gui/app/styles/layout/sidebar.scss
Normal file
|
@ -0,0 +1,8 @@
|
|||
.sidebar {
|
||||
height: calc(100vh - 50px);
|
||||
// width: 300px;
|
||||
width: 100%;
|
||||
background-color: $color-gray-light3;
|
||||
border-right: 1px solid $color-gray-light2;
|
||||
padding: 30px 20px;
|
||||
}
|
0
gui/app/styles/layout/sub-nav.scss
Normal file
0
gui/app/styles/layout/sub-nav.scss
Normal file
85
gui/app/styles/layout/top-bar.scss
Normal file
85
gui/app/styles/layout/top-bar.scss
Normal file
|
@ -0,0 +1,85 @@
|
|||
#top-bar {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
background-color: $color-primary;
|
||||
color: $color-white;
|
||||
padding: 0 30px;
|
||||
font-size: 1rem;
|
||||
height: 50px;
|
||||
|
||||
> .items {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 50px;
|
||||
|
||||
> .item {
|
||||
list-style: none;
|
||||
display: inline-block;
|
||||
margin: 0 30px 0 0;
|
||||
padding: 0;
|
||||
font-size: 1.2rem;
|
||||
letter-spacing: 0.1rem;
|
||||
font-weight: 700;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
|
||||
> .logo {
|
||||
height: 35px;
|
||||
width: 35px;
|
||||
}
|
||||
|
||||
> .link, .link:visited {
|
||||
@include ease-in();
|
||||
color: $color-white;
|
||||
|
||||
&:hover {
|
||||
color: darken($color-white, 15%);
|
||||
}
|
||||
}
|
||||
|
||||
> .selected {
|
||||
background-color: $color-primary-light !important;
|
||||
color: $color-primary !important;
|
||||
padding: 5px 10px !important;
|
||||
|
||||
&:hover {
|
||||
color: darken($color-primary, 15%) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> .buttons {
|
||||
height: 50px;
|
||||
float: right;
|
||||
|
||||
> .button-icon-gap {
|
||||
margin-left: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
> .hamburger {
|
||||
@include ease-in();
|
||||
@include border-radius(3px);
|
||||
background-color: $color-primary;
|
||||
border: 1px solid $color-primary-light;
|
||||
|
||||
> i {
|
||||
font-size: 1.8rem;
|
||||
line-height: 2.1rem;
|
||||
padding: 3px 5px 0 5px;
|
||||
color: $color-primary-light;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: $color-primary-light;
|
||||
|
||||
> i {
|
||||
color: $color-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -54,6 +54,9 @@
|
|||
.page-toolbar,
|
||||
.start-section,
|
||||
.start-button,
|
||||
#top-bar,
|
||||
#sidebar,
|
||||
#sub-nav,
|
||||
.new-section-wizard {
|
||||
float: none !important;
|
||||
display: none !important;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue