1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 15:19:42 +02:00
documize/gui/app/styles/core/layout/sidebar.scss
sauls8t 93253be0f2 Update document view to use new UI framework
1. Sidebar contains ToC & attachments.
2. Document meta moved up before content (to frame  context).
3. Per section toolbar re-designed.

Co-Authored-By: Harvey Kandola <harvey@documize.com>
2018-12-19 18:36:45 +00:00

105 lines
1.7 KiB
SCSS

.sidebar-content {
display: block;
position: relative;
// @extend .text-truncate;
> .section {
margin: 0;
padding: 0 7px;
> .title {
text-transform: uppercase;
font-size: 1rem;
font-weight: 600;
color: map-get($gray-shades, 700);
}
> .nav-button {
width: 100%;
display: inline-block;
@extend .no-select;
}
> .center {
text-align: center;
}
> .text {
margin: 10px 0;
font-size: 1rem;
font-weight: 500;
color: $color-black-light-3;
}
> .label {
@include border-radius(3px);
@extend .no-select;
display: inline-block;
margin: 10px 0 13px 0;
padding: 0.3rem 0.7rem;
font-size: 1.1rem;
font-weight: 400;
background-color: map-get($gray-shades, 600);
color: map-get($gray-shades, 100);
}
> .list {
margin: 10px 0;
> .item {
padding: 3px 0;
display: flex;
flex-direction: row;
align-items: center;
cursor: pointer;
> .dicon {
font-size: 16px;
font-weight: bold;
color: map-get($gray-shades, 500);
}
> .name {
display: inline-block;
padding: 0 0 0 8px;
font-size: 1rem;
font-weight: 500;
color: $color-black-light-3;
}
> input[type=checkbox] {
margin: -6px 0 0 0;
padding: 0;
}
&:hover {
> .dicon {
color: map-get($gray-shades, 600);
}
> .name {
color: $color-black-light-1;
}
}
}
> .selected {
> .dicon, > .name, &:hover {
color: $theme-500 !important;
font-weight: 600 !important;
}
}
}
}
.empty-label {
margin: 10px 0;
font-size: 1rem;
font-weight: 500;
color: map-get($gray-shades, 700);
font-style: italic;
padding: 0 7px;
}
}