Added Magic button and tweaked margins for Windows

This commit is contained in:
n1474335 2018-07-26 17:47:14 +00:00
parent 651ca6cf5d
commit ba5c503c48
5 changed files with 17 additions and 4 deletions

View file

@ -278,9 +278,12 @@
</span>
<div class="io-info" id="output-info"></div>
<div class="io-info" id="output-selection-info"></div>
<span id="stale-indicator" title="The output is stale.&#10;The input or recipe has changed since this output was generated. Bake again to get the new value.">
<button type="button" class="btn btn-primary bmd-btn-icon" id="magic" data-toggle="tooltip" title="Magic!">
<i class="material-icons">flare</i>
</button>
<span id="stale-indicator" data-toggle="tooltip" title="The output is stale. The input or recipe has changed since this output was generated. Bake again to get the new value.">
<i class="material-icons">access_time</i>
</span>
</span>
</div>
<div class="textarea-wrapper">
<div id="output-highlighter" class="no-select"></div>

View file

@ -23,6 +23,11 @@
line-height: calc(var(--title-height) - 14px);
}
.title>span,
.title>.btn {
margin-top: -4px;
}
.list-area {
position: absolute;
top: var(--title-height);

View file

@ -41,5 +41,5 @@
}
#controls .btn {
border-radius: 0;
border-radius: 30px;
}

View file

@ -146,3 +146,8 @@
transition: all 0.5s ease;
}
#magic {
margin-left: 5px;
display: none;
}

View file

@ -108,7 +108,7 @@ input[type="search"]::-webkit-search-cancel-button {
}
select.form-control:not([size]):not([multiple]), select.custom-file-control:not([size]):not([multiple]) {
height: unset;
height: unset !important;
}
code {