pgadmin4/web/pgadmin/static/scss/_webcabin.pgadmin.scss

368 lines
6.5 KiB
SCSS
Raw Normal View History

.wcDocker {
background-color: $color-bg;
}
.wcModalBlocker {
background-color: $color-bg;
}
.wcPanelBackground {
background-color: $color-bg;
}
.wcPanelBackground .wcCenter {
background-color: $color-bg;
}
.wcFrameFlasher {
background-color: $color-bg;
}
.wcFrameShadower {
background-color: $color-bg;
}
.wcFrameTitleBar {
height: $title-height;
background-color: $header-bg;
border-bottom: $panel-border;
}
.wcFrameButton {
Fixed following: - Base font size changed from 0.815rem to 0.875rem, for navbar from 0.875rem to 0.925rem. - Dialog sizes made consistent throughout the application. Now there are 3 size options for width and height each - sm, md, lg. Combination of any of these to be used hereafter - Alignment fix for controls of Node properties dialogs which includes showing text and label in one line without dialog size change, checkbox alignment, switch control alignment at places and other minor improvements in other dialogs - Error message design change in dialogs validation - SQL Editor data grid editor popup design changes which were missed - Design change for dashboard server activity grid - Login page language dropdown color fix - Properties accordion collapse design fix - Help, Info icon fixed across all dialogs which were not working if clicked exactly on the text - Added missing icon with buttons at few places - Shadow behind the dialogs is increased to make it look clearly separated and depth. - Control Alignment fix in maintenance dialog - Min height of alertify dialogs set for better UX - File dialog design fix when no files found - Grant wizard fixes - Scroll bar visibility on first page, use full space for SQL generated on the last page - Browser toolbar buttons changed to sync with SQL editor toolbar buttons - Rounded corners for docker floating dialog (no properties) - Renaming file in file dialog should show original file name - SQL data grid text edit popup buttons behaviour was swapped. This is fixed. - Import/Export dialog changes as per new design.
2019-01-02 03:35:15 -06:00
width: 24px;
height: 22px;
display: flex;
border-radius: $btn-border-radius;
margin: auto;
& .pg-font-icon {
line-height: unset;
}
}
.wcFrameButton:hover, .wcFrameButtonHover, .wcFrameButton:focus {
background-color: $btn-frame-close-bg;
}
.wcFrameButton.disabled {
pointer-events: none;
opacity: $btn-disabled-opacity;
}
.wcFrameButton .fa {
2019-01-07 04:33:54 -06:00
align-self: center;
}
.wcFrameButtonBar {
height: $title-height;
background-color: inherit;
border-bottom: $panel-border;
padding: 0rem 0.25rem;
display: -webkit-flex; /* Safari */
display: flex;
flex-direction: row-reverse;
}
.wcLayout {
display: block;
}
.wcLayoutGrid, .wcLayoutGrid tr, .wcLayoutGrid td {
border: 1px solid $panel-border-color;
}
.wcFrameCenter {
top: $title-height;
}
.wcPanelTab, .wcFrameTitle{
color: $panel-color-fg;
padding: $tabs-padding;
margin: 0px;
}
.wcFloating {
box-shadow: $dialog-box-shadow;
z-index: 1050 !important;
Fixed following: - Base font size changed from 0.815rem to 0.875rem, for navbar from 0.875rem to 0.925rem. - Dialog sizes made consistent throughout the application. Now there are 3 size options for width and height each - sm, md, lg. Combination of any of these to be used hereafter - Alignment fix for controls of Node properties dialogs which includes showing text and label in one line without dialog size change, checkbox alignment, switch control alignment at places and other minor improvements in other dialogs - Error message design change in dialogs validation - SQL Editor data grid editor popup design changes which were missed - Design change for dashboard server activity grid - Login page language dropdown color fix - Properties accordion collapse design fix - Help, Info icon fixed across all dialogs which were not working if clicked exactly on the text - Added missing icon with buttons at few places - Shadow behind the dialogs is increased to make it look clearly separated and depth. - Control Alignment fix in maintenance dialog - Min height of alertify dialogs set for better UX - File dialog design fix when no files found - Grant wizard fixes - Scroll bar visibility on first page, use full space for SQL generated on the last page - Browser toolbar buttons changed to sync with SQL editor toolbar buttons - Rounded corners for docker floating dialog (no properties) - Renaming file in file dialog should show original file name - SQL data grid text edit popup buttons behaviour was swapped. This is fixed. - Import/Export dialog changes as per new design.
2019-01-02 03:35:15 -06:00
&.wcFrame, & .wcPanelBackground {
max-width: 100%;
max-height: 100%;
Fixed following: - Base font size changed from 0.815rem to 0.875rem, for navbar from 0.875rem to 0.925rem. - Dialog sizes made consistent throughout the application. Now there are 3 size options for width and height each - sm, md, lg. Combination of any of these to be used hereafter - Alignment fix for controls of Node properties dialogs which includes showing text and label in one line without dialog size change, checkbox alignment, switch control alignment at places and other minor improvements in other dialogs - Error message design change in dialogs validation - SQL Editor data grid editor popup design changes which were missed - Design change for dashboard server activity grid - Login page language dropdown color fix - Properties accordion collapse design fix - Help, Info icon fixed across all dialogs which were not working if clicked exactly on the text - Added missing icon with buttons at few places - Shadow behind the dialogs is increased to make it look clearly separated and depth. - Control Alignment fix in maintenance dialog - Min height of alertify dialogs set for better UX - File dialog design fix when no files found - Grant wizard fixes - Scroll bar visibility on first page, use full space for SQL generated on the last page - Browser toolbar buttons changed to sync with SQL editor toolbar buttons - Rounded corners for docker floating dialog (no properties) - Renaming file in file dialog should show original file name - SQL data grid text edit popup buttons behaviour was swapped. This is fixed. - Import/Export dialog changes as per new design.
2019-01-02 03:35:15 -06:00
}
& .pg-panel-content {
border-bottom: $card-border-radius;
}
& .wcFrameCornerNE,
& .wcFrameCornerNW,
& .wcFrameCornerSE,
& .wcFrameCornerSW {
height: $splitter-hover-width;
width: $splitter-hover-width;
Fixed following: - Base font size changed from 0.815rem to 0.875rem, for navbar from 0.875rem to 0.925rem. - Dialog sizes made consistent throughout the application. Now there are 3 size options for width and height each - sm, md, lg. Combination of any of these to be used hereafter - Alignment fix for controls of Node properties dialogs which includes showing text and label in one line without dialog size change, checkbox alignment, switch control alignment at places and other minor improvements in other dialogs - Error message design change in dialogs validation - SQL Editor data grid editor popup design changes which were missed - Design change for dashboard server activity grid - Login page language dropdown color fix - Properties accordion collapse design fix - Help, Info icon fixed across all dialogs which were not working if clicked exactly on the text - Added missing icon with buttons at few places - Shadow behind the dialogs is increased to make it look clearly separated and depth. - Control Alignment fix in maintenance dialog - Min height of alertify dialogs set for better UX - File dialog design fix when no files found - Grant wizard fixes - Scroll bar visibility on first page, use full space for SQL generated on the last page - Browser toolbar buttons changed to sync with SQL editor toolbar buttons - Rounded corners for docker floating dialog (no properties) - Renaming file in file dialog should show original file name - SQL data grid text edit popup buttons behaviour was swapped. This is fixed. - Import/Export dialog changes as per new design.
2019-01-02 03:35:15 -06:00
background: transparent;
}
& .wcFrameCornerNE {
border: $panel-border;
border-left: none !important;
border-bottom: none !important;
border-radius: none;
border-top-right-radius: $card-border-radius;
}
& .wcFrameCornerNW {
border: $panel-border;
border-right: none !important;
border-bottom: none !important;
border-radius: none;
border-top-left-radius: $card-border-radius;
}
& .wcFrameCornerSE {
border: $panel-border;
border-top: none !important;
border-left: none !important;
border-radius: none;
border-bottom-right-radius: $card-border-radius;
}
& .wcFrameCornerSW {
border: $panel-border;
border-right: none !important;
border-top: none !important;
border-radius: none;
border-bottom-left-radius: $card-border-radius;
}
.wcFrameEdgeN, .wcFrameEdgeS {
Fixed following: - Base font size changed from 0.815rem to 0.875rem, for navbar from 0.875rem to 0.925rem. - Dialog sizes made consistent throughout the application. Now there are 3 size options for width and height each - sm, md, lg. Combination of any of these to be used hereafter - Alignment fix for controls of Node properties dialogs which includes showing text and label in one line without dialog size change, checkbox alignment, switch control alignment at places and other minor improvements in other dialogs - Error message design change in dialogs validation - SQL Editor data grid editor popup design changes which were missed - Design change for dashboard server activity grid - Login page language dropdown color fix - Properties accordion collapse design fix - Help, Info icon fixed across all dialogs which were not working if clicked exactly on the text - Added missing icon with buttons at few places - Shadow behind the dialogs is increased to make it look clearly separated and depth. - Control Alignment fix in maintenance dialog - Min height of alertify dialogs set for better UX - File dialog design fix when no files found - Grant wizard fixes - Scroll bar visibility on first page, use full space for SQL generated on the last page - Browser toolbar buttons changed to sync with SQL editor toolbar buttons - Rounded corners for docker floating dialog (no properties) - Renaming file in file dialog should show original file name - SQL data grid text edit popup buttons behaviour was swapped. This is fixed. - Import/Export dialog changes as per new design.
2019-01-02 03:35:15 -06:00
left: $card-border-radius !important;
right: $card-border-radius !important;
}
.wcFrameEdgeW, .wcFrameEdgeE {
Fixed following: - Base font size changed from 0.815rem to 0.875rem, for navbar from 0.875rem to 0.925rem. - Dialog sizes made consistent throughout the application. Now there are 3 size options for width and height each - sm, md, lg. Combination of any of these to be used hereafter - Alignment fix for controls of Node properties dialogs which includes showing text and label in one line without dialog size change, checkbox alignment, switch control alignment at places and other minor improvements in other dialogs - Error message design change in dialogs validation - SQL Editor data grid editor popup design changes which were missed - Design change for dashboard server activity grid - Login page language dropdown color fix - Properties accordion collapse design fix - Help, Info icon fixed across all dialogs which were not working if clicked exactly on the text - Added missing icon with buttons at few places - Shadow behind the dialogs is increased to make it look clearly separated and depth. - Control Alignment fix in maintenance dialog - Min height of alertify dialogs set for better UX - File dialog design fix when no files found - Grant wizard fixes - Scroll bar visibility on first page, use full space for SQL generated on the last page - Browser toolbar buttons changed to sync with SQL editor toolbar buttons - Rounded corners for docker floating dialog (no properties) - Renaming file in file dialog should show original file name - SQL data grid text edit popup buttons behaviour was swapped. This is fixed. - Import/Export dialog changes as per new design.
2019-01-02 03:35:15 -06:00
top: $card-border-radius !important;
bottom: $card-border-radius !important;
}
}
.wcFloating .wcPanelTabActive {
border-bottom: none;
color: $color-fg;
font-weight: bold;
}
.wcFloating .wcPanelTabActive:hover {
background-color: $color-primary-light;
}
.wcFloating .wcFrameTitleBar {
height: $title-height;
background-color: $header-bg;
border-bottom: $panel-border;
}
.wcFloating .wcFrameTitleBar.wcNotMoveable {
cursor: move; //overriding the existing cursor behavior for not moveable panels
}
.wcTabIcon {
background-position: center;
padding: 0rem 0.75rem;
&.fa, &.pg-font-icon{
padding: 0rem 0.25rem 0rem 0rem;
}
}
.wcFloating .wcPanelTab .wcTabIcon {
color: $color-primary;
padding: 0px 10px;
}
.wcPanelTabActive {
border-bottom: $active-border;
color: $active-color;
}
.wcFrameEdge {
background-color: transparent;
border: none;
z-index: 5000;
}
.wcFrameEdgeN, .wcFrameEdgeS {
height: math.div($splitter-hover-width, 2) + 1;
}
.wcFrameEdgeN {
border-top: $panel-border;
}
.wcFrameEdgeS {
border-bottom: $panel-border;
}
.wcFrameEdgeW, .wcFrameEdgeE {
width: math.div($splitter-hover-width, 2) + 1;
}
.wcFrameEdgeW {
border-left: $panel-border;
}
.wcFrameEdgeE {
border-right: $panel-border;
}
.wcFrameCornerNW,
.wcFrameCornerNE,
.wcFrameCornerSW,
.wcFrameCornerSE {
height: $splitter-hover-width;
width: $splitter-hover-width;
}
.wcSplitterBarLine {
background-color: $panel-border-color;
border: none;
}
.wcSplitterBarV {
width: $splitter-hover-width;
& .wcSplitterBarLine {
width: $panel-border-width;
}
}
.wcSplitterBarH {
height: $splitter-hover-width;
& .wcSplitterBarLine {
height: $panel-border-width;
}
}
.wcSplitterBarV.wcSplitterBarStatic {
width: 0px;
}
.wcSplitterBarH.wcSplitterBarStatic {
height: 0px;
}
.wcGhost {
background-color: $color-primary-light;
border-radius: 6px;
}
.wcMenuList, .context-menu-list {
border: 1px solid $dropdown-border-color;
z-index: 1999 !important;
background-color: $dropdown-bg;
box-shadow: $dropdown-box-shadow;
border-radius: $dropdown-border-radius;
}
.wcMenuItem, .context-menu-item {
color: $dropdown-link-color;
background-color: $dropdown-bg;
}
.wcMenuItemHover, .wcMenuItem:hover, .context-menu-item:not(.context-menu-not-selectable).hover, .context-menu-item:not(.context-menu-not-selectable):hover, .context-menu-hover {
color: $dropdown-link-hover-color;
background-color: $dropdown-link-hover-bg !important;
}
.wcMenuItem.disabled, .context-menu-item.disabled {
color: $text-muted;
background-color: $dropdown-bg;
}
.wcMenuSeparator, .context-menu-separator {
border: 1px solid $dropdown-border-color;
transform: scaleY(0.5);
}
.wcLoadingBackground {
background: $loading-bg;
}
.wcLoadingLabel {
top: 50%;
left: 0;
color: $loading-fg;
width: 100%;
font-size: 20px;
position: absolute;
text-align: center;
}
.wcLoadingIcon.pg-sp-icon {
left: 0;
top: calc(50% - 75px);
}
.wcPanelTab > div {
// display: inline-block;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
max-width: 125px;
}
.wcPanelTab-dynamic {
max-width: 100% !important;
}
.wcPanelTabActive > div {
width: auto !important;
max-width: 100%;
}
.context-menu-item.context-menu-disabled {
color: $text-muted;
background-color: $dropdown-bg;
}
.context-menu-submenu::after {
font-family: $font-family-icon;
content: "\f054" !important;
font-weight: 900;
right: 15px;
top: 3px;
font-size: 0.6rem;
line-height: 2;
border-style: none;
}
.wcMenuSubMenu::before{
content: none;
}
.tooltip {
font-size: 0.7rem;
line-height: 1.4em;
}
.tooltip.show {
opacity: 1;
}
.wcTooltip-shortcut {
justify-content: center;
margin-top: 0.125rem;
display: flex
}
.wcTooltip-shortcut-key{
padding: 0 0.25rem;
border: 1px solid $border-color;
margin-right: 0.125rem;
border-radius: $border-radius
}