mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-27 00:36:52 -06:00
24399daefe
server has multiple databases. Fixes #6817 2) Use a hand pointer instead of an arrow. Fixes #6820
126 lines
3.1 KiB
SCSS
126 lines
3.1 KiB
SCSS
.file-tree {
|
|
font-family: $font-family-primary !important;
|
|
font-size: $tree-font-size !important;
|
|
background-color: $color-bg !important;
|
|
display: inline-block;
|
|
color: $tree-text-fg !important;
|
|
&, & * {
|
|
box-sizing: border-box;
|
|
}
|
|
width: 100%;
|
|
}
|
|
|
|
.file-tree > {
|
|
div {
|
|
position: absolute !important;
|
|
height: 100% !important;
|
|
top: 0px !important;
|
|
}
|
|
}
|
|
|
|
.file-entry
|
|
{
|
|
color: $tree-text-fg !important;
|
|
span.file-name {
|
|
color: $tree-text-fg !important;
|
|
white-space: nowrap;
|
|
}
|
|
&:hover, &.pseudo-active {
|
|
background-color: $tree-bg-hover !important;
|
|
}
|
|
}
|
|
|
|
.file-entry
|
|
{
|
|
font: inherit;
|
|
text-align: left;
|
|
display: flex;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
padding: 2px 0;
|
|
padding-left: 2px;
|
|
cursor: pointer !important;
|
|
&:hover, &.pseudo-active {
|
|
background-color: $tree-bg-hover !important;
|
|
}
|
|
&.active, &.prompt {
|
|
background-color: $tree-bg-selected !important;
|
|
border-color: $color-primary-light;
|
|
border-right: $active-border !important;
|
|
}
|
|
i {
|
|
display: inline-block;
|
|
font: normal normal normal 18px/1 "default-icons";
|
|
font-size: 18px;
|
|
text-align: center;
|
|
height: 21px !important;
|
|
width: 20px;
|
|
&:before {
|
|
height: inherit;
|
|
width: inherit;
|
|
display: inline-block;
|
|
}
|
|
&.directory-toggle {
|
|
&:before {
|
|
background-position: 6px center !important;
|
|
font-family: $font-family-icon;
|
|
content: "\f054" !important;
|
|
border-style: none;
|
|
margin-left: 5px;
|
|
font-weight: 900;
|
|
right: 15px;
|
|
top: 3px;
|
|
font-size: 0.6rem;
|
|
line-height: 2;
|
|
}
|
|
&.open:before {
|
|
background-position: -14px center !important;
|
|
font-family: $font-family-icon;
|
|
content: "\f078" !important;
|
|
border-style: none;
|
|
margin-left: 5px;
|
|
font-weight: 900;
|
|
transform: none !important;
|
|
}
|
|
&.loading:before {
|
|
background-position: 6px center !important;
|
|
font-weight: 900;
|
|
font-size: 0.6rem;
|
|
line-height: 2;
|
|
content: '' !important;
|
|
font-family: $font-family-icon;
|
|
margin-left: 5px;
|
|
border-style: none;
|
|
background: $loader-icon-small 0 0 no-repeat;
|
|
}
|
|
}
|
|
}
|
|
span.file-label {
|
|
display: flex;
|
|
align-items: center;
|
|
padding:0 2px 0 2px;
|
|
border:1px solid transparent;
|
|
height:auto;
|
|
white-space:normal;
|
|
cursor:pointer !important;
|
|
margin-right:24px;
|
|
margin-left: 2px;
|
|
}
|
|
&.prompt.new .file-label, &.file .file-label {
|
|
margin-left: 18px;
|
|
}
|
|
span.file-name {
|
|
font: inherit;
|
|
flex-grow: 1;
|
|
user-select: none;
|
|
cursor: default;
|
|
color: #c1c1c1;
|
|
margin-left: 3px;
|
|
cursor: pointer !important;
|
|
}
|
|
}
|
|
|
|
.children-count {
|
|
margin-left: 3px;
|
|
}
|