mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Cleanup styling of wcDocker tab control buttons.
This commit is contained in:
parent
ca277bc8b6
commit
22841f8664
@ -302,12 +302,9 @@ iframe {
|
||||
.obj_properties fieldset > .fieldset-content {
|
||||
border-radius:5px;
|
||||
padding: 5px 10px;
|
||||
width: 99.8%;
|
||||
margin: 0 0.1%;
|
||||
border-color: #92AFC8;
|
||||
border-width: 2px;
|
||||
border-style: ridge;
|
||||
background-color: ##D7D8DD;
|
||||
}
|
||||
|
||||
.obj_properties .badge {
|
||||
@ -344,8 +341,6 @@ iframe {
|
||||
|
||||
.obj_properties table {
|
||||
display: table !important;
|
||||
width: 98%;
|
||||
margin: 0.8%;
|
||||
}
|
||||
|
||||
.obj_properties table tr {
|
||||
@ -395,8 +390,6 @@ iframe {
|
||||
.pg-prop-content {
|
||||
position: absolute;
|
||||
overflow: auto;
|
||||
top: 3px;
|
||||
bottom: 0;
|
||||
padding-bottom: 7px;
|
||||
padding-top: 0;
|
||||
padding-right: 0;
|
||||
@ -408,7 +401,7 @@ iframe {
|
||||
}
|
||||
|
||||
.has-pg-prop-btn-group {
|
||||
top: 43px;
|
||||
top: 48px;
|
||||
}
|
||||
|
||||
.pg-prop-content > div {
|
||||
@ -758,12 +751,12 @@ div.inline-tab-panel > ul.tab-content > div.tab-pane > *:first-child {
|
||||
div.inline-tab-panel > ul.tab-content > div.tab-pane > *:last-child {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.pgadmin-control-error-message
|
||||
{
|
||||
|
||||
.pgadmin-control-error-message{
|
||||
padding-left: 4px;
|
||||
}
|
||||
.btn-group-sm>.btn, .btn-sm
|
||||
{
|
||||
|
||||
.btn-group-sm>.btn, .btn-sm{
|
||||
font-size: 11px;
|
||||
padding: 3px 3px;
|
||||
}
|
||||
@ -772,29 +765,24 @@ td.edit-cell.editable.sortable.renderable.editor {
|
||||
outline: 0px;
|
||||
}
|
||||
|
||||
.privilege_label
|
||||
{
|
||||
.privilege_label{
|
||||
font-size: 10px!important;
|
||||
}
|
||||
.backgrid th, .backgrid td
|
||||
{
|
||||
|
||||
.backgrid th, .backgrid td{
|
||||
padding: 2px;
|
||||
font-weight: normal!important;
|
||||
}
|
||||
.pg-panel-depends-container > table > thead > tr > th {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.backgrid th:first-child , .backgrid th:last-child{
|
||||
.subnode > table.backgrid > thead > tr > th:first-child{
|
||||
border-left-color: #2C76B4;
|
||||
}
|
||||
|
||||
.backgrid th:last-child{
|
||||
.subnode > table.backgrid > thead > tr > th:last-child{
|
||||
border-right-color: #2C76B4;
|
||||
}
|
||||
.select2-container .select2-selection--single .select2-selection__rendered
|
||||
{
|
||||
padding-left: 3px;
|
||||
.select2-container .select2-selection--single .select2-selection__rendered{
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
/* Message panel shown on browser tabs */
|
||||
@ -908,6 +896,23 @@ ul.nav.nav-tabs {
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
.pg-panel-depends-container >table.backgrid.table-bordered {
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
.pg-panel-depends-container > table > thead > tr > th {
|
||||
padding: 2px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.pg-panel-depends-container > table > thead > tr > th:first-child {
|
||||
border-left: 0px;
|
||||
}
|
||||
|
||||
.pg-panel-depends-container > table > thead > tr > th:last-child {
|
||||
border-right: 0px;
|
||||
}
|
||||
|
||||
.btn-primary{
|
||||
margin: 2px 13px !important;
|
||||
}
|
@ -37,15 +37,24 @@
|
||||
.wcFrameButton {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 2px solid #8A0D0D;
|
||||
background-color: #A56D6D;
|
||||
border: 2px solid #9E9E9E;
|
||||
background-color: #ddd;
|
||||
font-size: 12px;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.wcFrameMiniButton {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
.wcFrameButton.wcFrameButtonLeft {
|
||||
right: 10px;
|
||||
}
|
||||
.wcFrameButton.wcFrameButtonRight {
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
.wcFrameButton:hover {
|
||||
border: 2px solid #CCCCCC;
|
||||
}
|
||||
@ -263,11 +272,9 @@
|
||||
}
|
||||
|
||||
.wcFrameButtonBar {
|
||||
top: 7px;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.context-menu-list {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 13px;
|
||||
@ -313,3 +320,12 @@ font-size: 13px;
|
||||
ul.dropdown-menu > li.menu-item > a > i.wcTabIcon {
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
.wcFrameButton .fa.fa-close {
|
||||
margin-top: 3.5px;
|
||||
padding-left: 1px;
|
||||
}
|
||||
|
||||
span.fa.fa-arrow-left, .fa-arrow-right {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
@ -1,3 +1,4 @@
|
||||
16/03/2016
|
||||
The wcDocker theme frame width has been changed from 6px to 4px. This change has
|
||||
been brought about to keep the width of the frame consistent with the width of
|
||||
the window divider.
|
||||
@ -35,3 +36,32 @@ index 954d73e..bc64b3b 100755
|
||||
The same changes have been made to wcDocker-min.js and is not included as the
|
||||
file is tidy formatted.
|
||||
|
||||
06/04/2016
|
||||
The wcDocker is updated to remove the extra left and the right arrows ( signs ) which are not required for tab navigation. New rules has been added to set the position for each specific navigational buttons ; left & right
|
||||
|
||||
diff --git a/web/pgadmin/static/js/wcDocker/wcDocker.js b/web/pgadmin/static/js/wcDocker/wcDocker.js
|
||||
index bc64b3b..b4a5193 100755
|
||||
--- a/web/pgadmin/static/js/wcDocker/wcDocker.js
|
||||
+++ b/web/pgadmin/static/js/wcDocker/wcDocker.js
|
||||
@@ -3392,8 +3392,8 @@ define('wcDocker/frame',[
|
||||
this.$tabBar = $('<div class="wcFrameTitleBar">');
|
||||
this.$tabScroll = $('<div class="wcTabScroller">');
|
||||
this.$center = $('<div class="wcFrameCenter wcPanelBackground">');
|
||||
- this.$tabLeft = $('<div class="wcFrameButton" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span><</div>');
|
||||
- this.$tabRight = $('<div class="wcFrameButton" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span>></div>');
|
||||
+ this.$tabLeft = $('<div class="wcFrameButton wcFrameButtonLeft" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span></div>');
|
||||
+ this.$tabRight = $('<div class="wcFrameButton wcFrameButtonRight" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span></div>');
|
||||
this.$close = $('<div class="wcFrameButton" title="Close the currently active panel tab"><div class="fa fa-close"></div>X</div>');
|
||||
|
||||
this.$collapse = $('<div class="wcFrameButton" title="Collapse the active panel"><div class="fa fa-download"></div>C</div>');
|
||||
@@ -5985,8 +5985,8 @@ define('wcDocker/tabframe',[
|
||||
this.$tabBar = $('<div class="wcFrameTitleBar wcCustomTabTitle wcWide">');
|
||||
this.$tabScroll = $('<div class="wcTabScroller">');
|
||||
this.$center = $('<div class="wcFrameCenter wcPanelBackground">');
|
||||
- this.$tabLeft = $('<div class="wcFrameButton" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span><</div>');
|
||||
- this.$tabRight = $('<div class="wcFrameButton" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span>></div>');
|
||||
+ this.$tabLeft = $('<div class="wcFrameButton wcFrameButtonLeft" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span></div>');
|
||||
+ this.$tabRight = $('<div class="wcFrameButton wcFrameButtonRight" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span></div>');
|
||||
this.$close = $('<div class="wcFrameButton" title="Close the currently active panel tab"><span class="fa fa-close"></span>X</div>');
|
||||
|
||||
//this.$maximize = $('<div class="wcFrameButton" title="Close the currently active panel tab"><span class="fa fa-expand"></span>X</div>');
|
@ -3392,8 +3392,8 @@ define('wcDocker/frame',[
|
||||
this.$tabBar = $('<div class="wcFrameTitleBar">');
|
||||
this.$tabScroll = $('<div class="wcTabScroller">');
|
||||
this.$center = $('<div class="wcFrameCenter wcPanelBackground">');
|
||||
this.$tabLeft = $('<div class="wcFrameButton" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span><</div>');
|
||||
this.$tabRight = $('<div class="wcFrameButton" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span>></div>');
|
||||
this.$tabLeft = $('<div class="wcFrameButton wcFrameButtonLeft" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span></div>');
|
||||
this.$tabRight = $('<div class="wcFrameButton wcFrameButtonRight" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span></div>');
|
||||
this.$close = $('<div class="wcFrameButton" title="Close the currently active panel tab"><div class="fa fa-close"></div>X</div>');
|
||||
|
||||
this.$collapse = $('<div class="wcFrameButton" title="Collapse the active panel"><div class="fa fa-download"></div>C</div>');
|
||||
@ -5985,8 +5985,8 @@ define('wcDocker/tabframe',[
|
||||
this.$tabBar = $('<div class="wcFrameTitleBar wcCustomTabTitle wcWide">');
|
||||
this.$tabScroll = $('<div class="wcTabScroller">');
|
||||
this.$center = $('<div class="wcFrameCenter wcPanelBackground">');
|
||||
this.$tabLeft = $('<div class="wcFrameButton" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span><</div>');
|
||||
this.$tabRight = $('<div class="wcFrameButton" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span>></div>');
|
||||
this.$tabLeft = $('<div class="wcFrameButton wcFrameButtonLeft" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span></div>');
|
||||
this.$tabRight = $('<div class="wcFrameButton wcFrameButtonRight" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span></div>');
|
||||
this.$close = $('<div class="wcFrameButton" title="Close the currently active panel tab"><span class="fa fa-close"></span>X</div>');
|
||||
|
||||
//this.$maximize = $('<div class="wcFrameButton" title="Close the currently active panel tab"><span class="fa fa-expand"></span>X</div>');
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user