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

86 lines
15 KiB
SCSS

.theme-elephant,
.theme-elephant-contrast,
.theme-elephant-light {
/**background-color: var(--color-bg); ** TODO: Use a :not() to override legacy pages **
** Style login/sign-up **
.new_user {
.btn {
border-radius: 9999px;
text-transform: unset;
transition: all .2s;
}
.label_input__append {
&::after {
background-image: unset;
}
}
input {
&.string,
&.text {
background-color: var(--color-mud);
border-color: var(--color-mud);
color: var(--color-dim);
font-size: var(--font-size);
}
&.string {
border-radius: 32px;
height: 42px;
padding: 0 20px;
}
&.text {
border-radius: var(--border-radius);
}
}
}**/
/** Add shadows around dropdowns/popouts **/
.dropdown-animation,
.picture-in-picture {
/**.video-modal__container .video-player,
.modal-root__container .gifv {**/
box-shadow: 0 0 20px rgba(0,0,0,0.35);
}
/** Fix PIP quirks **/
.picture-in-picture {
.video-player.inline {
border-radius: unset;
outline: unset;
}
border-radius: var(--border-radius);
}
/** 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 {
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 22.18 18.176 L 22.18 18.176 Q 22.331 18.327 22.331 18.665 L 22.331 18.665 L 22.331 20.747 L 22.331 20.747 Q 22.331 21.085 22.18 21.236 L 22.18 21.236 L 22.18 21.236 Q 22.028 21.387 21.69 21.387 Z M 29.074 12.313 L 29.074 12.313 L 28.238 15.017 L 31.032 15.017 L 30.195 12.313 L 30.195 12.313 Q 30.124 12.153 30.044 12.081 L 30.044 12.081 L 30.044 12.081 Q 29.964 12.01 29.857 12.01 L 29.857 12.01 L 29.413 12.01 L 29.413 12.01 Q 29.306 12.01 29.226 12.081 L 29.226 12.081 L 29.226 12.081 Q 29.146 12.153 29.074 12.313 Z M 28.06 18.256 L 28.06 20.747 L 28.06 20.747 Q 28.06 21.085 27.909 21.236 L 27.909 21.236 L 27.909 21.236 Q 27.758 21.387 27.42 21.387 L 27.42 21.387 L 24.804 21.387 L 24.804 21.387 Q 24.466 21.387 24.315 21.236 L 24.315 21.236 L 24.315 21.236 Q 24.163 21.085 24.163 20.747 L 24.163 20.747 L 24.163 16.049 L 24.163 16.049 Q 24.163 15.516 24.333 14.822 L 24.333 14.822 L 24.333 14.822 Q 24.502 14.128 24.857 13.202 L 24.857 13.202 L 26.405 9.163 L 26.405 9.163 Q 26.512 8.861 26.735 8.718 L 26.735 8.718 L 26.735 8.718 Q 26.957 8.576 27.313 8.576 L 27.313 8.576 L 32.099 8.576 L 32.099 8.576 Q 32.437 8.576 32.66 8.718 L 32.66 8.718 L 32.66 8.718 Q 32.882 8.861 32.989 9.163 L 32.989 9.163 L 34.537 13.202 L 34.537 13.202 Q 34.893 14.128 35.062 14.822 L 35.062 14.822 L 35.062 14.822 Q 35.231 15.516 35.231 16.049 L 35.231 16.049 L 35.231 20.747 L 35.231 20.747 Q 35.231 21.085 35.08 21.236 L 35.08 21.236 L 35.08 21.236 Q 34.929 21.387 34.59 21.387 L 34.59 21.387 L 31.904 21.387 L 31.904 21.387 Q 31.548 21.387 31.379 21.236 L 31.379 21.236 L 31.379 21.236 Q 31.21 21.085 31.21 20.747 L 31.21 20.747 L 31.21 18.256 L 28.06 18.256 Z M 42.775 11.779 L 41.441 11.779 L 41.441 14.057 L 42.775 14.057 L 42.775 14.057 Q 43.238 14.057 43.398 13.816 L 43.398 13.816 L 43.398 13.816 Q 43.558 13.576 43.558 13.22 L 43.558 13.22 L 43.558 12.615 L 43.558 12.615 Q 43.558 12.259 43.398 12.019 L 43.398 12.019 L 43.398 12.019 Q 43.238 11.779 42.775 11.779 L 42.775 11.779 Z M 40.8 21.387 L 40.8 21.387 L 38.06 21.387 L 38.06 21.387 Q 37.722 21.387 37.571 21.236 L 37.571 21.236 L 37.571 21.236 Q 37.42 21.085 37.42 20.747 L 37.42 20.747 L 37.42 9.217 L 37.42 9.217 Q 37.42 8.879 37.571 8.727 L 37.571 8.727 L 37.571 8.727 Q 37.722 8.576 38.06 8.576 L 38.06 8.576 L 43.985 8.576 L 43.985 8.576 Q 45.978 8.576 46.734 9.404 L 46.734 9.404 L 46.734 9.404 Q 47.491 10.231 47.491 11.548 L 47.491 11.548 L 47.491 12.366 L 47.491 12.366 Q 47.491 13.113 47.268 13.638 L 47.268 13.638 L 47.268 13.638 Q 47.046 14.163 46.494 14.395 L 46.494 14.395 L 46.494 14.395 Q 47.455 14.501 48.051 15.177 L 48.051 15.177 L 48.051 15.177 Q 48.647 15.854 48.647 16.975 L 48.647 16.975 L 48.647 20.747 L 48.647 20.747 Q 48.647 21.085 48.496 21.236 L 48.496 21.236 L 48.496 21.236 Q 48.345 21.387 48.007 21.387 L 48.007 21.387 L 45.249 21.387 L 45.249 21.387 Q 44.911 21.387 44.759 21.236 L 44.759 21.236 L 44.759 21.236 Q 44.608 21.085 44.608 20.747 L 44.608 20.747 L 44.608 18.024 L 44.608 18.024 Q 44.608 17.633 44.457 17.446 L 44.457 17.446 L 44.457 17.446 Q 44.306 17.259 43.932 17.259 L 43.932 17.259 L 41.441 17.259 L 41.441 20.747 L 41.441 20.747 Q 41.441 21.085 41.29 21.236 L 41.29 21.236 L 41.29 21.236 Q 41.138 21.387 40.8 21.387 Z M 54.039 21.387 L 54.039 21.387 L 51.281 21.387 L 51.281 21.387 Q 50.943 21.387 50.791 21.236 L 50.791 21.236 L 50.791 21.236 Q 50.64 21.085 50.64 20.747 L 50.64 20.747 L 50.64 9.217 L 50.64 9.217 Q 50.64 8.879 50.791 8.727 L 50.791 8.727 L 50.791 8.727 Q 50.943 8.576 51.281 8.576 L 51.281 8.576 L 54.039 8.576 L 54.039 8.576 Q 54.377 8.576 54.528 8.727 L 54.528 8.727 L 54.528 8.727 Q 54.679 8.879 54.679 9.217 L 54.679 9.217 L 54.679 13.078 L 57.651 13.078 L 57.651 9.217 L 57.651 9.217 Q 57.651 8.879 57.802 8.727 L 57.802 8.727 L 57.802 8.727 Q 57.953 8.576 58.291 8.576 L 58.291 8.576 L 61.049 8.576 L 61.049 8.576 Q 61.387 8.576 61.539 8.727 L 61.539 8.727 L 61.539 8.727 Q 61.69 8.879 61.69 9.217 L 61.69 9.217 L 61.69 20.747 L 61.69 20.747 Q 61.69 21.085 61.539 21.236 L 61.539 21.236 L 61.539 21.236 Q 61.387 21.387 61.049 21.387 L 61.049 21.387 L 58.291 21.387 L 58.291 21.387 Q 57.953 21.387 57.802 21.236 L 57.802 21.236 L 57.802 21.236 Q 57.651 21.085 57.651 20.747 L 57.651 20.747 L 57.651 16.797 L 54.679 16.797 L 54.679 20.747 L 54.679 20.747 Q 54.679 21.085 54.528 21.236 L 54.528 21.236 L 54.528 21.236 Q 54.377 21.387 54.039 21.387 Z M 73.042 21.387 L 73.042 21.387 L 64.786 21.387 L 64.786 21.387 Q 64.448 21.387 64.297 21.236 L 64.297 21.236 L 64.297 21.236 Q 64.145 21.085 64.145 20.747 L 64.145 20.747 L 64.145 9.217 L 64.145 9.217 Q 64.145 8.879 64.297 8.727 L 64.297 8.727 L 64.297 8.727 Q 64.448 8.576 64.786 8.576 L 64.786 8.576 L 73.042 8.576 L 73.042 8.576 Q 73.38 8.576 73.531 8.727 L 73.531 8.727 L 73.531 8.727 Q 73.683 8.879 73.683 9.217 L 73.683 9.217 L 73.683 11.299 L 73.683 11.299 Q 73.683 11.637 73.531 11.788 L 73.531 11.788 L 73.531 11.788 Q 73.38 11.939 73.042 11.939 L 73.042 11.939 L 68.131 11.939 L 68.131 13.309 L 71.601 13.309 L 71.601 13.309 Q 71.939 13.309 72.09 13.46 L 72.09 13.46 L 72.09 13.46 Q 72.241 13.612 72.241 13.95 L 72.241 13.95 L 72.241 15.854 L 72.241 15.854 Q 72.241 16.192 72.09 16.343 L 72.09 16.343 L 72.09 16.343 Q 71.939 16.494 71.601 16.494 L 71.601 16.494 L 68.131 16.494 L 68.131 18.024 L 73.042 18.024 L 73.042 18.024 Q 73.38 18.024 73.531 18.176 L 73.531 18.176 L 73.531 18.176 Q 73.683 18.327 73.683 18.665 L 73.683 18.665 L 73.683 20.747 L 73.683 20.747 Q 73.683 21.085 73.531 21.236 L 73.531 21.236 L 73.531 21.236 Q 73.38 21.387 73.042 21.387 Z M 80.426 12.313 L 80.426 12.313 L 79.59 15.017 L 82.384 15.017 L 81.547 12.313 L 81.547 12.313 Q 81.476 12.153 81.396 12.081 L 81.396 12.081 L 81.396 12.081 Q 81.316 12.01 81.209 12.01 L 81.209 12.01 L 80.764 12.01 L 80.764 12.01 Q 80.658 12.01 80.578 12.081 L 80.578 12.081 L 80.578 12.081 Q 80.497 12.153 80.426 12.313 Z M 79.412 18.256 L 79.412 20.747 L 79.412 20.747 Q 79.412 21.085 79.261 21.236 L 79.261 21.236 L 79.261 21.236 Q 79.11 21.387 78.772 21.387 L 78.772 21.387 L 76.156 21.387 L 76.156 21.387 Q 75.818 21.387 75.667 21.236 L 75.667 21.236 L 75.667 21.236 Q 75.515 21.085 75.515 20.747 L 75.515 20.747 L 75.515 16.049 L 75.515 16.049 Q 75.515 15.516 75.684 14.822 L 75.684 14.822 L 75.684 14.822 Q 75.853 14.128 76.209 13.202 L 76.209 13.202 L 77.757 9.163 L 77.757 9.163 Q 77.864 8.861 78.086 8.718 L 78.086 8.718 L 78.086 8.718 Q 78.309 8.576 78.665 8.576 L 78.665 8.576 L 83.451 8.576 L 83.451 8.576 Q 83.789 8.576 84.012 8.718 L 84.012 8.718 L 84.012 8.718 Q 84.234 8.861 84.341 9.163 L 84.341 9.163 L 85.889 13.202 L 85.889 13.202 Q 86.245 14.128 86.414 14.822 L 86.414 14.822 L 86.414 14.822 Q 86.583 15.516 86.583 16.049 L 86.583 16.049 L 86.583 20.747 L 86.583 20.747 Q 86.583 21.085 86.432 21.236 L 86.432 21.236 L 86.432 21.236 Q 86.28 21.387 85.942 21.387 L 85.942 21.387 L 83.255 21.387 L 83.255 21.387 Q 82.9 21.387 82.731 21.236 L 82.731 21.236 L 82.731 21.236 Q 82.562 21.085 82.562 20.747 L 82.562 20.747 L 82.562 18.256 L 79.412 18.256 Z M 95.408 21.387 L 95.408 21.387 L 89.412 21.387 L 89.412 21.387 Q 89.074 21.387 88.923 21.236 L 88.923 21.236 L 88.923 21.236 Q 88.771 21.085 88.771 20.747 L 88.771 20.747 L 88.771 9.217 L 88.771 9.217 Q 88.771 8.879 88.923 8.727 L 88.923 8.727 L 88.923 8.727 Q 89.074 8.576 89.412 8.576 L 89.412 8.576 L 95.408 8.576 L 95.408 8.576 Q 97.633 8.576 98.709 9.466 L 98.709 9.466 L 98.709 9.466 Q 99.786 10.355 99.786 12.206 L 99.786 12.206 L 99.786 17.758 L 99.786 17.758 Q 99.786 19.608 98.709 20.498 L 98.709 20.498 L 98.709 20.498 Q 97.633 21.387 95.408 21.387 Z M 94.928 11.975 L 92.811 11.975 L 92.811 18.024 L 94.928 18.024 L 94.928 18.024 Q 95.355 18.024 95.56 17.811 L 95.56 17.811 L 95.56 17.811 Q 95.764 17.597 95.764 17.153 L 95.764 17.153 L 95.764 12.829 L 95.764 12.829 Q 95.764 12.384 95.56 12.179 L 95.56 12.179 L 95.56 12.179 Q 95.355 11.975 94.928 11.975 L 94.928 11.975 Z M 107.988 21.387 L 107.988 21.387 L 102.366 21.387 L 102.366 21.387 Q 102.028 21.387 101.876 21.236 L 101.876 21.236 L 101.876 21.236 Q 101.725 21.085 101.725 20.747 L 101.725 20.747 L 101.725 18.665 L 101.725 18.665 Q 101.725 18.327 101.876 18.176 L 101.876 18.176 L 101.876 18.176 Q 102.028 18.024 102.366 18.024 L 102.366 18.024 L 107.152 18.024 L 107.152 18.024 Q 107.383 18.024 107.499 17.873 L 107.499 17.873 L 107.499 17.873 Q 107.615 17.722 107.615 17.508 L 107.615 17.508 L 107.615 17.508 Q 107.615 17.206 107.499 17.064 L 107.499 17.064 L 107.499 17.064 Q 107.383 16.921 107.152 16.903 L 107.152 16.903 L 104.483 16.53 L 104.483 16.53 Q 103.237 16.352 102.481 15.711 L 102.481 15.711 L 102.481 15.711 Q 101.725 15.071 101.725 13.576 L 101.725 13.576 L 101.725 11.708 L 101.725 11.708 Q 101.725 10.195 102.704 9.386 L 102.704 9.386 L 102.704 9.386 Q 103.682 8.576 105.408 8.576 L 105.408 8.576 L 110.39 8.576 L 110.39 8.576 Q 110.729 8.576 110.88 8.727 L 110.88 8.727 L 110.88 8.727 Q 111.031 8.879 111.031 9.217 L 111.031 9.217 L 111.031 11.334 L 111.031 11.334 Q 111.031 11.672 110.88 11.823 L 110.88 11.823 L 110.88 11.823 Q 110.729 11.975 110.39 11.975 L 110.39 11.975 L 106.245 11.975 L 106.245 11.975 Q 106.013 11.975 105.889 12.126 L 105.889 12.126 L 105.889 12.126 Q 105.764 12.277 105.764 12.508 L 105.764 12.508 L 105.764 12.508 Q 105.764 12.74 105.889 12.9 L 105.889 12.9 L 105.889 12.9 Q 106.013 13.06 106.245 13.078 L 106.245 13.078 L 108.896 13.434 L 108.896 13.434 Q 110.141 13.612 110.906 14.252 L 110.906 14.252 L 110.906 14.252 Q 111.672 14.893 111.672 16.387 L 111.672 16.387 L 111.672 18.256 L 111.672 18.256 Q 111.672 19.768 110.684 20.578 L 110.684 20.578 L 110.684 20.578 Q 109.696 21.387 107.988 21.387 Z ' fill='rgb(255,255,255)' id='path6'/%3E%3C/symbol%3E%3Cuse xlink:href='%23logo-symbol-wordmark' style='' id='use9' transform='scale(2.1763503)'/%3E%3C/svg%3E");
}
}
.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);
}
}