Slideout options now respond intelligently to post form size. :3
This commit is contained in:
parent
a5b02243e9
commit
c95e09249e
File diff suppressed because one or more lines are too long
@ -1025,29 +1025,35 @@ input:checked + .rice {
|
|||||||
}"
|
}"
|
||||||
|
|
||||||
"slideout": "
|
"slideout": "
|
||||||
|
#qrtab input,
|
||||||
|
#qrtab .rice {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
#qr {
|
#qr {
|
||||||
top: auto !important;
|
top: auto !important;
|
||||||
bottom: 1.7em !important;
|
bottom: 1.7em !important;
|
||||||
#{Style.sidebarLocation[0]}: -#{233 + Style.sidebarOffset.W}px !important;
|
#{Style.sidebarLocation[0]}: 0 !important;
|
||||||
#{Style.sidebarLocation[1]}: auto !important;
|
#{Style.sidebarLocation[1]}: auto !important;
|
||||||
|
#{agent}transform: translateX(#{xOffset}93%);
|
||||||
}
|
}
|
||||||
#qr:hover,
|
#qr:hover,
|
||||||
#qr.focus,
|
#qr.focus,
|
||||||
#qr.dump {
|
#qr.dump {
|
||||||
#{agent}transform: translate(#{xOffset + (233 + Style.sidebarOffset.W)}px);
|
#{agent}transform: translate(0);
|
||||||
}"
|
}"
|
||||||
|
|
||||||
"tabbed slideout": "
|
"tabbed slideout": "
|
||||||
#qr {
|
#qr {
|
||||||
top: auto !important;
|
top: auto !important;
|
||||||
bottom: 1.7em !important;
|
bottom: 1.7em !important;
|
||||||
#{Style.sidebarLocation[0]}: -#{252 + Style.sidebarOffset.W}px !important;
|
#{Style.sidebarLocation[0]}: 0 !important;
|
||||||
#{Style.sidebarLocation[1]}: auto !important;
|
#{Style.sidebarLocation[1]}: auto !important;
|
||||||
|
#{agent}transform: translateX(#{xOffset}100%);
|
||||||
}
|
}
|
||||||
#qr:hover,
|
#qr:hover,
|
||||||
#qr.focus,
|
#qr.focus,
|
||||||
#qr.dump {
|
#qr.dump {
|
||||||
#{agent}transform: translate(#{xOffset + (252 + Style.sidebarOffset.W)}px);
|
#{agent}transform: translateX(0);
|
||||||
}
|
}
|
||||||
#qrtab {
|
#qrtab {
|
||||||
#{agent}transform: rotate(#{(if Style.sidebarLocation[0] is "left" then "" else "-")}90deg);
|
#{agent}transform: rotate(#{(if Style.sidebarLocation[0] is "left" then "" else "-")}90deg);
|
||||||
|
|||||||
@ -125,7 +125,7 @@ Style =
|
|||||||
layout: ->
|
layout: ->
|
||||||
_conf = Conf
|
_conf = Conf
|
||||||
agent = Style.agent
|
agent = Style.agent
|
||||||
xOffset = if _conf["Sidebar Location"] is "left" then '' else '-'
|
xOffset = if _conf["Sidebar Location"] is "left" then '-' else ''
|
||||||
|
|
||||||
# Position of submenus in relation to the post menu.
|
# Position of submenus in relation to the post menu.
|
||||||
position = {
|
position = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user