Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
removed the overriding settings in css (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
chloe-zh committed Apr 10, 2020
1 parent d6f52f8 commit b12419d
Showing 1 changed file with 0 additions and 107 deletions.
107 changes: 0 additions & 107 deletions public/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,110 +158,3 @@
.successful-message{
color: #006BB4;
}

/********* EuiTable overrides ***********/
.euiTableCellContent {
display: inline-block;
width: 100%;
}

.euiTableRow.euiTableRow-isExpandedRow .euiTableRowCell {
background-color: unset;
}

.sideNav-table .euiTableRowCell {
border-top: 0;
}

.euiTableRow:hover{
background-color: unset;
}

/********* EuiSideNav overrides *********/

/* Add the vertical line to connect the side Nav to the parent row */
.sideNavItem__items {
position: relative;
&:after { /* 1 */
position: absolute;
content: '';
top: -10px;
bottom: 32px;
width: 1px;
background: rgb(217, 217, 217);
left: 0;
}
}

/* Add the vertical line to connect the side nav item to its parent item */
.euiSideNavItem__items:after {
bottom: 50%;
}

/* Add the tick line to each item */
.euiSideNavItem {
/**
* 1. Absolutely position the horizontal tick connecting the item to the vertical line.
*/
> .euiSideNavItemButton {
position: relative; /* 1 */
padding-left: 13px;
padding-right: 8px; /* 1 */

&:after {
position: absolute;
content: "";
top: 50%;
left: 0;
width: 10px;
height: 2px;
background: rgb(217, 217, 217);
}
}

/* Remove the horizontal tick from the root of the sideNav */
&.euiSideNavItem--root > .euiSideNavItemButton {
&:after {
background: none;
}
}

& > .sideNavItem__items {
margin-left: 16px;
}
}

/* To remove caret icon from sideNavItems */
.euiIcon--small {
width: 0px;
height: 0px;
}

/* To remove bold and underline inside nested tables */
.euiSideNavItemButton.euiSideNavItemButton-isSelected .euiSideNavItemButton__label .euiTableRowCell {
font-weight: normal;
text-decoration: none;
}

.euiSideNavItemButton__content {
float: left;
}

/* To Fix Word-wrap not working for table cells inside SideNav component */
.euiSideNavItemButton__label {
white-space: normal;
}

/* To center vertical line from sideNav item to its children*/
.euiSideNavItem--trunk > .euiSideNavItem__items {
margin-left: 15px;
}

/*
.euiSideNavItem .euiSideNavItem--trunk .euiSideNavItem--hasChildItems:after {
bottom:100%;
}*/

.euiSideNavItem--branch > .euiSideNavItemButton {
padding-left: 10px;
}

0 comments on commit b12419d

Please sign in to comment.