mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
WIP: sidebar overlay component.
This commit is contained in:
@@ -47,11 +47,13 @@ body.hide-scrollbar .Pane2 {
|
||||
}
|
||||
|
||||
.bp3-fill {
|
||||
|
||||
.bp3-popover-wrapper,
|
||||
.bp3-popover-target {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.bp3-button {
|
||||
width: 100%;
|
||||
justify-content: start;
|
||||
@@ -61,6 +63,7 @@ body.hide-scrollbar .Pane2 {
|
||||
.bp3-datepicker-caption .bp3-html-select::after {
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.bp3-select-popover .bp3-menu {
|
||||
max-height: 300px;
|
||||
max-width: 400px;
|
||||
@@ -100,27 +103,21 @@ body.hide-scrollbar .Pane2 {
|
||||
background-color: rgba(0, 10, 30, 0.7);
|
||||
}
|
||||
|
||||
.ReactVirtualized__Collection {
|
||||
}
|
||||
.ReactVirtualized__Collection {}
|
||||
|
||||
.ReactVirtualized__Collection__innerScrollContainer {
|
||||
}
|
||||
.ReactVirtualized__Collection__innerScrollContainer {}
|
||||
|
||||
/* Grid default theme */
|
||||
|
||||
.ReactVirtualized__Grid {
|
||||
}
|
||||
.ReactVirtualized__Grid {}
|
||||
|
||||
.ReactVirtualized__Grid__innerScrollContainer {
|
||||
}
|
||||
.ReactVirtualized__Grid__innerScrollContainer {}
|
||||
|
||||
/* Table default theme */
|
||||
|
||||
.ReactVirtualized__Table {
|
||||
}
|
||||
.ReactVirtualized__Table {}
|
||||
|
||||
.ReactVirtualized__Table__Grid {
|
||||
}
|
||||
.ReactVirtualized__Table__Grid {}
|
||||
|
||||
.ReactVirtualized__Table__headerRow {
|
||||
font-weight: 700;
|
||||
@@ -129,6 +126,7 @@ body.hide-scrollbar .Pane2 {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.ReactVirtualized__Table__row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@@ -148,6 +146,7 @@ body.hide-scrollbar .Pane2 {
|
||||
margin-right: 10px;
|
||||
min-width: 0px;
|
||||
}
|
||||
|
||||
.ReactVirtualized__Table__rowColumn {
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
@@ -157,6 +156,7 @@ body.hide-scrollbar .Pane2 {
|
||||
.ReactVirtualized__Table__rowColumn:first-of-type {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.ReactVirtualized__Table__sortableHeaderColumn {
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -165,32 +165,115 @@ body.hide-scrollbar .Pane2 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.ReactVirtualized__Table__sortableHeaderIcon {
|
||||
flex: 0 0 24px;
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
fill: currentColor;
|
||||
}
|
||||
.ReactVirtualized__Grid, .ReactVirtualized__List { direction: inherit !important; }
|
||||
/* List default theme */
|
||||
|
||||
.ReactVirtualized__Grid,
|
||||
.ReactVirtualized__List {
|
||||
direction: inherit !important;
|
||||
}
|
||||
|
||||
/* List default theme */
|
||||
|
||||
.bp3-drawer{
|
||||
.ReactVirtualized__List {}
|
||||
|
||||
|
||||
.bp3-drawer {
|
||||
box-shadow: 0 0 0;
|
||||
}
|
||||
|
||||
// RTL Icons.
|
||||
html[dir="rtl"] {
|
||||
.bp3-icon-caret-right{
|
||||
.bp3-icon-caret-right {
|
||||
transform: scaleX(-1);
|
||||
}
|
||||
}
|
||||
|
||||
html[lang^="ar"] {
|
||||
body{
|
||||
body {
|
||||
letter-spacing: -0.01rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.sidebar-overlay {
|
||||
background: #fff;
|
||||
height: 100%;
|
||||
width: 300px;
|
||||
|
||||
&__scroll-wrapper {
|
||||
height: 100%
|
||||
}
|
||||
|
||||
.ScrollbarsCustom-Track {
|
||||
|
||||
&.ScrollbarsCustom-TrackY,
|
||||
&.ScrollbarsCustom-TrackX {
|
||||
background: rgba(0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.ScrollbarsCustom-Thumb {
|
||||
|
||||
&.ScrollbarsCustom-ThumbX,
|
||||
&.ScrollbarsCustom-ThumbY {
|
||||
background: rgba(0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.ScrollbarsCustom-Content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.ScrollbarsCustom-Thumb {
|
||||
|
||||
&.ScrollbarsCustom-ThumbX,
|
||||
&.ScrollbarsCustom-ThumbY {
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__menu {
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
&__item {
|
||||
font-size: 15px;
|
||||
color: #032259;
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
display: block;
|
||||
padding: 9px 22px;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover,
|
||||
&:focus{
|
||||
background: #f3f3f3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__divider {
|
||||
height: 1px;
|
||||
margin: 4px 0;
|
||||
background: #ebebeb;
|
||||
}
|
||||
|
||||
&__label{
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
padding: 4px 20px;
|
||||
letter-spacing: 0.8px;
|
||||
color: #707a85;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user