From a97e72f2192ebb07c221acd4bb39840d10ac2c49 Mon Sep 17 00:00:00 2001
From: Bartłomiej Garbiec <garbiec@bartek.me>
Date: Mon, 20 May 2024 19:36:32 +0000
Subject: [PATCH] i18n: add Polish translation (#1148)
---
quartz/components/styles/explorer.scss | 27 +++++++++++++++------------
1 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/quartz/components/styles/explorer.scss b/quartz/components/styles/explorer.scss
index 955c269..55ea8aa 100644
--- a/quartz/components/styles/explorer.scss
+++ b/quartz/components/styles/explorer.scss
@@ -1,3 +1,5 @@
+@use "../../styles/variables.scss" as *;
+
button#explorer {
all: unset;
background-color: transparent;
@@ -81,16 +83,17 @@
align-items: center;
user-select: none;
- & li > a {
- // other selector is more specific, needs important
- color: var(--secondary) !important;
- opacity: 1 !important;
- font-size: 1.05rem !important;
+ & div > a {
+ color: var(--secondary);
+ font-family: var(--headerFont);
+ font-size: 0.95rem;
+ font-weight: $semiBoldWeight;
+ line-height: 1.5rem;
+ display: inline-block;
}
- & li > a:hover {
- // other selector is more specific, needs important
- color: var(--tertiary) !important;
+ & div > a:hover {
+ color: var(--tertiary);
}
& div > button {
@@ -103,15 +106,15 @@
padding-right: 0;
display: flex;
align-items: center;
+ font-family: var(--headerFont);
- & p {
+ & span {
font-size: 0.95rem;
display: inline-block;
color: var(--secondary);
- font-weight: 600;
+ font-weight: $semiBoldWeight;
margin: 0;
line-height: 1.5rem;
- font-weight: bold;
pointer-events: none;
}
}
@@ -125,7 +128,7 @@
backface-visibility: visible;
}
-div:has(> .folder-outer:not(.open)) > .folder-container > svg {
+li:has(> .folder-outer:not(.open)) > .folder-container > svg {
transform: rotate(-90deg);
}
--
Gitblit v1.10.0