Theme to make the Gnome Shell Extension website actually look like Gnome.
Gnome Shell Extension by Tiago
Details
AuthorTiago
LicenseNo License
Categoryextensions.gnome.org
Created
Updated
Size8.8 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Dark mode is not available yet.
Source code
/* ==UserStyle==
@name Gnome Shell Extension
@namespace github.com/openstyles/stylus
@version 2.5.2
@description Making GNOME Shell Extension match the Adwaita look
@author Tiago
@var text font-size 'Font size' 12pt
@var number max-width 'Maximum content width' 580
// UserCSS: https://github.com/openstyles/stylus/wiki/Writing-UserCSS
==/UserStyle== */
@-moz-document domain("extensions.gnome.org") {
/* apply font size */
body {
font-size: var(--font-size);
}
/* nav bar */
.navbar-default {
background-color: white;
border-color: transparent;
box-shadow: 0 0 10px #8080804a;
}
.navbar-default .navbar-nav > li {
margin-left: 3px;
}
.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a:hover {
font-size: 1em;
color: black;
margin: 6px 0;
border-radius: 6px;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
color: black;
background-color: #e6e6e6;
}
.navbar-header {
filter: invert(1);
}
@media (max-width: 768px) {
.navbar-default .navbar-nav > li > a:hover {
background-color: #161616;
}
}
@media (min-width: 768px) {
.gnome-navbar-brand {
visibility: hidden;
}
.navbar-nav {
float: unset;
display: flex;
margin: 0;
flex-direction: row;
justify-content: center;
}
.navbar-nav > li > a {
padding-top: .8em;
padding-bottom: .8em;
}
}
/* inputs */
input[type=text],
input[type=password] {
background-color: #ebebeb;
box-shadow: none;
border: none;
}
input[type=text]:active,
input[type=text]:focus,
input[type=password]:active,
input[type=password]:focus {
box-shadow: inset 0 0 0 2px #83aee2;
}
/* main */
body {
background: #fafafa;
}
#search-bar {
margin-bottom: 24px;
}
#container:not(:has(#comments)) {
max-width: calc(var(--max-width) * 1px)
}
/* message info */
p.message.info {
border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5bAjgxVCTx+F/YB0r2WuP4MFYBoXNKwx4xy6zvUNSD9S6HMOABA8+QOFIBlhOWkUIYcIMfALL4CzL3k/S2UMQcI0GAj1ybM/IYqKjm1RFSdi+F/asabAnxRKaEAAAAASUVORK5CYII=);
background-size: 4%;
}
/* page selector */
.paginator {
display: block;
background-color: inherit;
border: none;
padding: .5em;
}
.paginator .number,
.fsui-dropdown-link {
border-radius: 6px;
padding: .3em;
min-width: 2.2em;
height: 2.2em;
}
.paginator .number.current,
.fsui-dropdown-link.selected {
background-color: #d7d7d7;
border: none;
}
/* configure list items */
.extension.configurable .configure-button,
.extension.upgradable .upgrade-button,
.extension.installed .uninstall-button {
height: 34px;
width: 34px;
border-width: 0;
margin-right: 6px;
border-radius: 6px;
}
/* sections */
#extensions-list,
.gnome-content:has(#local_extensions) {
padding: 0;
background-color: white;
box-shadow: 0 .4rem .8rem rgba(0, 0, 0, .2);
border-radius: 12px;
overflow: hidden;
& > div {
padding: 0;
}
& > div > *:not([id]) {
padding: 18px;
}
}
ul.extensions > li,
.extensions {
padding: .5rem 1rem;
}
.extension, .setting {
padding: 18px;
}
/* switch */
._gnome-switch {
float: right !important;
margin: 4px 0 4px .5em !important;
color: transparent;
width: 48px;
font-size: 26px;
line-height: 1;
border-radius: 99px;
overflow: hidden;
margin-top: 7px !important;
}
._gnome-switch .off,
._gnome-switch .on {
width: 50%;
border: none;
text-shadow: none;
background: #e0e0e0;
transition: background 100ms ease;
}
._gnome-switch.activated .off,
._gnome-switch.activated .on {
background: #3584e4;
}
._gnome-switch .slider {
background-color: #fff;
border: none;
border-radius: 50%;
height: 24px;
width: 24px;
top: 2px;
box-shadow: 0 2px 4px #0003;
}
._gnome-switch .slider {
left: 2px !important;
}
._gnome-switch.activated .slider {
left: 22px !important;
}
._gnome-switch .slider .handle {
display: none;
}
._gnome-switch.customized .custom-content {
color: white;
text-shadow: none;
border-width: 0;
padding: .5em;
font-size: .6em;
}
}