Gnome-Shell: reduce font size

This commit is contained in:
Daniel Ruiz de Alegría 2022-02-28 22:08:29 +01:00
parent 79b1f40a43
commit 886215c7cd
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C
4 changed files with 27 additions and 23 deletions

View File

@ -19,7 +19,7 @@
*/ */
/* Global Values */ /* Global Values */
stage { stage {
font-size: 11pt; font-size: 10pt;
color: #eeeeec; } color: #eeeeec; }
/* Common Stylings */ /* Common Stylings */
@ -599,7 +599,7 @@ StScrollBar {
background-image: url("assets/calendar-today.svg"); background-image: url("assets/calendar-today.svg");
background-size: contain; } background-size: contain; }
.calendar .calendar-week-number { .calendar .calendar-week-number {
font-size: 7pt; font-size: 6pt;
font-weight: bold; font-weight: bold;
font-feature-settings: "tnum"; font-feature-settings: "tnum";
margin: 6px; margin: 6px;
@ -814,7 +814,7 @@ StScrollBar {
padding: 0 8px; } padding: 0 8px; }
.message .message-secondary-bin > .event-time { .message .message-secondary-bin > .event-time {
color: rgba(238, 238, 236, 0.5); color: rgba(238, 238, 236, 0.5);
font-size: 9pt; font-size: 8pt;
/* HACK: the label should be baseline-aligned with a 1em label, fake this with some bottom padding */ /* HACK: the label should be baseline-aligned with a 1em label, fake this with some bottom padding */
padding-bottom: 0.13em; } padding-bottom: 0.13em; }
.message .message-secondary-bin > .event-time:ltr { .message .message-secondary-bin > .event-time:ltr {
@ -919,7 +919,7 @@ StScrollBar {
spacing: 0; } spacing: 0; }
.summary-source-counter { .summary-source-counter {
font-size: 10pt; font-size: 9pt;
font-weight: bold; font-weight: bold;
height: 1.6em; height: 1.6em;
width: 1.6em; width: 1.6em;
@ -958,7 +958,7 @@ StScrollBar {
.chat-meta-message { .chat-meta-message {
padding-left: 4px; padding-left: 4px;
font-size: 9pt; font-size: 8pt;
font-weight: bold; font-weight: bold;
color: white; } color: white; }
.chat-meta-message:rtl { .chat-meta-message:rtl {
@ -1997,7 +1997,7 @@ StScrollBar {
spacing: 4px; } spacing: 4px; }
.keyboard-key { .keyboard-key {
font-size: 16pt; font-size: 15pt;
font-weight: bold; font-weight: bold;
min-height: 1.2em; min-height: 1.2em;
min-width: 1.2em; min-width: 1.2em;
@ -2109,7 +2109,7 @@ StScrollBar {
background-color: #2777ff; } background-color: #2777ff; }
.word-suggestions { .word-suggestions {
font-size: 14pt; font-size: 13pt;
spacing: 12px; spacing: 12px;
min-height: 20pt; min-height: 20pt;
padding: 12px; padding: 12px;
@ -2404,7 +2404,7 @@ StScrollBar {
color: #ffffff; } color: #ffffff; }
.login-dialog-auth-list-label { .login-dialog-auth-list-label {
font-size: 13pt; font-size: 12pt;
font-weight: bold; font-weight: bold;
padding-left: 15px; } padding-left: 15px; }
.login-dialog-auth-list-label:ltr { .login-dialog-auth-list-label:ltr {
@ -2445,7 +2445,7 @@ StScrollBar {
color: white; } color: white; }
.user-widget.horizontal .user-widget-label { .user-widget.horizontal .user-widget-label {
font-size: 13pt; font-size: 12pt;
font-weight: bold; font-weight: bold;
padding-left: 15px; } padding-left: 15px; }
.user-widget.horizontal .user-widget-label:ltr { .user-widget.horizontal .user-widget-label:ltr {
@ -2456,7 +2456,7 @@ StScrollBar {
text-align: right; } text-align: right; }
.user-widget.vertical .user-widget-label { .user-widget.vertical .user-widget-label {
font-size: 16pt; font-size: 15pt;
text-align: center; text-align: center;
font-weight: normal; font-weight: normal;
padding-top: 16px; } padding-top: 16px; }
@ -2476,7 +2476,7 @@ StScrollBar {
.login-dialog-prompt-label { .login-dialog-prompt-label {
color: #cccccc; color: #cccccc;
font-size: 12pt; font-size: 11pt;
padding-top: 1em; } padding-top: 1em; }
.login-dialog StEntry { .login-dialog StEntry {

View File

@ -19,7 +19,7 @@
*/ */
/* Global Values */ /* Global Values */
stage { stage {
font-size: 11pt; font-size: 10pt;
color: #5c616c; } color: #5c616c; }
/* Common Stylings */ /* Common Stylings */
@ -599,7 +599,7 @@ StScrollBar {
background-image: url("assets/calendar-today-light.svg"); background-image: url("assets/calendar-today-light.svg");
background-size: contain; } background-size: contain; }
.calendar .calendar-week-number { .calendar .calendar-week-number {
font-size: 7pt; font-size: 6pt;
font-weight: bold; font-weight: bold;
font-feature-settings: "tnum"; font-feature-settings: "tnum";
margin: 6px; margin: 6px;
@ -814,7 +814,7 @@ StScrollBar {
padding: 0 8px; } padding: 0 8px; }
.message .message-secondary-bin > .event-time { .message .message-secondary-bin > .event-time {
color: rgba(92, 97, 108, 0.5); color: rgba(92, 97, 108, 0.5);
font-size: 9pt; font-size: 8pt;
/* HACK: the label should be baseline-aligned with a 1em label, fake this with some bottom padding */ /* HACK: the label should be baseline-aligned with a 1em label, fake this with some bottom padding */
padding-bottom: 0.13em; } padding-bottom: 0.13em; }
.message .message-secondary-bin > .event-time:ltr { .message .message-secondary-bin > .event-time:ltr {
@ -919,7 +919,7 @@ StScrollBar {
spacing: 0; } spacing: 0; }
.summary-source-counter { .summary-source-counter {
font-size: 10pt; font-size: 9pt;
font-weight: bold; font-weight: bold;
height: 1.6em; height: 1.6em;
width: 1.6em; width: 1.6em;
@ -958,7 +958,7 @@ StScrollBar {
.chat-meta-message { .chat-meta-message {
padding-left: 4px; padding-left: 4px;
font-size: 9pt; font-size: 8pt;
font-weight: bold; font-weight: bold;
color: #898f9b; } color: #898f9b; }
.chat-meta-message:rtl { .chat-meta-message:rtl {
@ -1997,7 +1997,7 @@ StScrollBar {
spacing: 4px; } spacing: 4px; }
.keyboard-key { .keyboard-key {
font-size: 16pt; font-size: 15pt;
font-weight: bold; font-weight: bold;
min-height: 1.2em; min-height: 1.2em;
min-width: 1.2em; min-width: 1.2em;
@ -2109,7 +2109,7 @@ StScrollBar {
background-color: #2777ff; } background-color: #2777ff; }
.word-suggestions { .word-suggestions {
font-size: 14pt; font-size: 13pt;
spacing: 12px; spacing: 12px;
min-height: 20pt; min-height: 20pt;
padding: 12px; padding: 12px;
@ -2404,7 +2404,7 @@ StScrollBar {
color: #ffffff; } color: #ffffff; }
.login-dialog-auth-list-label { .login-dialog-auth-list-label {
font-size: 13pt; font-size: 12pt;
font-weight: bold; font-weight: bold;
padding-left: 15px; } padding-left: 15px; }
.login-dialog-auth-list-label:ltr { .login-dialog-auth-list-label:ltr {
@ -2445,7 +2445,7 @@ StScrollBar {
color: white; } color: white; }
.user-widget.horizontal .user-widget-label { .user-widget.horizontal .user-widget-label {
font-size: 13pt; font-size: 12pt;
font-weight: bold; font-weight: bold;
padding-left: 15px; } padding-left: 15px; }
.user-widget.horizontal .user-widget-label:ltr { .user-widget.horizontal .user-widget-label:ltr {
@ -2456,7 +2456,7 @@ StScrollBar {
text-align: right; } text-align: right; }
.user-widget.vertical .user-widget-label { .user-widget.vertical .user-widget-label {
font-size: 16pt; font-size: 15pt;
text-align: center; text-align: center;
font-weight: normal; font-weight: normal;
padding-top: 16px; } padding-top: 16px; }
@ -2476,7 +2476,7 @@ StScrollBar {
.login-dialog-prompt-label { .login-dialog-prompt-label {
color: #cccccc; color: #cccccc;
font-size: 12pt; font-size: 11pt;
padding-top: 1em; } padding-top: 1em; }
.unlock-dialog StEntry { .unlock-dialog StEntry {

View File

@ -48,7 +48,7 @@ $checked_bg_color: if($variant=='light', darken($bg_color, 7%), lighten($bg_colo
$checked_fg_color: if($variant=='light', darken($fg_color, 7%), lighten($fg_color, 9%)); $checked_fg_color: if($variant=='light', darken($fg_color, 7%), lighten($fg_color, 9%));
// fonts // fonts
$base_font_size: 11; $base_font_size: 10;
$text_shadow_color: if($variant == 'light', rgba(255,255,255,0.3), rgba(0,0,0,0.2)); $text_shadow_color: if($variant == 'light', rgba(255,255,255,0.3), rgba(0,0,0,0.2));
// icons // icons

View File

@ -0,0 +1,4 @@
51c51
< $base_font_size: 11;
---
> $base_font_size: 10;