[Frontend] Fix alignment and font-size issues in tool-bar

Fixes #1496
This commit is contained in:
Charles Hacskaylo 2017-09-13 09:47:18 -07:00 committed by Pegah Sarram
parent bb47feb517
commit 68abc15ed5
7 changed files with 16 additions and 16 deletions

View File

@ -52,6 +52,7 @@
font-size: 0.8rem;
$p: 1px;
line-height: 100%;
overflow: hidden;
&.l-static-text {
padding: $p;
}

View File

@ -33,7 +33,6 @@ $pad: $interiorMargin * $baseRatio;
height: $btnStdH;
line-height: $btnStdH;
padding: 0 $pad;
vertical-align: top;
&.labeled:before {
// Icon when it's included

View File

@ -309,9 +309,8 @@ textarea.lg { position: relative; height: 300px; }
}
}
&:before {
//@include contextArrow();
pointer-events: none;
color: rgba($colorSelectFg, percentToDecimal($contrastInvokeMenuPercent));
color: rgba($colorInvokeMenu, percentToDecimal($contrastInvokeMenuPercent));
display: block;
position: absolute;
right: $interiorMargin; top: 0;

View File

@ -240,7 +240,9 @@ body.desktop .pane .mini-tab-icon.toggle-pane {
.top-bar .buttons-main .s-button,
.top-bar .s-menu-button,
.tool-bar .s-button,
.tool-bar .s-menu-button {
.tool-bar .s-menu-button,
.tool-bar .select,
.tool-bar .input-labeled {
$h: $btnToolbarH;
height: $h;
line-height: $h;

View File

@ -20,6 +20,7 @@
* at runtime from the About dialog for additional information.
*****************************************************************************/
.tool-bar {
font-size: 0.7rem;
&.btn-bar {
white-space: nowrap;
}
@ -30,9 +31,7 @@
input[type="search"],
input[type="number"] {
box-sizing: border-box;
font-size: .8em;
height: $btnToolbarH;
margin-bottom: 1px;
position: relative;
&.sm {
width: $btnToolbarH;

View File

@ -153,10 +153,6 @@ define([
"description": "Set text size",
"control": "select",
"options": [
{
"value": "8px",
"name": "8 px"
},
{
"value": "9px",
"name": "9 px"
@ -173,10 +169,18 @@ define([
"value": "12px",
"name": "12 px"
},
{
"value": "13px",
"name": "13 px"
},
{
"value": "14px",
"name": "14 px"
},
{
"value": "15px",
"name": "15 px"
},
{
"value": "16px",
"name": "16 px"
@ -280,11 +284,7 @@ define([
"control": "numberfield",
"description": "Resize object width",
"min": "1"
}
]
},
{
"items": [
},
{
"property": "useGrid",
"name": "Snap to Grid",

View File

@ -43,7 +43,7 @@ define(
"fixed.text": {
fill: "transparent",
stroke: "transparent",
size: "14px"
size: "13px"
}
},
DIALOGS = {