diff --git a/examples/html/edit-style.css b/examples/html/edit-style.css index ae70e206fa..1d34036307 100644 --- a/examples/html/edit-style.css +++ b/examples/html/edit-style.css @@ -425,7 +425,7 @@ input[type=checkbox]:checked + label:hover { margin-left: 12px; } -.text label, .url label, .number label, .textarea label { +.text label, .url label, .number label, .textarea label, .xyz label { float: left; margin-bottom: 4px; } @@ -433,6 +433,9 @@ input[type=checkbox]:checked + label:hover { clear: both; float: left; } +.xyz > div { + clear: both; +} div.refresh { box-sizing: border-box; @@ -486,54 +489,48 @@ div.refresh input[type="button"] { float: right; } +.xyz .tuple input { + padding-left: 30px; +} .color .tuple input { padding-left: 65px; } - -.tuple label { +.tuple div label { display: inline !important; float: none !important; position: absolute; - left: -6px; - top: -4px; + margin-top: 8px; + margin-left: 6px; + left: 0; + font-family: FiraSans-SemiBold; + font-size: 12px; } -.tuple .red + label { +.tuple .x + label, .tuple .red + label { color: #e2334d; } -.tuple .green + label { +.tuple .y + label, .tuple .green + label { color: #1ac567; } -.tuple .blue + label { +.tuple .z + label, .tuple .blue + label { color: #1080b8; } -.tuple .red:focus { +.tuple .x:focus, .tuple .red:focus { outline-color: #e2334d; } -.tuple .green:focus { +.tuple .y:focus, .tuple .green:focus { outline-color: #1ac567; } -.tuple .blue:focus { +.tuple .z:focus.tuple, .blue:focus { outline-color: #1080b8; } - -.prop-x { - color:red !important; - background: rgba(255, 0, 0, .9); - height:2px !important; +.xyz .buttons input { + margin-top: 12px; } - -.prop-y { - color:green !important; - background: rgba(0, 255, 0, .9); - height:2px !important; -} - -.prop-z{ - color:blue !important; - background: rgba(0, 0, 255, .9); - height:2px !important; +.xyz .buttons span { + word-wrap: nowrap; + white-space: nowrap; } diff --git a/examples/html/entityProperties.html b/examples/html/entityProperties.html index 507dc08d88..526f01897b 100644 --- a/examples/html/entityProperties.html +++ b/examples/html/entityProperties.html @@ -1388,17 +1388,17 @@ M -
-
Position
-
-
X
-
Y
-
Z
-
- - - -
+
+ +
+
+
+
+
+
+ + +
@@ -1411,68 +1411,68 @@
-
-
Registration
-
-
X
-
Y
-
Z
+
+ +
+
+
+
-
-
Dimensions
-
-
X
-
Y
-
Z
-
- -
-
- % -
+
+ +
+
+
+
+
+
+ +  %
-
-
Voxel Volume Size
-
-
X
-
Y
-
Z
+
+ +
+
+
+
+
+
Surface Extractor
- +
+
-
- - - -
+
+ + + +
-
- - - -
+
+ + + +
-
- - - -
+
+ + +
@@ -1489,12 +1489,12 @@ M
-
-
Linear Velocity
-
-
X
-
Y
-
Z
+
+ +
+
+
+
@@ -1530,21 +1530,21 @@
-
-
Gravity
-
-
X
-
Y
-
Z
+
+ +
+
+
+
-
-
Acceleration
-
-
X
-
Y
-
Z
+
+ +
+
+
+
diff --git a/interface/resources/qml/styles-uit/HifiConstants.qml b/interface/resources/qml/styles-uit/HifiConstants.qml index 45267e05ad..9c879a2fd6 100644 --- a/interface/resources/qml/styles-uit/HifiConstants.qml +++ b/interface/resources/qml/styles-uit/HifiConstants.qml @@ -155,6 +155,7 @@ Item { readonly property real sectionName: dimensions.largeScreen ? 12 : 10 readonly property real inputLabel: dimensions.largeScreen ? 14 : 10 readonly property real textFieldInput: dimensions.largeScreen ? 15 : 12 + readonly property real textFieldInputLabel: dimensions.largeScreen ? 13 : 9 readonly property real tableText: dimensions.largeScreen ? 15 : 12 readonly property real buttonLabel: dimensions.largeScreen ? 13 : 9 readonly property real iconButton: dimensions.largeScreen ? 13 : 9