From 57ec279491db97d2933f07127235d44e918472ce Mon Sep 17 00:00:00 2001 From: Ali MJ Al-Nasrawy Date: Mon, 29 Mar 2021 12:11:58 +0300 Subject: Move symlink symbol from html to css This should facilitate testing because this symbol will no longer a part of the entry text shown in html. --- data/style.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/style.scss b/data/style.scss index 9bfbeaf..be19342 100644 --- a/data/style.scss +++ b/data/style.scss @@ -94,7 +94,8 @@ a.symlink:hover { color: var(--symlink_link_color); } -.symlink-symbol { +.symlink-symbol::after { + content: "⇢"; display: inline-block; border: 1px solid var(--symlink_link_color); margin-left: 0.5rem; -- cgit v1.2.3 From cbbc438d5d5a1c9ac326a255270e56f3624eca0f Mon Sep 17 00:00:00 2001 From: Ali MJ Al-Nasrawy Date: Sun, 11 Apr 2021 20:54:19 +0300 Subject: CSS: remove unused symlink class --- data/style.scss | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'data') diff --git a/data/style.scss b/data/style.scss index be19342..82ab663 100644 --- a/data/style.scss +++ b/data/style.scss @@ -77,11 +77,6 @@ a.file:visited, color: var(--file_link_color); } -a.symlink, -a.symlink:visited { - color: var(--symlink_link_color); -} - a.directory:hover { color: var(--directory_link_color); } @@ -90,10 +85,6 @@ a.file:hover { color: var(--file_link_color); } -a.symlink:hover { - color: var(--symlink_link_color); -} - .symlink-symbol::after { content: "⇢"; display: inline-block; @@ -484,17 +475,12 @@ th span.active span { } a.root, - a.file, - a.symlink { + a.file { display: inline-block; flex: 1; padding: 0.5625rem 0; } - a.symlink { - width: 100%; - } - .back { display: flex; } -- cgit v1.2.3 From b9807ce23dff8a8ac0ae258b4d62d4042a6ff43c Mon Sep 17 00:00:00 2001 From: Ali MJ Al-Nasrawy Date: Sun, 11 Apr 2021 21:21:26 +0300 Subject: Don't use different syle for symlink symbol --- data/style.scss | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'data') diff --git a/data/style.scss b/data/style.scss index 82ab663..e94436a 100644 --- a/data/style.scss +++ b/data/style.scss @@ -88,7 +88,7 @@ a.file:hover { .symlink-symbol::after { content: "⇢"; display: inline-block; - border: 1px solid var(--symlink_link_color); + border: 1px solid; margin-left: 0.5rem; border-radius: 0.2rem; padding: 0 0.1rem; @@ -521,7 +521,6 @@ th span.active span { --text_color: #323232; --directory_link_color: #d02474; --file_link_color: #0086b3; - --symlink_link_color: #ed6a43; --table_background: #ffffff; --table_text_color: #323232; --table_header_background: #323232; @@ -566,7 +565,6 @@ th span.active span { --text_color: #fefefe; --directory_link_color: #03a9f4; --file_link_color: #ea95ff; - --symlink_link_color: #ff9800; --table_background: #353946; --table_text_color: #eeeeee; --table_header_background: #5294e2; @@ -611,7 +609,6 @@ th span.active span { --text_color: #efefef; --directory_link_color: #f0dfaf; --file_link_color: #87d6d5; - --symlink_link_color: #ffccee; --table_background: #4a4949; --table_text_color: #efefef; --table_header_background: #7f9f7f; @@ -656,7 +653,6 @@ th span.active span { --text_color: #f8f8f2; --directory_link_color: #f92672; --file_link_color: #a6e22e; - --symlink_link_color: #fd971f; --table_background: #3b3a32; --table_text_color: #f8f8f0; --table_header_background: #75715e; -- cgit v1.2.3