1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-27 17:19:42 +02:00
documize/gui/app/styles/view/layout.scss

154 lines
2.7 KiB
SCSS
Raw Normal View History

2017-11-17 11:31:54 +00:00
// pre-nov17 UX
2017-03-23 18:28:42 +00:00
$sidebar-width: 400px;
#wrapper {
padding-left: 0;
margin-right: 60px;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
#sidebar-wrapper {
z-index: 888;
position: fixed;
2017-03-28 10:25:32 +01:00
overflow-x: hidden;
2017-03-23 18:28:42 +00:00
left: $sidebar-width;
top: 0;
2017-03-23 18:28:42 +00:00
width: 0;
height: 100%;
margin-left: -$sidebar-width;
overflow-y: auto;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
2017-09-25 14:37:11 +01:00
background-color: $color-sidebar;
border-right: 1px solid $color-sidebar-border;
2017-03-23 18:28:42 +00:00
}
.page-container {
margin-right: auto;
margin-left: auto;
padding-left: 30px;
2017-09-20 08:10:43 +01:00
padding-right: 0;
max-width: 1200px;
}
2017-03-23 18:28:42 +00:00
#page-content-wrapper {
width: 100%;
2017-04-03 16:34:42 +01:00
position: relative;
// position: absolute;
2017-09-20 08:10:43 +01:00
padding: 30px 0 30px 30px;
margin: 0 auto;
margin-top: 30px;
2017-03-24 13:10:32 +00:00
.page-content-title {
font-size: 2rem;
margin: 30px 0 10px;
font-weight: normal;
}
2017-03-23 18:28:42 +00:00
}
.sidebar-common {
display: inline-block;
width: 340px;
padding: 40px 20px 0px 20px;
margin-left: 20px;
2017-03-23 18:28:42 +00:00
.zone-sidebar-page-title {
color: $color-primary;
2017-09-25 14:37:11 +01:00
font-size: 1.5rem;
2017-03-23 18:28:42 +00:00
font-weight: bold;
margin-bottom: 20px;
}
.zone-sidebar-page-info {
2017-09-25 14:37:11 +01:00
color: $color-black;
2017-03-23 18:28:42 +00:00
font-size: 1rem;
line-height: 1.5rem;
margin-bottom: 30px;
}
2017-09-25 14:37:11 +01:00
color: $color-sidebar-text !important;
a, a:visited {
&:hover {
color: $color-sidebar-link !important;
}
}
2017-03-23 18:28:42 +00:00
}
.sidebar-wrapper {
padding: 40px 20px 40px 20px;
2017-09-25 14:37:11 +01:00
margin: 0 20px;
2017-03-23 18:28:42 +00:00
.sidebar-panel {
width: 300px;
> .title {
color: $color-primary;
2017-10-03 17:52:03 -04:00
font-size: 1.2rem;
margin-bottom: 30px;
font-weight: bold;
2017-03-23 18:28:42 +00:00
}
.document-sidebar-form-wrapper {
2017-03-23 18:28:42 +00:00
padding: 20px;
border: 1px solid $color-stroke;
2017-03-24 13:10:32 +00:00
background-color: $color-white;
2017-10-03 17:52:03 -04:00
@include border-radius(3px);
2017-03-23 18:28:42 +00:00
}
2017-09-25 14:37:11 +01:00
}
color: $color-sidebar-text !important;
a, a:visited {
&:hover {
color: $color-sidebar-link !important;
}
}
2017-03-23 18:28:42 +00:00
}
2017-09-20 08:10:43 +01:00
2017-10-03 17:52:03 -04:00
.document-sidebar-toolbar {
margin: 10px 0 0 0;
padding: 10px 0;
text-align: center;
// background-color: $color-sidebar-toolbar;
> .round-button-mono {
background-color: $color-white;
border-color: $color-sidebar-border;
> .material-icons {
color: $color-gray;
@include ease-in();
}
&:hover {
> .material-icons {
color: $color-link;
}
}
}
> .selected {
background-color: $color-primary;
border-color: $color-primary;
> .material-icons {
color: $color-off-white;
@include ease-in();
}
&:hover {
> .material-icons {
color: $color-white;
}
}
}
}