Allow connections to be coloured in the treeview and query tool. Fixes #1383. Fixes #2802

This commit is contained in:
Murtuza Zabuawala
2017-11-21 16:28:01 +00:00
committed by Dave Page
parent 9212699936
commit b284572afe
19 changed files with 365 additions and 30 deletions

View File

@@ -61,11 +61,6 @@ iframe {
padding-left: 0;
}
/* Prevent tree items wrapping */
.aciTree .aciTreeItem {
white-space: nowrap !important;
}
/* Disabled menu items */
.mnu-disabled {
color: #999999 !important;
@@ -1346,3 +1341,61 @@ body {
.alert-dismissable, .alert-dismissible {
padding-right: 35px !important;
}
/* Override CSS for Colour Picker to match it with pgAdmin4 style */
.sp-replacer {
background: #fff;
border: solid 1px #ccc;
border-radius: 3px;
}
.sp-replacer:hover {
border-color: #ccc;
}
.sp-replacer.sp-active {
border-color: #66afe9;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.sp-replacer.sp-disabled {
background-color: #eee;
}
.sp-container {
background-color: #fff;
border: solid 1px #ccc;
border-radius: 3px !important;
}
.sp-palette-button-container button,
.sp-palette-button-container button:hover {
padding: 5px;
background-color: #2c76b4;
background-image: none;
font-family: 'Open Sans';
font-size: 12px;
color: #fff;
text-shadow: none;
-webkit-font-smoothing: auto;
}
.sp-container button:active {
border: 1px solid #84acdd;
border-bottom: none;
-webkit-box-shadow: inset 0 0 5px 2px #84acdd, 0 1px 0 0 #84acdd;
-moz-box-shadow: inset 0 0 5px 2px #84acdd, 0 1px 0 0 #84acdd;
-ms-box-shadow: inset 0 0 5px 2px #84acdd, 0 1px 0 0 #84acdd;
-o-box-shadow: inset 0 0 5px 2px #84acdd, 0 1px 0 0 #84acdd;
box-shadow: inset 0 0 5px 2px #84acdd, 0 1px 0 0 #84acdd;
}
.sp-dd {
font-size: 8px;
color: #888888;
}