move settings to left, fix camops show/hide
This commit is contained in:
parent
aefecb8395
commit
ce5ec936c7
3 changed files with 16 additions and 68 deletions
|
|
@ -162,7 +162,8 @@ CAM.init = function(kiri, api) {
|
||||||
isAnimate = false;
|
isAnimate = false;
|
||||||
animFn().animate_clear(api);
|
animFn().animate_clear(api);
|
||||||
func.clearPops();
|
func.clearPops();
|
||||||
$('camops').style.display = isCamMode && isArrange ? 'flex' : '';
|
api.uc.setVisible($('camops'), isCamMode && isArrange);
|
||||||
|
// $('camops').style.display = isCamMode && isArrange ? 'flex' : '';
|
||||||
if (isCamMode && isPreview) {
|
if (isCamMode && isPreview) {
|
||||||
for (let widget of API.widgets.all()) {
|
for (let widget of API.widgets.all()) {
|
||||||
widget.setAxisIndex(0);
|
widget.setAxisIndex(0);
|
||||||
|
|
|
||||||
|
|
@ -769,14 +769,6 @@ th, tr, td, label {
|
||||||
background-color: var(--main-color);
|
background-color: var(--main-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
#lt-top {
|
|
||||||
height: 10px;
|
|
||||||
border-top-right-radius: 10px;
|
|
||||||
border-bottom-right-radius: 1px;
|
|
||||||
background-color: var(--main-color);
|
|
||||||
left: -5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#lt-back, #lt-options {
|
#lt-back, #lt-options {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
@ -806,36 +798,6 @@ th, tr, td, label {
|
||||||
color: #aaa !important;
|
color: #aaa !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pop-lcol {
|
|
||||||
position: absolute;
|
|
||||||
display: none;
|
|
||||||
top: -3px;
|
|
||||||
bottom: -3px;
|
|
||||||
left: 100%;
|
|
||||||
z-index: 10;
|
|
||||||
padding-left: 2px;
|
|
||||||
}
|
|
||||||
.pop-lcol > div {
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
margin: 1px;
|
|
||||||
padding: 5px;
|
|
||||||
background-color: rgba(255,255,255,0.85);
|
|
||||||
border: 1px solid rgba(0,0,0,0.1);
|
|
||||||
border-radius: 3px;
|
|
||||||
min-width: 60px;
|
|
||||||
color: var(--fg-gray);
|
|
||||||
}
|
|
||||||
.pop-lcol > div:hover {
|
|
||||||
background-color: #eee;
|
|
||||||
border: 1px solid #aaa;
|
|
||||||
color: #000;
|
|
||||||
}
|
|
||||||
.pop-sel {
|
|
||||||
background-color: #ddd !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.lt-menu {
|
.lt-menu {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
@ -1832,26 +1794,17 @@ th, tr, td, label {
|
||||||
#settings {
|
#settings {
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
|
background-color: rgba(255,255,255,0.5);
|
||||||
|
/* border: 1px solid var(--menu-border); */
|
||||||
|
border: 1px solid #aaa;
|
||||||
|
border-bottom-right-radius: 5px;
|
||||||
|
border-top-right-radius: 5px;
|
||||||
|
padding: 5px;
|
||||||
|
gap: 5px;
|
||||||
}
|
}
|
||||||
#settings .set-group {
|
#settings .set-group {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
#set-top {
|
|
||||||
color: black;
|
|
||||||
padding: 1px 10px 2px 2px;
|
|
||||||
border-top-left-radius: 10px;
|
|
||||||
border-bottom-left-radius: 1px;
|
|
||||||
background-color: var(--main-color);
|
|
||||||
min-height: 10px;
|
|
||||||
}
|
|
||||||
#set-end {
|
|
||||||
color: black;
|
|
||||||
padding: 1px 10px 2px 2px;
|
|
||||||
border-top-left-radius: 1px;
|
|
||||||
border-bottom-left-radius: 10px;
|
|
||||||
background-color: var(--main-color);
|
|
||||||
height: 10px;
|
|
||||||
}
|
|
||||||
.pop-sep {
|
.pop-sep {
|
||||||
border: 0 !important;
|
border: 0 !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
|
|
@ -1871,19 +1824,15 @@ th, tr, td, label {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
padding: 1px 0 2px 0;
|
|
||||||
margin: 2px 0 3px 0;
|
|
||||||
}
|
}
|
||||||
.set-group {
|
.set-group {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background-color: rgba(255,255,255,0.75);
|
background-color: rgba(255,255,255,0.9);
|
||||||
border: 1px solid rgba(0,0,0,0);
|
border: 1px solid rgba(0,0,0,0.2);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
margin: 2px 0 2px 4px;
|
padding: 8px 10px 8px 10px;
|
||||||
padding: 8px 10px 8px 5px;
|
|
||||||
color: var(--fg-gray);
|
color: var(--fg-gray);
|
||||||
right: -5px;
|
|
||||||
}
|
}
|
||||||
.set-group:hover {
|
.set-group:hover {
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
|
|
@ -1892,7 +1841,7 @@ th, tr, td, label {
|
||||||
}
|
}
|
||||||
.set-pop {
|
.set-pop {
|
||||||
top: 50%;
|
top: 50%;
|
||||||
right: 100%;
|
left: calc(100% + 6px);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
||||||
|
|
@ -323,9 +323,7 @@
|
||||||
<div id="lt-w-enable"><i class="fas fa-check-circle"></i></div>
|
<div id="lt-w-enable"><i class="fas fa-check-circle"></i></div>
|
||||||
<div id="lt-w-disable"><i class="fas fa-times-circle"></i></div>
|
<div id="lt-w-disable"><i class="fas fa-times-circle"></i></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="lt-top">
|
<div id="settings" class="f-col"></div>
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="mid-mcol" class="grow">
|
<div id="mid-mcol" class="grow">
|
||||||
<div id="modal">
|
<div id="modal">
|
||||||
|
|
@ -506,9 +504,9 @@
|
||||||
<div id="mid-rcol" class="f-col j-center noshow">
|
<div id="mid-rcol" class="f-col j-center noshow">
|
||||||
<div id="set-menu" class="f-col">
|
<div id="set-menu" class="f-col">
|
||||||
<div id="speeds"><div id="speedbar" class="f-col a-stretch j-center" lkt="sb_info"></div></div>
|
<div id="speeds"><div id="speedbar" class="f-col a-stretch j-center" lkt="sb_info"></div></div>
|
||||||
<div id="set-top" class="set-group"></div>
|
<!-- <div id="set-top" class="set-group"></div>
|
||||||
<div id="settings" class="f-col"></div>
|
<div id="settings" class="f-col"></div>
|
||||||
<div id="set-end" class="set-group"></div>
|
<div id="set-end" class="set-group"></div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue