pgadmin4/web/pgadmin/dashboard/static/css/dashboard.css
Ashesh Vashi 5799ac14ba Improvement in the look and feel of the whole application
Changed the SCSS/CSS for the below third party libraries to adopt the
new look 'n' feel:
- wcDocker
- Alertify dialogs, and notifications
- AciTree
- Bootstrap Navbar
- Bootstrap Tabs
- Bootstrap Drop-Down menu
- Backgrid
- Select2

Adopated the new the look 'n' feel for the dialogs, wizard, properties,
tab panels, tabs, fieldset, subnode control, spinner control, HTML
table, and other form controls.

- Font is changed to Roboto
- Using SCSS variables to define the look 'n' feel
- Designer background images for the Login, and Forget password pages in
  'web' mode
- Improved the look 'n' feel for the key selection in the preferences
  dialog
- Table classes consistency changes across the application
- File Open and Save dialog list view changes

Author(s): Aditya Toshniwal & Khushboo Vashi
2018-12-21 17:14:55 +05:30

111 lines
2.2 KiB
CSS

.dashboard-link {
text-align: center;
}
.dashboard-link a {
cursor: pointer;
}
.dashboard-tab-container {
padding: 0px;
}
.dashboard-tab {
border: 0px;
border-radius: 4px 4px 0px 0px;
margin-right: 1px;
font-size: 13px;
line-height: 25px;
margin-top: 5px;
}
.dashboard-tab.active {
margin-top: 0px;
line-height: 30px;
}
.dashboard-tab-btn-group button {
padding: 5px;
}
.dashboard-tab-btn-group > button {
margin: 2px 3px 2px 0px;
min-width: 40px;
}
.dashboard-tab-btn-group > button:first-child {
margin-left: 3px;
}
.dashboard-tab-btn-group > button:last-child {
margin-right: 3px;
}
.graph-container {
margin-top: 10px;
height: 150px;
}
.icon-postgres:before {
height: 43px;
margin-top: 13px;
display: block;
}
/* CSS to make subnode control look preety in backgrid - START */
.dashboard-tab-container .subnode-dialog .form-control {
font-size: inherit;
}
#server_activity .CodeMirror,
#database_activity .CodeMirror,
#server_activity .CodeMirror-scroll,
#database_activity .CodeMirror-scroll {
height: auto;
max-height:100px;
}
.dashboard-tab-container .sub-node-form > ul.tab-content {
padding-left: 0px;
left: 0px;
}
.dashboard-tab-container .sub-node-form > ul.pg-el-sm-12,
.dashboard-tab-container .sub-node-form > ul.pg-el-md-12,
.dashboard-tab-container .sub-node-form > ul.pg-el-lg-12,
.dashboard-tab-container .sub-node-form > ul.pg-el-xs-12 {
padding: 0px;
}
.dashboard-tab-container .subnode-dialog .control-label {
font-weight: inherit;
}
.dashboard-tab-container .backgrid.presentation td.editable:not(.edit-cell) {
padding-right: 25px
}
.dashboard-tab-container .subnode-dialog .pgadmin-control-group {
padding: 5px;
}
.dashboard-container .delete-cell .fa-times-circle:before {
font-size: 14px;
}
.dashboard-tab-container .pg-el-container[el=sm] .pg-el-sm-12 {
margin-bottom: 0%;
}
.dashboard-hidden {
display: none;
}
div#dashboard-activity div.tab-content > div.tab-pane table.backgrid.table-bordered {
border: none;
}
div#dashboard-activity div.tab-content > div.tab-pane table.backgrid.table-bordered tr > td:first-child {
border-left: none !important;
}