Bug 718259 - Remove the resizer button in the Inspector Toolbar; r=rcampbell,dao; ui-r=shorlander

This commit is contained in:
Paul Rouget 2012-01-15 07:25:45 +01:00
parent 65af38352c
commit 602babcebd
5 changed files with 26 additions and 69 deletions

View File

@ -993,7 +993,6 @@
hidden="true"> hidden="true">
<vbox flex="1"> <vbox flex="1">
<resizer id="inspector-top-resizer" flex="1" <resizer id="inspector-top-resizer" flex="1"
class="inspector-resizer"
dir="top" disabled="true" dir="top" disabled="true"
element="inspector-tree-box"/> element="inspector-tree-box"/>
<hbox> <hbox>
@ -1029,10 +1028,6 @@
oncommand="InspectorUI.closeInspectorUI(false);" oncommand="InspectorUI.closeInspectorUI(false);"
tooltiptext="&inspectCloseButton.tooltiptext;"/> tooltiptext="&inspectCloseButton.tooltiptext;"/>
#endif #endif
<resizer id="inspector-end-resizer"
class="inspector-resizer"
dir="top" disabled="true"
element="inspector-tree-box"/>
</hbox> </hbox>
</vbox> </vbox>
</toolbar> </toolbar>

View File

@ -34,12 +34,11 @@
direction: ltr; direction: ltr;
} }
.inspector-resizer { #inspector-top-resizer {
display: none; display: none;
} }
#inspector-toolbar[treepanel-open] > vbox > #inspector-top-resizer, #inspector-toolbar[treepanel-open] > vbox > #inspector-top-resizer {
#inspector-toolbar[treepanel-open] > vbox > hbox > #inspector-end-resizer {
display: -moz-box; display: -moz-box;
} }

View File

@ -1989,7 +1989,6 @@ panel[dimmed="true"] {
#inspector-toolbar[treepanel-open] { #inspector-toolbar[treepanel-open] {
padding-top: 0; padding-top: 0;
-moz-padding-end: 0;
} }
#devtools-side-splitter { #devtools-side-splitter {
@ -2007,31 +2006,15 @@ panel[dimmed="true"] {
background-color: -moz-Field; background-color: -moz-Field;
} }
/* Highlighter - toolbar resizers */ /* Highlighter - toolbar resizer */
.inspector-resizer {
-moz-appearance: none;
cursor: n-resize;
}
#inspector-top-resizer { #inspector-top-resizer {
-moz-appearance: none;
cursor: n-resize;
background: none; background: none;
height: 4px; height: 4px;
} }
#inspector-end-resizer {
width: 12px;
height: 8px;
background-image: -moz-linear-gradient(top, black 1px, rgba(255,255,255,0.2) 1px);
background-size: 10px 2px;
background-clip: padding-box;
background-repeat: repeat-y;
border-width: 1px 1px 0;
border-style: solid;
border-color: rgba(255, 255, 255, 0.05);
margin: 7px 7px 8px;
}
/* Highlighter - Node Infobar */ /* Highlighter - Node Infobar */
/* Highlighter - Node Infobar - text */ /* Highlighter - Node Infobar - text */

View File

@ -2720,11 +2720,24 @@ panel[dimmed="true"] {
#inspector-toolbar { #inspector-toolbar {
border-top: 1px solid hsla(210, 8%, 5%, .65); border-top: 1px solid hsla(210, 8%, 5%, .65);
padding: 4px 16px 4px 0; /* use -moz-padding-end: 16px when/if bug 631729 gets fixed */ padding-top: 4px;
padding-bottom: 4px;
}
#inspector-toolbar:-moz-locale-dir(ltr) {
padding-left: 2px;
padding-right: 16px; /* use -moz-padding-end when/if bug 631729 gets fixed */
}
#inspector-toolbar:-moz-locale-dir(rtl) {
padding-left: 4px;
padding-right: 18px; /* use -moz-padding-end when/if bug 631729 gets fixed */
} }
#inspector-toolbar[treepanel-open] { #inspector-toolbar[treepanel-open] {
padding: 0 0 4px; padding-top: 0;
padding-right: 0;
-moz-padding-end: 4px;
} }
#devtools-side-splitter { #devtools-side-splitter {
@ -2742,31 +2755,15 @@ panel[dimmed="true"] {
background-color: -moz-Field; background-color: -moz-Field;
} }
/* Highlighter - toolbar resizers */ /* Highlighter - toolbar resizer */
.inspector-resizer {
-moz-appearance: none;
cursor: n-resize;
}
#inspector-top-resizer { #inspector-top-resizer {
-moz-appearance: none;
cursor: n-resize;
background: none; background: none;
height: 4px; height: 4px;
} }
#inspector-end-resizer {
width: 12px;
height: 8px;
background-image: -moz-linear-gradient(top, black 1px, rgba(255,255,255,0.2) 1px);
background-size: 10px 2px;
background-clip: padding-box;
background-repeat: repeat-y;
border-width: 1px 1px 0;
border-style: solid;
border-color: rgba(255, 255, 255, 0.05);
margin: 7px 7px 8px;
}
/* Highlighter - Node Infobar */ /* Highlighter - Node Infobar */
/* Highlighter - Node Infobar - text */ /* Highlighter - Node Infobar - text */

View File

@ -2670,7 +2670,6 @@ panel[dimmed="true"] {
#inspector-toolbar[treepanel-open] { #inspector-toolbar[treepanel-open] {
padding-top: 0; padding-top: 0;
-moz-padding-end: 0;
} }
#devtools-side-splitter { #devtools-side-splitter {
@ -2687,31 +2686,15 @@ panel[dimmed="true"] {
background-color: -moz-Field; background-color: -moz-Field;
} }
/* Highlighter - toolbar resizers */ /* Highlighter - toolbar resizer */
.inspector-resizer {
-moz-appearance: none;
cursor: n-resize;
}
#inspector-top-resizer { #inspector-top-resizer {
-moz-appearance: none;
cursor: n-resize;
background: none; background: none;
height: 4px; height: 4px;
} }
#inspector-end-resizer {
width: 12px;
height: 8px;
background-image: -moz-linear-gradient(top, black 1px, rgba(255,255,255,0.2) 1px);
background-size: 10px 2px;
background-clip: padding-box;
background-repeat: repeat-y;
border-width: 1px 1px 0;
border-style: solid;
border-color: rgba(255, 255, 255, 0.05);
margin: 7px 7px 8px;
}
/* Highlighter - Node Infobar */ /* Highlighter - Node Infobar */
/* Highlighter - Node Infobar - text */ /* Highlighter - Node Infobar - text */