Просмотр исходного кода

Ticket #4674 - Studio: Layout changes.

AntonLV 2 лет назад
Родитель
Сommit
b4fe9a93be

+ 1 - 1
studio/template/images/icons/db-ht-fail.svg

@@ -1,4 +1,4 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="32" height="32" color="currentColor" fill="none">
+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
     <path d="M15.7494 15L9.75 9M9.75064 15L15.75 9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
     <path d="M22.75 12C22.75 6.47715 18.2728 2 12.75 2C7.22715 2 2.75 6.47715 2.75 12C2.75 17.5228 7.22715 22 12.75 22C18.2728 22 22.75 17.5228 22.75 12Z" stroke="currentColor" stroke-width="1.5" />
 </svg>

+ 1 - 1
studio/template/images/icons/db-ht-undef.svg

@@ -1,3 +1,3 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="32" height="32" color="currentColor" fill="none">
+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
     <circle cx="12" cy="12" r="10" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" />
 </svg>

+ 1 - 1
studio/template/images/icons/db-ht-warn.svg

@@ -1,4 +1,4 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="32" height="32" color="currentColor" fill="none">
+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
     <circle cx="12" cy="12" r="10" stroke="currentColor" stroke-width="1.5" />
     <path d="M11.992 15H12.001" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
     <path d="M12 12L12 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />

+ 10 - 2
template/css/forms.css

@@ -251,12 +251,20 @@
 
 .bx-form-value .bx-form-input-radio_set,
 .bx-form-value .bx-form-input-checkbox_set {
-    line-height: 1.25;
+    line-height: 2.0;
 }
 
+.bx-form-value .bx-form-input-radio_set input,
+.bx-form-value .bx-form-input-checkbox_set input,
 .bx-form-value .bx-form-input-radio_set label,
 .bx-form-value .bx-form-input-checkbox_set label {
-    padding-left: 0.25rem;
+    display: inline-block;
+    vertical-align: middle;
+}
+
+.bx-form-value .bx-form-input-radio_set label,
+.bx-form-value .bx-form-input-checkbox_set label {
+    padding-left: 0.5rem;
 }
 
 .bx-form-input-textarea {