fix: resolve header gap, textarea size
This commit is contained in:
+11
-2
@@ -43,7 +43,16 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="field-size-stack">
|
<div class="field-size-stack">
|
||||||
<div class="chain-link" id="chainLink" title="Keep aspect ratio">
|
<div class="chain-link" id="chainLink" title="Keep aspect ratio">
|
||||||
<svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
<svg
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
width="20"
|
||||||
|
height="20"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
stroke-width="2"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
>
|
||||||
<path class="chain-locked" d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" />
|
<path class="chain-locked" d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" />
|
||||||
<path class="chain-locked" d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" />
|
<path class="chain-locked" d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" />
|
||||||
<path class="chain-unlocked" d="M13.5 10.5l3-3" style="display: none" />
|
<path class="chain-unlocked" d="M13.5 10.5l3-3" style="display: none" />
|
||||||
@@ -83,7 +92,7 @@
|
|||||||
|
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
<h2>CSS Output</h2>
|
<h2>CSS Output</h2>
|
||||||
<textarea id="cssOutput" readonly></textarea>
|
<textarea id="cssOutput" rows="10" readonly></textarea>
|
||||||
<div class="btn-row">
|
<div class="btn-row">
|
||||||
<button class="btn btn-copy" id="copyBtn">Копировать CSS</button>
|
<button class="btn btn-copy" id="copyBtn">Копировать CSS</button>
|
||||||
<button class="btn btn-reset" id="resetBtn">Сброс</button>
|
<button class="btn btn-reset" id="resetBtn">Сброс</button>
|
||||||
|
|||||||
@@ -66,7 +66,9 @@ header p {
|
|||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background 0.15s, color 0.15s;
|
transition:
|
||||||
|
background 0.15s,
|
||||||
|
color 0.15s;
|
||||||
}
|
}
|
||||||
.mode-btn:hover {
|
.mode-btn:hover {
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
@@ -81,6 +83,7 @@ header p {
|
|||||||
color: var(--accent);
|
color: var(--accent);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
|
margin-left: auto;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -294,7 +297,9 @@ main {
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background 0.15s, color 0.15s;
|
transition:
|
||||||
|
background 0.15s,
|
||||||
|
color 0.15s;
|
||||||
}
|
}
|
||||||
.btn-edit-field:hover {
|
.btn-edit-field:hover {
|
||||||
background: rgba(88, 166, 255, 0.1);
|
background: rgba(88, 166, 255, 0.1);
|
||||||
@@ -348,7 +353,9 @@ main {
|
|||||||
color: var(--accent);
|
color: var(--accent);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
transition: background 0.15s, color 0.15s;
|
transition:
|
||||||
|
background 0.15s,
|
||||||
|
color 0.15s;
|
||||||
}
|
}
|
||||||
.chain-link:hover {
|
.chain-link:hover {
|
||||||
background: rgba(88, 166, 255, 0.1);
|
background: rgba(88, 166, 255, 0.1);
|
||||||
|
|||||||
Reference in New Issue
Block a user