@ -483,7 +483,7 @@ html.ms .propform {
.form-control-plaintext,
label.col-form-label {
padding: .375rem .375rem .375rem 0;
padding: floor(.375 * @page-font-size) floor(.375 * @page-font-size) floor(.375 * @page-font-size) 0;
}
.form-control-plaintext {
@ -602,7 +602,7 @@ html.ms .propform {
/* Some common icons for "iconized inputs" */
.input-group .icon {
text-decoration: none;
padding: .375rem .5rem;
padding: floor(.375 * @page-font-size) .5rem;
&.input-group-text {
min-width: 2.4rem;
@ -708,7 +708,7 @@ html.ms .propform {
.custom-control-label {
&:before,
&:after {
margin: -.15rem 0 0 0;
margin: calc(floor(.15 * @page-font-size) * -1) 0 0 0;
}
}
@ -917,7 +917,7 @@ html.ms .propform {
/*** Smart recipient input field ***/
@recipient-input-margin-fix: .25rem ;
@recipient-input-margin-fix: round(.25 * @page-font-size) ;
.recipient-input {
display: flex;
@ -955,7 +955,7 @@ html.ms .propform {
flex-grow: 1;
display: inline-block;
line-height: 1.1;
padding: .25rem ;
padding: floor(.25 * @page-font-size) ;
vertical-align: middle;
}
@ -1305,7 +1305,7 @@ html.ms .propform {
&:before,
&:after {
border-radius: .6rem;
margin: .15rem 0;
margin: floor(.15 * @page-font-size) 0;
html.touch & {
border-radius: .8rem;
@ -1315,34 +1315,36 @@ html.ms .propform {
&:before {
left: 2px;
width: 2rem;
height: 1.2rem;
top: 4px;
width: floor(1.9 * @page-font-size);
height: floor(1.2 * @page-font-size);
html.touch & {
top: .2rem ;
width: 2.6rem ;
height: 1.6rem ;
top: floor(.2 * @page-font-size) ;
width: floor(2.5 * @page-font-size) ;
height: floor(1.6 * @page-font-size) ;
}
}
&:after {
left: 4px;
width: ~"calc(1.2rem - 4px)";
height: ~"calc(1.2rem - 4px)";
top: 6px;
width: floor(1.2 * @page-font-size) - 4;
height: floor(1.2 * @page-font-size) - 4;
html.touch & {
top: ~"calc(.2rem + 2px)" ;
height: ~"calc(1.6rem - 4px)" ;
width: ~"calc(1.6rem - 4px)" ;
top: floor(.2 * @page-font-size) + 2 ;
height: floor(1.6 * @page-font-size) - 4 ;
width: floor(1.6 * @page-font-size) - 4 ;
}
}
}
.custom-control-input:checked ~ .custom-control-label::after {
transform: translateX(.8rem );
transform: translateX(floor(1.2 * @page-font-size) - 6 );
html.touch & {
transform: translateX(1rem );
transform: translateX(floor(1.6 * @page-font-size) - 9 );
}
}
@ -1364,7 +1366,7 @@ html.ms .propform {
}
& + .hint {
margin-top: .25rem ;
margin-top: floor(.25 * @page-font-size) ;
}
}