Skip to content

Commit

Permalink
Refactor shortcutLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
pronist committed Aug 18, 2024
1 parent 66c5abd commit 54456f3
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 24 deletions.
1 change: 1 addition & 0 deletions app.pug
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ html#hELLO(

style
include:postcss @/css/app.css
include:postcss @/css/shortcutLayer.css

script(fixed).
/**
Expand Down
20 changes: 20 additions & 0 deletions assets/css/shortcutLayer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#shortcutLayer {
@apply shadow-none bg-h-200 dark:bg-h-700;

.btn_doc_close {
@apply border-0 bg-h-700 text-h-200 dark:bg-h-600;
}

h2,
h3 {
@apply font-bold;
}

h2,
h3,
th,
td,
p {
@apply text-h-600 dark:text-h-200 border-h-300 dark:border-h-600;
}
}
3 changes: 1 addition & 2 deletions index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ extends app

block TIDORY
include views/Loader
include views/ScrollIndicator
include views/ShortcutLayer
s_t3
#index(
x-data='{ sidebar: false }'
class='pl-0 break-all <s_if_var_sidebar>xl:pl-s</s_if_var_sidebar>')
include views/Main
include views/Sidebar
include views/Indicator
include views/Top
include views/Bottom
22 changes: 0 additions & 22 deletions views/ShortcutLayer.pug

This file was deleted.

0 comments on commit 54456f3

Please sign in to comment.