gearheads
/
mastodon
Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
mastodon/app/javascript/styles/gh/elephant-mods.scss

37 lines
14 KiB
SCSS
Raw Normal View History

2023-07-29 01:49:49 +02:00
.theme-elephant,
.theme-elephant-contrast,
.theme-elephant-light {
/** Add shadows around dropdowns/popouts **/
2023-07-29 02:52:48 +02:00
.dropdown-animation,
.video-modal__container .video-player {
box-shadow: 0 0 20px rgba(0,0,0,0.25);
2023-07-29 01:49:49 +02:00
}
/** Offset modified logo for desktop layout **/
.navigation-panel__logo > .column-link--logo {
margin-left: 3px;
width: 150px;
}
/** Offset modified logo for mobile layout **/
.ui__header__logo {
margin-left: 15px;
width: 120px;
}
/** Replace logo **/
.navigation-panel__logo > .column-link--logo,
.ui__header__logo {
2023-07-29 01:49:49 +02:00
background-size: contain;
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3Csvg width='261' height='66' viewBox='0 0 261 66' fill='none' version='1.1' id='svg11' sodipodi:docname='logo-symbol-wordmark_old.svg' inkscape:version='1.2.1 (9c6d41e410, 2022-07-14)' xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape' xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs id='defs15'/%3E%3Csodipodi:namedview id='namedview13' pagecolor='%23505050' bordercolor='%23eeeeee' borderopacity='1' inkscape:showpageshadow='0' inkscape:pageopacity='0' inkscape:pagecheckerboard='0' inkscape:deskcolor='%23505050' showgrid='false' inkscape:zoom='4.954023' inkscape:cx='130.60093' inkscape:cy='33.00348' inkscape:window-width='1920' inkscape:window-height='1019' inkscape:window-x='0' inkscape:window-y='30' inkscape:window-maximized='1' inkscape:current-layer='svg11'/%3E%3Csymbol id='logo-symbol-wordmark'%3E%3Cpath d=' M 26.678 24.516 C 27.103 24.106 27.5 23.667 27.866 23.203 L 7.426 23.203 L 7.426 23.203 C 7.78 23.653 8.164 24.078 8.573 24.477 L 7.426 26.645 L 9.327 27.88 L 11.227 29.114 L 12.726 27.203 C 13.505 27.522 14.32 27.767 15.165 27.931 L 15.38 30.326 L 17.646 30.326 L 19.912 30.326 L 20.127 27.931 C 20.955 27.771 21.755 27.532 22.519 27.222 L 24.004 29.114 L 25.904 27.88 L 27.805 26.645 L 26.678 24.516 Z ' fill='rgb(97,95,248)' id='path2'/%3E%3Cpath d=' M 8.613 5.81 C 8.189 6.22 7.792 6.659 7.426 7.123 L 27.866 7.123 L 27.866 7.123 C 27.512 6.673 27.128 6.248 26.719 5.849 L 27.866 3.681 L 25.965 2.446 L 24.064 1.212 L 22.565 3.123 C 21.787 2.804 20.972 2.559 20.127 2.395 L 19.912 0 L 17.646 0 L 15.38 0 L 15.165 2.395 C 14.337 2.555 13.537 2.794 12.773 3.104 L 11.288 1.212 L 9.388 2.446 L 7.487 3.681 L 8.613 5.81 Z ' fill='rgb(97,95,248)' id='path4'/%3E%3Cpath d=' M 9.982 21.387 L 9.982 21.387 L 4.377 21.387 L 4.377 21.387 Q 2.153 21.387 1.077 20.498 L 1.077 20.498 L 1.077 20.498 Q 0 19.608 0 17.758 L 0 17.758 L 0 12.206 L 0 12.206 Q 0 10.355 1.077 9.466 L 1.077 9.466 L 1.077 9.466 Q 2.153 8.576 4.377 8.576 L 4.377 8.576 L 8.826 8.576 L 8.826 8.576 Q 9.164 8.576 9.315 8.727 L 9.315 8.727 L 9.315 8.727 Q 9.466 8.879 9.466 9.217 L 9.466 9.217 L 9.466 11.37 L 9.466 11.37 Q 9.466 11.708 9.315 11.859 L 9.315 11.859 L 9.315 11.859 Q 9.164 12.01 8.826 12.01 L 8.826 12.01 L 5.125 12.01 L 5.125 12.01 Q 4.573 12.01 4.306 12.233 L 4.306 12.233 L 4.306 12.233 Q 4.039 12.455 4.039 12.9 L 4.039 12.9 L 4.039 17.153 L 4.039 17.153 Q 4.039 17.597 4.244 17.811 L 4.244 17.811 L 4.244 17.811 Q 4.448 18.024 4.858 18.024 L 4.858 18.024 L 6.584 18.024 L 6.584 15.249 L 6.584 15.249 Q 6.584 14.911 6.735 14.759 L 6.735 14.759 L 6.735 14.759 Q 6.886 14.608 7.224 14.608 L 7.224 14.608 L 9.982 14.608 L 9.982 14.608 Q 10.32 14.608 10.471 14.759 L 10.471 14.759 L 10.471 14.759 Q 10.623 14.911 10.623 15.249 L 10.623 15.249 L 10.623 20.747 L 10.623 20.747 Q 10.623 21.085 10.471 21.236 L 10.471 21.236 L 10.471 21.236 Q 10.32 21.387 9.982 21.387 Z M 21.69 21.387 L 21.69 21.387 L 13.434 21.387 L 13.434 21.387 Q 13.096 21.387 12.945 21.236 L 12.945 21.236 L 12.945 21.236 Q 12.793 21.085 12.793 20.747 L 12.793 20.747 L 12.793 9.217 L 12.793 9.217 Q 12.793 8.879 12.945 8.727 L 12.945 8.727 L 12.945 8.727 Q 13.096 8.576 13.434 8.576 L 13.434 8.576 L 21.69 8.576 L 21.69 8.576 Q 22.028 8.576 22.18 8.727 L 22.18 8.727 L 22.18 8.727 Q 22.331 8.879 22.331 9.217 L 22.331 9.217 L 22.331 11.299 L 22.331 11.299 Q 22.331 11.637 22.18 11.788 L 22.18 11.788 L 22.18 11.788 Q 22.028 11.939 21.69 11.939 L 21.69 11.939 L 16.779 11.939 L 16.779 13.309 L 20.249 13.309 L 20.249 13.309 Q 20.587 13.309 20.738 13.46 L 20.738 13.46 L 20.738 13.46 Q 20.889 13.612 20.889 13.95 L 20.889 13.95 L 20.889 15.854 L 20.889 15.854 Q 20.889 16.192 20.738 16.343 L 20.738 16.343 L 20.738 16.343 Q 20.587 16.494 20.249 16.494 L 20.249 16.494 L 16.779 16.494 L 16.779 18.024 L 21.69 18.024 L 21.69 18.024 Q 22.028 18.024 22.18 18.176 L
}
}
.theme-elephant-light {
/** Invert logo for light theme **/
.navigation-panel__logo > .column-link--logo,
.ui__header__logo {
filter: hue-rotate(180deg) invert(0.9) saturate(6.5);
}
}