mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Move styles from menubar plugin to vanilla/base (#5019)
* Update styles.tid * Update base.tid * Update styles.tid * Update base.tid
This commit is contained in:
parent
1ec8b7877e
commit
27bed615ab
@ -191,10 +191,6 @@ nav.tc-menubar .tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
nav.tc-menubar .tc-menubar-item .tc-show-sidebar-btn svg.tc-image-chevron-left, nav.tc-menubar .tc-menubar-item .tc-hide-sidebar-btn svg.tc-image-chevron-right {
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (min-width: <<breakpoint-plus-one>>) {
|
||||
@ -210,17 +206,6 @@ nav.tc-menubar .tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button {
|
||||
|
||||
<<set-sidebar-scrollable-top-if-hamburger>>
|
||||
|
||||
<<if-no-sidebar """
|
||||
|
||||
.tc-sidebar-header {
|
||||
min-height: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
transition: min-height {{$:/config/AnimationDuration}}ms ease-in-out, padding-top {{$:/config/AnimationDuration}}ms ease-in-out, padding-bottom {{$:/config/AnimationDuration}}ms ease-in-out;
|
||||
}
|
||||
|
||||
""">>
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: {{$:/config/plugins/menubar/breakpoint}}) {
|
||||
|
@ -769,6 +769,14 @@ button.tc-btn-invisible.tc-remove-tag-button {
|
||||
fill: <<colour foreground>>;
|
||||
}
|
||||
|
||||
@media (max-width: <<sidebarbreakpoint-minus-one>>) {
|
||||
|
||||
.tc-show-sidebar-btn svg.tc-image-chevron-left, .tc-hide-sidebar-btn svg.tc-image-chevron-right {
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.tc-sidebar-header {
|
||||
color: <<colour sidebar-foreground>>;
|
||||
fill: <<colour sidebar-foreground>>;
|
||||
@ -848,8 +856,19 @@ button.tc-btn-invisible.tc-remove-tag-button {
|
||||
padding: 14px;
|
||||
min-height: 32px;
|
||||
margin-top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};
|
||||
transition: min-height {{$:/config/AnimationDuration}}ms ease-in-out, padding-top {{$:/config/AnimationDuration}}ms ease-in-out, padding-bottom {{$:/config/AnimationDuration}}ms ease-in-out;
|
||||
}
|
||||
|
||||
<<if-no-sidebar """
|
||||
|
||||
.tc-sidebar-header {
|
||||
min-height: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
""">>
|
||||
|
||||
.tc-story-river {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user