Adjust alignment of buttons

This commit is contained in:
lolabird 2024-10-06 17:05:45 -06:00
commit 311393fb78
No known key found for this signature in database
GPG key ID: 0B9E871F678F9DB3

View file

@ -677,12 +677,13 @@ svg.jtk-connector path {
} }
/*****BACKLINKS POPUP*****/ /*****FLOATING BUTTONS*****/
/***Backlinks Popup***/
.floating-buttons-children { .floating-buttons-children {
flex-direction: column-reverse !important; flex-direction: column-reverse !important;
} }
.backlinks-ticker { .backlinks-ticker {
padding: 6px 2px !important; padding: 6px 3px !important;
writing-mode: vertical-lr; writing-mode: vertical-lr;
} }
div.backlinks-items { div.backlinks-items {
@ -708,6 +709,31 @@ div.backlinks-items div:hover {
background-color: var(--code-select-gray); background-color: var(--code-select-gray);
} }
/***Relation Map Buttons***/
.relation-map-buttons {
display: flex;
gap: 10px;
flex-direction: column;
}
.relation-map-buttons > .btn-group {
position: relative;
display: -ms-inline-flexbox;
display: inline-flex;
flex-direction: column;
vertical-align: middle;
}
.relation-map-buttons > button, .relation-map-buttons > .btn-group button {
border: none !important;
}
.relation-map-buttons > .btn-group > .btn-group:not(:first-child), .btn-group>.btn:not(:first-child) {
margin-left: 0;
}
.relation-map-buttons > button:hover, .relation-map-buttons > .btn-group button:hover {
border: none;
background: transparent !important;
color: var(--tan);
}
/*****ATTRIBUTES POPUP*****/ /*****ATTRIBUTES POPUP*****/
.attr-help td { .attr-help td {
@ -921,7 +947,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: var(--cherry-red);}
.cm-invalidchar {color: var(--cherry-red);} .cm-invalidchar {color: var(--cherry-red);}
/*****HIGHLIGHT.JS*****/ /*****ADDONS*****/
/***Highlight.js***/
pre code.hljs { pre code.hljs {
display:block; display:block;
overflow-x:auto; overflow-x:auto;
@ -980,8 +1007,7 @@ code.hljs {
font-weight:700; font-weight:700;
} }
/***Zen Mode***/
/*****ZEN MODE*****/
/*Use the button or alt+z to toggle it on and off*/ /*Use the button or alt+z to toggle it on and off*/
/* hide launcher buttons*/ /* hide launcher buttons*/
.zen-mode button.bx-chevrons-left,.zen-mode #launcher-pane > .component > :not(button.component.button-widget.bx-spa) { .zen-mode button.bx-chevrons-left,.zen-mode #launcher-pane > .component > :not(button.component.button-widget.bx-spa) {
@ -1015,3 +1041,8 @@ code.hljs {
.zen-mode .floating-buttons-children{ .zen-mode .floating-buttons-children{
display: none !important; display: none !important;
} }
/***Theme Switcher***/
.theme-selection.component .switch {
top: 5.75px !important;
}