1
0
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:
Simon Huber 2020-11-09 19:18:30 +01:00 committed by GitHub
parent 1ec8b7877e
commit 27bed615ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 16 deletions

View File

@ -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>>) {
@ -209,17 +205,6 @@ nav.tc-menubar .tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button {
@media (max-width: <<sidebarbreakpoint-minus-one>>) {
<<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;
}
""">>
}

View File

@ -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,7 +856,18 @@ 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;
@ -2862,4 +2881,4 @@ select {
.tc-word-break {
word-break: break-all;
}
}