Skip to content

Commit 9239eb9

Browse files
committed
more aesthetics
1 parent eb9ca88 commit 9239eb9

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

services/static-webserver/client/source/class/osparc/ui/form/IntlTelInput.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -167,24 +167,24 @@ qx.Class.define("osparc.ui.form.IntlTelInput", {
167167

168168
const textColor = qx.theme.manager.Color.getInstance().resolve("text");
169169
const bgColor = qx.theme.manager.Color.getInstance().resolve("input_background");
170-
const height = isCompact ? 23 : 25;
170+
const height = isCompact ? 24 : 25;
171171

172+
phoneNumber.set({
173+
minWidth: 185,
174+
maxHeight: height,
175+
margin: 0,
176+
marginTop: 2,
177+
});
172178
if (isCompact) {
173179
phoneNumber.set({
174-
margin: 0,
175180
marginLeft: -1,
176181
});
177182
} else {
178183
phoneNumber.set({
179-
marginTop: 2,
180184
marginLeft: 2,
181185
marginRight: 2,
182186
})
183187
}
184-
phoneNumber.set({
185-
minWidth: 185,
186-
maxHeight: height,
187-
});
188188

189189
if (itiInput) {
190190
itiInput.a.style["width"] = feedbackIcon.isVisible() ? "185px" : "215px";

services/static-webserver/client/source/resource/intl-tel-input/css/intlTelInput.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -942,3 +942,14 @@
942942

943943
.iti__flag.iti__np {
944944
background-color: transparent; }
945+
946+
.iti input {
947+
border: none !important;
948+
border-bottom: 1px solid var(--q-color-border, green) !important;
949+
outline: none !important;
950+
box-shadow: none !important;
951+
}
952+
953+
.iti input:focus {
954+
border-bottom: 1px solid var(--q-color-focus, red) !important;
955+
}

0 commit comments

Comments
 (0)