Minor css tweaks
This commit is contained in:
parent
e36ba7a384
commit
22845a0cc8
|
@ -114,7 +114,8 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: $gray-icon;
|
color: $gray-icon;
|
||||||
font-size: $font-size-icon;
|
font-size: $font-size;
|
||||||
|
line-height: $line-height;
|
||||||
}
|
}
|
||||||
|
|
||||||
.key,
|
.key,
|
||||||
|
@ -236,7 +237,14 @@ div.empty {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: create a class shared by .expand and .validation-error buttons
|
||||||
.validation-error {
|
.validation-error {
|
||||||
color: $warning-color;
|
color: $warning-color;
|
||||||
padding: 0 $input-padding;
|
padding: 0 $input-padding;
|
||||||
|
width: $line-height;
|
||||||
|
height: $line-height;
|
||||||
|
line-height: $line-height;
|
||||||
|
font-size: $font-size;
|
||||||
|
position: relative;
|
||||||
|
top: 2px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -459,13 +459,13 @@
|
||||||
<span class="delimiter">}</span>
|
<span class="delimiter">}</span>
|
||||||
{#if validationError}
|
{#if validationError}
|
||||||
<!-- FIXME: implement proper tooltip -->
|
<!-- FIXME: implement proper tooltip -->
|
||||||
<button
|
<span
|
||||||
class='validation-error'
|
class='validation-error'
|
||||||
title={validationError.isChildError ? 'Contains invalid properties' : validationError.message}
|
title={validationError.isChildError ? 'Contains invalid properties' : validationError.message}
|
||||||
on:click={handleExpand}
|
on:click={handleExpand}
|
||||||
>
|
>
|
||||||
<Icon data={faExclamationTriangle} />
|
<Icon data={faExclamationTriangle} />
|
||||||
</button>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,7 +3,6 @@ $font-family: consolas, monaco, "lucida console", "courier new", "dejavu sans m
|
||||||
$font-size: 14px;
|
$font-size: 14px;
|
||||||
$font-size-small: 11px;
|
$font-size-small: 11px;
|
||||||
$font-family-menu: arial, "sans-serif";
|
$font-family-menu: arial, "sans-serif";
|
||||||
$font-size-icon: 16px;
|
|
||||||
|
|
||||||
$white: #fff;
|
$white: #fff;
|
||||||
$black: #1A1A1A;
|
$black: #1A1A1A;
|
||||||
|
|
Loading…
Reference in New Issue