aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2023-10-20 12:36:46 +0200
committerGravatar GitHub <noreply@github.com> 2023-10-20 12:36:46 +0200
commit3116fbdbc0095565995ee509e0037cced3120d0a (patch)
tree81f58556d3b220286e57fb65a7a647ba1beaa230
parented07055ace8618b33da2ee234600f7a8964807ab (diff)
improved: Nord theme (#5689)
* fix border at the end of stream * bigMarkAsRead button * .nav_menu .btn * transition faster * improve the unread counter * config menu headlines * btn-attention * dropdown menu * fix pipeline * improve variables * slider border * border inputs * navigation hover * fix pipeline * .btn border + hover * subsc. mgm. border * menue more padding for the headline * dropdown + vars * scrollbar * sticky buttons * article + reader view * fix pipeline * fix dropdown-menu dropdown-header in header/footer of article * fix display config page * improve .box user queries * improve .box user queries * select * fix .stick .btn * kdb border * hover icons * vars optimized * icons updated * improve .stick * notifications * alerts improved * fix pipeline * theme-preview arrows * improve alerts colors * main feed navigation * .content * pagination --------- Co-authored-by: math-gh <>
-rw-r--r--p/themes/Nord/icons/help.svg7
-rw-r--r--p/themes/Nord/icons/link.svg6
-rw-r--r--p/themes/Nord/icons/read.svg33
-rw-r--r--p/themes/Nord/icons/share.svg8
-rw-r--r--p/themes/Nord/icons/starred.svg38
-rw-r--r--p/themes/Nord/icons/unread.svg41
-rw-r--r--p/themes/Nord/nord.css465
-rw-r--r--p/themes/Nord/nord.rtl.css465
8 files changed, 665 insertions, 398 deletions
diff --git a/p/themes/Nord/icons/help.svg b/p/themes/Nord/icons/help.svg
deleted file mode 100644
index 6277de425..000000000
--- a/p/themes/Nord/icons/help.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16">
-<g transform="translate(-182,-490)" fill="#8fbcbb">
-<path style="block-progression:tb;color:#bebebe;direction:ltr;text-indent:0;text-align:start;enable-background:accumulate;text-transform:none;" d="m190,490c-4.4147,0-8,3.5853-8,8s3.5853,8,8,8,8-3.5853,8-8-3.5853-8-8-8zm0,2c3.3413,0,6,2.6587,6,6s-2.6587,6-6,6-6-2.6587-6-6,2.6587-6,6-6z"/>
-<path style="block-progression:tb;color:#bebebe;direction:ltr;text-indent:0;text-align:start;enable-background:accumulate;text-transform:none;" d="M189.34,495c-1.28,0-2.34,1.06-2.34,2.34v1.3125c0,1.2861,1.0576,2.3438,2.3438,2.3438h1.3125c1.29,0.01,2.35-1.05,2.35-2.33v-1.3125c0-1.29-1.06-2.35-2.34-2.35h-1.3125zm0,1,1.3125,0c0.74942,0,1.3438,0.59433,1.3438,1.3438v1.3125c0.01,0.76-0.58,1.35-1.33,1.35h-1.3125c-0.76,0-1.35-0.59-1.35-1.34v-1.3125c0-0.76,0.59-1.35,1.34-1.35z"/>
-<path d="m186.72,491.44c-1.5103,0.6073-2.6811,1.7985-3.2812,3.3125l3.75,1.875c0.25196-0.64029,0.74249-1.1706,1.375-1.4375l-1.8438-3.75zm6.5625,0-1.8438,3.75c0.63251,0.26694,1.123,0.79721,1.375,1.4375l3.75-1.875c-0.60015-1.514-1.7709-2.7052-3.2812-3.3125zm-6.0938,8-3.75,1.875c0.60709,1.4886,1.789,2.65,3.2812,3.25l1.875-3.75c-0.62682-0.25556-1.1433-0.75203-1.4062-1.375zm5.625,0c-0.26291,0.62297-0.77943,1.1194-1.4062,1.375l1.875,3.75c1.4923-0.60005,2.6742-1.7614,3.2812-3.25l-3.75-1.875z"/>
-</g>
-</svg>
diff --git a/p/themes/Nord/icons/link.svg b/p/themes/Nord/icons/link.svg
index 44ee847b0..8f12a37d9 100644
--- a/p/themes/Nord/icons/link.svg
+++ b/p/themes/Nord/icons/link.svg
@@ -1,5 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17" height="17" viewBox="0 0 17 17" version="1.1">
-<g id="surface2">
-<path style=" stroke:none;fill-rule:nonzero;fill:rgb(32.54902%,32.54902%,32.54902%);fill-opacity:1;" d="M 8.5 0 C 3.816406 0 0 3.816406 0 8.5 C 0 13.183594 3.816406 17 8.5 17 C 13.183594 17 17 13.183594 17 8.5 C 17 3.816406 13.183594 0 8.5 0 Z M 5.480469 2.742188 C 4.609375 3.957031 3.78125 5.570312 3.558594 7.5 L 2.082031 7.5 C 2.402344 5.421875 3.691406 3.679688 5.480469 2.742188 Z M 11.515625 2.742188 C 13.308594 3.679688 14.597656 5.421875 14.914062 7.5 L 13.4375 7.5 C 13.21875 5.570312 12.390625 3.957031 11.515625 2.742188 Z M 7.5 3.4375 L 7.5 7.5 L 5.578125 7.5 C 5.839844 5.835938 6.695312 4.4375 7.5 3.4375 Z M 9.5 3.4375 C 10.304688 4.4375 11.160156 5.835938 11.421875 7.5 L 9.5 7.5 Z M 2.082031 9.5 L 3.554688 9.5 C 3.742188 11.328125 4.417969 12.871094 5.144531 14.066406 C 3.53125 13.09375 2.382812 11.441406 2.082031 9.5 Z M 5.570312 9.5 L 7.5 9.5 L 7.5 13.960938 C 6.734375 12.957031 5.820312 11.40625 5.570312 9.5 Z M 9.5 9.5 L 11.417969 9.5 C 11.160156 11.171875 10.304688 12.570312 9.5 13.5625 Z M 13.4375 9.5 L 14.914062 9.5 C 14.597656 11.578125 13.308594 13.324219 11.515625 14.257812 C 12.390625 13.042969 13.21875 11.429688 13.4375 9.5 Z M 13.4375 9.5 "/>
-</g>
-</svg> \ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17"><path d="M8.5 0C3.816 0 0 3.816 0 8.5S3.816 17 8.5 17 17 13.184 17 8.5 13.184 0 8.5 0ZM5.48 2.742C4.61 3.957 3.781 5.57 3.56 7.5H2.082A6.48 6.48 0 0 1 5.48 2.742Zm6.036 0A6.46 6.46 0 0 1 14.914 7.5h-1.476c-.22-1.93-1.047-3.543-1.922-4.758ZM7.5 3.438V7.5H5.578C5.84 5.836 6.695 4.437 7.5 3.437Zm2 0c.805 1 1.66 2.398 1.922 4.062H9.5ZM2.082 9.5h1.473c.187 1.828.863 3.371 1.59 4.566A6.489 6.489 0 0 1 2.082 9.5Zm3.488 0H7.5v4.46c-.766-1.003-1.68-2.554-1.93-4.46Zm3.93 0h1.918c-.258 1.672-1.113 3.07-1.918 4.063Zm3.938 0h1.476a6.454 6.454 0 0 1-3.398 4.758c.875-1.215 1.703-2.828 1.921-4.758Zm0 0" style="stroke:none;fill-rule:nonzero;fill:#66666f;fill-opacity:1"/></svg> \ No newline at end of file
diff --git a/p/themes/Nord/icons/read.svg b/p/themes/Nord/icons/read.svg
deleted file mode 100644
index 52f807826..000000000
--- a/p/themes/Nord/icons/read.svg
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg
- width="16"
- height="16.001"
- version="1.1"
- id="svg4431"
- sodipodi:docname="read.svg"
- inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:svg="http://www.w3.org/2000/svg">
- <defs
- id="defs4435" />
- <sodipodi:namedview
- id="namedview4433"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:showpageshadow="2"
- inkscape:pageopacity="0.0"
- inkscape:pagecheckerboard="0"
- inkscape:deskcolor="#d1d1d1"
- showgrid="false"
- inkscape:current-layer="svg4431" />
- <path
- fill="#666"
- d="M68.875 297a1 1 0 0 0-.5.25l-4.906 4a1 1 0 0 0-.063.031s-.326.297-.656.75c-.223.306-.353.832-.5 1.313a1 1 0 0 0-.031.03 1 1 0 0 0-.219.563v.032a1 1 0 0 0 0 .03 1 1 0 0 0 0 .157V312a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-7.844a1 1 0 0 0 0-.156 1 1 0 0 0-.219-.656 1 1 0 0 0-.031-.032 5.087 5.087 0 0 0-1.125-2 1 1 0 0 0-.031-.03l-4.97-4.02a1 1 0 0 0-.655-.25 1 1 0 0 0-.094 0zm.125 2.281 4.313 3.531.03.032c.022.025.181.25.344.5L69 306.874l-4.687-3.53c.025-.04.034-.088.062-.125.19-.262.319-.415.344-.438l.031-.031 4.25-3.47zm-5 5.094 4.688 3.531.312.219.313-.219L74 304.375V311H64v-6.625z"
- color="#000"
- style="block-progression:tb;text-indent:0;text-align:start;text-transform:none;fill:#ffffff"
- transform="translate(-61 -296.999)"
- id="path4429" />
-</svg>
diff --git a/p/themes/Nord/icons/share.svg b/p/themes/Nord/icons/share.svg
deleted file mode 100644
index 9dd146b4d..000000000
--- a/p/themes/Nord/icons/share.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16">
-<g fill="#8fbcbb" transform="translate(-581.0002,-196)">
-<path style="enable-background:new;color:#000000;" d="m291,178.03c0,1.0873-0.88144,1.9688-1.9688,1.9688-1.0873,0-1.9688-0.88144-1.9688-1.9688,0-1.0873,0.88144-1.9688,1.9688-1.9688,1.0873,0,1.9688,0.88144,1.9688,1.9688z" fill-rule="nonzero" transform="matrix(1.5079365,0,0,1.5079365,148.15963,-64.49107)"/>
-<path style="enable-background:new;color:#000000;" d="m291,178.03c0,1.0873-0.88144,1.9688-1.9688,1.9688-1.0873,0-1.9688-0.88144-1.9688-1.9688,0-1.0873,0.88144-1.9688,1.9688-1.9688,1.0873,0,1.9688,0.88144,1.9688,1.9688z" fill-rule="nonzero" transform="matrix(1.5079365,0,0,1.5079365,158.12818,-59.49107)"/>
-<path style="enable-background:new;color:#000000;" d="m291,178.03c0,1.0873-0.88144,1.9688-1.9688,1.9688-1.0873,0-1.9688-0.88144-1.9688-1.9688,0-1.0873,0.88144-1.9688,1.9688-1.9688,1.0873,0,1.9688,0.88144,1.9688,1.9688z" fill-rule="nonzero" transform="matrix(1.5079365,0,0,1.5079365,158.12818,-69.49107)"/>
-<path style="baseline-shift:baseline;block-progression:tb;color:#000000;direction:ltr;text-indent:0;text-align:start;enable-background:accumulate;text-transform:none;" d="m593.62,198.16-10.062,4.875-1.8125,0.90625,1.8125,0.90625,10.031,5.0625,0.90625-1.8125-8.2188-4.1562,8.2188-4-0.875-1.7812z"/>
-</g>
-</svg>
diff --git a/p/themes/Nord/icons/starred.svg b/p/themes/Nord/icons/starred.svg
index 2cd12812f..f9041c2c0 100644
--- a/p/themes/Nord/icons/starred.svg
+++ b/p/themes/Nord/icons/starred.svg
@@ -1,37 +1 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg
- height="16"
- width="16"
- version="1.1"
- id="svg14"
- sodipodi:docname="starred.svg"
- inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:svg="http://www.w3.org/2000/svg">
- <defs
- id="defs18" />
- <sodipodi:namedview
- id="namedview16"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:showpageshadow="2"
- inkscape:pageopacity="0.0"
- inkscape:pagecheckerboard="0"
- inkscape:deskcolor="#d1d1d1"
- showgrid="false"
- inkscape:current-layer="svg14" />
- <g
- transform="translate(-41.000202,-397)"
- id="g12">
- <path
- style="enable-background:accumulate;color:#000000;fill:#666666;fill-opacity:1"
- d="m530.95,186.71c-0.77941,0.55189-3.1576-1.906-4.1125-1.9179-0.95532-0.0119-3.3949,2.3858-4.161,1.8149-0.76573-0.57072,0.83698-3.592,0.55319-4.5039-0.2839-0.91223-3.3182-2.4915-3.0119-3.3965,0.30617-0.90461,3.6749-0.31399,4.4544-0.86567,0.77986-0.5519,1.3442-3.9257,2.2995-3.914,0.95494,0.0116,1.4342,3.398,2.1998,3.9689,0.76588,0.57114,4.1489,0.0653,4.4331,0.97746,0.28402,0.9118-2.7885,2.414-3.0949,3.3186-0.30652,0.90489,1.22,3.966,0.44027,4.5182z"
- fill-rule="nonzero"
- transform="matrix(1.0472113,-0.00871584,0.00871584,1.0472113,-504.35434,220.15425)"
- fill="#f1c40f"
- id="path10" />
- </g>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#f1c40f" d="M12.301 14.632c-.812.585-3.324-1.968-4.323-1.972-1.002-.004-3.534 2.53-4.341 1.938-.808-.59.843-3.769.538-4.721C3.87 8.924.677 7.298.99 6.347c.313-.95 3.846-.361 4.657-.946.812-.585 1.372-4.124 2.373-4.12 1 .004 1.532 3.546 2.34 4.137.806.59 4.344.03 4.65.983.306.952-2.898 2.553-3.21 3.503-.314.95 1.313 4.143.501 4.728z" style="color:#000;fill:#666;fill-opacity:1;stroke-width:1.04725;enable-background:accumulate"/></svg> \ No newline at end of file
diff --git a/p/themes/Nord/icons/unread.svg b/p/themes/Nord/icons/unread.svg
index b32c97683..4f5f95828 100644
--- a/p/themes/Nord/icons/unread.svg
+++ b/p/themes/Nord/icons/unread.svg
@@ -1,40 +1 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg
- height="16"
- width="16"
- version="1.1"
- id="svg26"
- sodipodi:docname="unread.svg"
- inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:svg="http://www.w3.org/2000/svg">
- <defs
- id="defs30" />
- <sodipodi:namedview
- id="namedview28"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:showpageshadow="2"
- inkscape:pageopacity="0.0"
- inkscape:pagecheckerboard="0"
- inkscape:deskcolor="#d1d1d1"
- showgrid="false"
- inkscape:current-layer="svg26" />
- <g
- transform="translate(-40.99995,-297)"
- fill="#e74c3c"
- id="g24"
- style="fill:#666666;fill-opacity:1">
- <path
- style="block-progression:tb;color:#000000;direction:ltr;text-indent:0;text-align:start;enable-background:accumulate;text-transform:none;fill:#666666;fill-opacity:1"
- d="m43.781,301a1.0001,1.0001,0,0,0,-0.40625,1.7812l5,4,0.625,0.5,0.625-0.5,5-4a1.0005,1.0005,0,1,0,-1.25,-1.5625l-4.375,3.5-4.375-3.5a1.0001,1.0001,0,0,0,-0.844,-0.22z"
- id="path20" />
- <path
- style="block-progression:tb;color:#000000;direction:ltr;text-indent:0;text-align:start;enable-background:accumulate;text-transform:none;fill:#666666;fill-opacity:1"
- d="M42.906,300a1.0001,1.0001,0,0,0,-0.906,1v9a1.0001,1.0001,0,0,0,1,1h12a1.0001,1.0001,0,0,0,1,-1v-9a1.0001,1.0001,0,0,0,-1,-1h-12a1.0001,1.0001,0,0,0,-0.09375,0zm1.094,2h10v7h-10v-7z"
- id="path22" />
- </g>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><g fill="#e74c3c" style="fill:#666;fill-opacity:1"><path d="M43.781 301a1 1 0 0 0-.406 1.781l5 4 .625.5.625-.5 5-4a1 1 0 1 0-1.25-1.562l-4.375 3.5-4.375-3.5a1 1 0 0 0-.844-.22z" style="block-progression:tb;color:#000;direction:ltr;text-indent:0;text-align:start;enable-background:accumulate;text-transform:none;fill:#666;fill-opacity:1" transform="translate(-41 -297)"/><path d="M42.906 300a1 1 0 0 0-.906 1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1H43a1 1 0 0 0-.094 0zM44 302h10v7H44v-7z" style="block-progression:tb;color:#000;direction:ltr;text-indent:0;text-align:start;enable-background:accumulate;text-transform:none;fill:#666;fill-opacity:1" transform="translate(-41 -297)"/></g></svg> \ No newline at end of file
diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css
index f5cca6a68..8e4ce017b 100644
--- a/p/themes/Nord/nord.css
+++ b/p/themes/Nord/nord.css
@@ -1,23 +1,55 @@
@charset "UTF-8";
+/*******************
+* Theme is based on the Nord theme: https://www.nordtheme.com/docs/colors-and-palettes (archived: https://archive.ph/LVpdB)
+*******************/
+
:root {
/* Set sans-serif & mono fonts */
--sans-font: Inter, Lato,Helvetica,"IBM Plex Sans","Roboto",-apple-system,BlinkMacSystemFont,"Nimbus Sans L",Avenir,"Noto Sans", "Segoe UI",Arial,Helvetica,"Helvetica Neue",sans-serif;
--mono-font: "mononoki Nerd Font","IBM Plex Mono","Roboto Mono","Ubuntu Mono","Fira Code","Overpass Mono", Monaco,"Droid Sans Mono",monospace;
- /*This is my dark themed color scheme*/
- --bg: #242933;
- --accent-bg: rgb(46, 52, 64);
- --text: #eceff4;
- --text-light: #d8dee9;
- --border: #88c0d0;
- --accent: #81a1c1;
- --accent-light: #bf616a;
- --code: #ebcb8b;
- --alert: #a3be8c;
- --alert-bg: #8fbcbb;
- --code-bg: #2e3440;
+ /* given theme colors: */
+ --nordX-background: #242933;
+ --nord0-polarnight: #2e3440;
+ --nord1-polarnight: #3b4252;
+ --nord2-polarnight: #434c5e;
+ --nord3-polarnight: #4c566a;
+
+ --nord4-snowstorm: #d8dee9;
+ /* --nord5-snowstorm: #e5e9f0; */
+ --nord6-snowstorm: #eceff4;
+
+ --nord7-frost: #8fbcbb;
+ --nord8-frost: #88c0d0;
+ --nord9-frost: #81a1c1;
+ /* -nord10-frost: #5e81ac; */
+
+ --nord11-aurora: #bf616a;
+ /* --nord12-aurora: #d08770; */
+ --nord13-aurora: #ebcb8b;
+ --nord14-aurora: #a3be8c;
+ /* --nord15-aurora: #b48ead; */
+
+ --bg: var(--nordX-background);
+ --accent-bg: var(--nord0-polarnight);
+ --dropdown-bg: var(--nord2-polarnight);
+ --border-elements: var(--nord3-polarnight);
+ --text: var(--nord6-snowstorm);
+ --text-light: var(--nord4-snowstorm);
+ --highlight: var(--nord8-frost);
+ --accent: var(--nord9-frost);
+ --accent-light: var(--nord11-aurora);
+ --code: var(--nord13-aurora);
+ --alert: var(--nord14-aurora);
+ --alert-bg: var(--nord2-polarnight);
+ --code-bg: var(--nord0-polarnight);
--frss-background-color-transparent: #2e34407f;
+
+ --frss-scrollbar-handle: #0002;
+ --frss-scrollbar-handle-hover: var(--nord1-polarnight);
+ --frss-scrollbar-track: transparent;
+ --frss-scrollbar-track-hover: transparent;
}
@@ -42,12 +74,13 @@ a {
}
a:hover {
- color: var(--accent);
+ color: var(--highlight);
}
kbd {
color: var(--code);
+ border-color: var(--border-elements);
background-color: var(--accent-bg);
}
@@ -64,36 +97,51 @@ label {
}
input, select, textarea {
- margin: 5px;
padding: 5px;
color: var(--text);
- border: 1px solid var(--border);
+ border: 1px solid var(--border-elements);
border-radius: 6px;
- border-color: var(--border);
- background-color: var(--bg);
+ background-color: transparent;
min-height: 25px;
line-height: 25px;
vertical-align: middle;
}
-input:disabled, select:disabled {
- color: #aaa;
- border-color: var(--border);
+select {
+ padding-top: 10px;
+ padding-bottom: 9px;
}
-button {
- font-family: var(--sans-font);
+input:hover,
+select:hover,
+textarea:hover {
+ border-color: var(--accent);
+}
+
+input:focus,
+select:focus,
+textarea:focus {
+ background-color: var(--bg);
+ border-color: var(--highlight);
+ outline: none;
+}
+
+
+
+input:disabled, select:disabled {
+ border-color: var(--border-elements);
+ color: var(--text-light);
}
button.as-link,
button.as-link:hover,
button.as-link:active {
background: transparent;
- /* background-color: var(--bg);A*/
}
button.as-link[disabled] {
- color: #ddd !important;
+ color: var(--text-light);
+ font-style: italic;
}
/*=== Tables */
@@ -121,15 +169,6 @@ table th, table td {
padding: 10px 20px;
}
-table td span {
- padding: 5px;
- color: dimgrey;
- /*display: none;*/
- font-size: 10px;
- font-weight: bold;
- /*position: absolute;*/
-}
-
.form-group.form-actions {
padding: 5px 0;
}
@@ -145,24 +184,37 @@ table td span {
/*=== Buttons */
.btn {
- margin: .3rem .3rem;
+ margin: .3rem .6rem 0.3rem 0;
padding: 5px 10px;
background: var(--accent-bg);
color: var(--accent);
font-size: 0.9rem;
- border: none;
+ border: 1px solid var(--border-elements);
border-radius: 5px;
text-decoration: none;
- transition: .4s;
+ transition: .2s;
min-height: 25px;
min-width: 15px;
vertical-align: middle;
line-height: 25px;
}
-.btn.active {
- background-color: var(--accent-bg);
- border: 1px solid var(--border);
+.btn.active,
+div:target ~ .btn {
+ background-color: var(--bg);
+ border: 1px solid var(--accent);
+}
+
+.btn:hover {
+ color: var(--highlight);
+ border: 1px solid var(--highlight);
+ text-decoration: none;
+}
+
+a:hover .icon,
+.btn:hover .icon {
+ filter: invert(86%) sepia(8%) saturate(1976%) hue-rotate(159deg) brightness(180%) contrast(100%);
+ transition: .2s filter;
}
.btn-important, #nav_menu_read_all .read_all, #actualize {
@@ -171,17 +223,78 @@ table td span {
color: var(--bg) !important;
}
+.btn-important:hover, #nav_menu_read_all .read_all:hover, #actualize:hover {
+ background-color: var(--highlight) !important;
+}
+
#btn-add.btn-important .icon, #actualize .icon {
filter: brightness(0);
}
-.btn:hover, svg:hover {
- opacity: .8;
+.btn-attention {
+ color: var(--accent-light) !important;
+ border: 1px solid var(--accent-light) !important;
+}
+
+.btn-attention:hover {
+ background: var(--accent-light);
+ transition: 0.2s background;
+ color: var(--bg) !important;
+}
+
+.btn:hover,
+svg:hover {
cursor: pointer;
}
-.stick input {
- margin: 0 5px 0 0;
+.stick input,
+.stick .btn {
+ border-radius: 0;
+}
+
+.stick input:first-child,
+.stick .btn:first-child {
+ border-top-left-radius: 6px;
+ border-bottom-left-radius: 6px;
+ border-right-width: 0;
+}
+
+.dropdown-menu .stick input {
+ background-color: var(--nord1-polarnight);
+ border-color: var(--nord0-polarnight);
+}
+
+.dropdown-menu .stick input:focus {
+ background-color: var(--nord0-polarnight);
+}
+
+.dropdown-menu .stick .btn {
+ border-color: var(--nord0-polarnight);
+}
+
+.stick input:hover,
+.stick:hover input,
+.stick:hover .btn {
+ border-color: var(--accent) !important
+}
+
+.stick .btn:hover,
+.stick input:focus,
+.stick input:focus ~ .btn {
+ border-color: var(--highlight) !important
+}
+
+
+.nav_menu .stick input,
+.nav_menu .stick .btn {
+ border-radius: 6px;
+ border-right-width: 1px;
+}
+
+.stick .btn:last-child {
+ margin-right: 0;
+ border-top-right-radius: 6px;
+ border-bottom-right-radius: 6px;
}
.stick .btn {
@@ -189,8 +302,8 @@ table td span {
margin-bottom: 0;
}
-.stick {
- margin: 0 5px;
+.stick.configure-feeds .btn {
+ margin-right: 0;
}
.header .stick,
@@ -202,16 +315,16 @@ table td span {
.dropdown-menu {
margin: 5px 0 0;
padding: 0.5rem 0 0.25rem 0;
- background: var(--accent-bg);
+ background: var(--dropdown-bg);
font-size: 0.8rem;
- border: 1px solid var(--border);
+ border: none;
border-radius: 6px;
text-align: left;
}
.dropdown-header,
.dropdown-section .dropdown-section-title {
- padding: 0 5px 5px;
+ padding: 0.5rem 0.75rem;
font-weight: bold;
text-align: left;
}
@@ -220,7 +333,6 @@ table td span {
.dropdown-menu .item > span,
.dropdown-menu .item > .as-link {
padding: 0 22px;
- color: var(--text);
line-height: 2.5em;
font-size: inherit;
min-width: 200px;
@@ -239,7 +351,9 @@ table td span {
.dropdown-menu .item > a:hover,
.dropdown-menu .item > button:hover:not([disabled]),
.dropdown-menu .item > label:hover:not(.noHover) {
- /* no hover color */
+ background-color: var(--nord1-polarnight);
+ color: var(--text);
+ transition: .2s;
}
.dropdown-menu > .item[aria-checked="true"] > a::before {
@@ -288,8 +402,7 @@ table td span {
.dropdown-target:target ~ .dropdown-toggle::after {
background-color: var(--accent-bg);
- border-top: 1px solid var(--border);
- border-left: 1px solid var(--border);
+ border: none;
}
.dropdown-menu-scrollable .dropdown-close {
@@ -299,18 +412,20 @@ table td span {
.item ~ .dropdown-header,
.dropdown-section ~ .dropdown-section,
.item.separator {
- border-top-color: var(--border);
+ border-top-color: var(--nord0-polarnight);
}
/*=== Alerts */
.alert {
+ color: var(--text-light);
font-size: 0.9em;
+ border: 1px solid var(--nord3-polarnight);
border-radius: 6px;
+ background-color: var(--nord1-polarnight);
}
.alert-success {
- color: var(--bg);
- background-color: var(--alert-bg)
+ border-color: var(--nord14-aurora);
}
.alert-head {
@@ -322,13 +437,11 @@ table td span {
}
.alert-warn {
- border-radius: 6px;
- background-color: var(--code-bg);
+ border-color: var(--nord13-aurora);
}
.alert-error {
- background-color: var(--accent-light);
- color: var(--bg);
+ border-color: var(--nord11-aurora);
}
/*=== Icons */
@@ -343,21 +456,29 @@ img.favicon {
/*=== Pagination */
.pagination {
- width: 100%;
+ padding: 0.5rem;
+ background-color: var(--accent-bg);
}
-.pagination .pager-first,
-.pagination .pager-previous,
-.pagination .pager-next,
-.pagination .pager-last {
- width: 100px;
+.pagination .item a {
+ border-radius: 6px;
+}
+
+.pagination .item.active a {
+ color: var(--highlight);
+ font-weight: bold;
+}
+
+.pagination .item a:hover {
+ background-color: var(--bg);
+ color: var(--text);
+ transition: .2s;
}
/*=== Boxes */
.box {
background-color: var(--accent-bg);
- border: 1px solid var(--border);
- border-radius: 6px;
+ border-radius: 10px;
}
.box .box-title {
@@ -365,19 +486,38 @@ img.favicon {
padding: 5px 10px;
}
+.box .box-title,
+.box .box-content {
+ padding: 1rem 1rem .25rem 1rem;
+}
+
.box .box-content {
+ padding-bottom: 1.5rem;
+ list-style: none;
max-height: 260px;
}
+.box .box-title .configure {
+ padding-right: .5rem;
+}
+
+.box .box-title h2 {
+ color: var(--accent);
+ font-size: 1rem;
+}
+
+.box .box-title .configure:not([data-cat-position=""])::after {
+ top: .5rem;
+}
+
.box .box-content .item {
- padding: 0 10px;
+ padding: 0;
font-size: 0.9rem;
}
/*=== Draggable */
.drag-hover {
margin: 0 0 5px;
- border-bottom: 2px solid var(--border);
}
[draggable=true] {
@@ -391,13 +531,28 @@ img.favicon {
.tree-folder-title .title {
background: inherit;
- color: var(--text);
}
.tree-folder.category {
border-bottom: 1px solid var(--bg);
}
+.tree-folder.category.active .tree-folder-title,
+.tree-folder.category .tree-folder-title:hover,
+.tree-folder.category:hover .tree-folder-title {
+ background: var(--nord1-polarnight);
+}
+
+.tree-folder .tree-folder-title:hover a,
+.tree-folder.category.active .tree-folder-title:hover a,
+.tree-folder .tree-folder-items .item.feed:hover a {
+ color: var(--text);
+}
+
+.tree-folder.category.active .tree-folder-title a {
+ color: var(--highlight);
+}
+
.tree-folder-items > .item {
color: var(--text);
font-size: 0.8rem;
@@ -462,6 +617,16 @@ img.favicon {
text-align: center;
}
+.aside.nav-list .nav-section .item.active a {
+ color: var(--highlight);
+}
+
+.aside.nav-list .nav-section .item a:hover {
+ background-color: var(--bg);
+ color: var(--text);
+ transition: .2s;
+}
+
.aside.aside_feed .tree {
margin: 10px 0 50px;
}
@@ -471,6 +636,7 @@ img.favicon {
}
.aside_feed .tree-folder-items.active {
+ padding-bottom: 2rem;
background-color: var(--bg);
}
@@ -500,7 +666,10 @@ img.favicon {
.item.feed.active {
background-color: var(--accent-bg);
font-weight: bold;
+}
+.item.feed.active a {
+ color: var(--highlight);
}
li.item.active {
@@ -510,7 +679,7 @@ li.item.active {
.item.feed:hover {
background-color: var(--accent-bg);
- transition: .4s;
+ transition: .3s;
}
/*=== New article notification */
@@ -580,11 +749,9 @@ li.item.active {
text-align: center;
}
-
.flux_header:hover {
background-color: var(--accent-bg);
- transition: .4s;
-
+ transition: .3s;
}
.flux.current {
@@ -593,7 +760,7 @@ li.item.active {
.flux:not(.current):hover .item.title {
background: var(--accent-bg);
- transition: .4s;
+ transition: .3s;
}
.flux .item.title a {
@@ -612,18 +779,27 @@ li.item.active {
/*=== Feed article content */
-.content {
- margin: auto;
- padding: 20px 10px;
- min-height: 20em;
- line-height: 1.7em;
- word-wrap: break-word;
+.flux_content .content header h1.title {
+ margin: 1.5rem 0px;
+}
+
+.flux_content .content header h1.title a {
+ color: var(--nord8-frost);
}
.hide_posts > .flux:not(.active) > .flux_content {
display: none;
}
+.content > footer .subtitle {
+ border-color: var(--nord2-polarnight);
+}
+
+.content > header .dropdown-menu .dropdown-header,
+.content > footer .dropdown-menu .dropdown-header {
+ color: var(--text);
+}
+
.content hr {
margin: 30px 10px;
height: 1px;
@@ -656,11 +832,11 @@ li.item.active {
/*=== Notification and actualize notification */
.notification {
padding: 0 0 0 5px;
- background: var(--bg);
+ background: var(--nord3-polarnight);
color: var(--text);
font-size: 0.9em;
- /*border: 1px solid #aaa;*/
border-radius: 6px;
+ border-color: var(--nord1-polarnight);
z-index: 10;
text-align: center;
font-weight: bold;
@@ -668,24 +844,23 @@ li.item.active {
vertical-align: middle;
}
+.notification.bad {
+ background-color: var(--nord11-aurora);
+ color: var(--nord0-polarnight);
+}
+
+.notification.bad .icon {
+ filter: brightness(60%);
+}
+
.notification.closed {
opacity: 0;
visibility: hidden;
}
/*=== Popup */
-#popup {
- background-color: rgb(0,0,0,.4);
-}
-
#popup-content {
background-color: var(--accent-bg);
- box-shadow: 0 0 1px #d8dee9, 1px 2px 3px var(--bg);
-}
-
-#popup-close:hover,
-#popup-close:focus {
- color: #d8dee9;
}
#popup-txt {
@@ -705,7 +880,17 @@ li.item.active {
text-decoration: none;
}
+#bigMarkAsRead:hover {
+ background-color: var(--accent-bg);
+ transition: .3s;
+}
+
+#bigMarkAsRead:hover .bigTick {
+ color: var(--text);
+}
+
.bigTick {
+ color: var(--accent);
font-size: 4em;
}
@@ -722,7 +907,6 @@ li.item.active {
/*=== Slider */
#slider {
background: var(--accent-bg);
- border-left: 1px solid var(--border);
}
/*=== DIVERS */
@@ -737,6 +921,33 @@ li.item.active {
text-align: center;
}
+.nav_menu .btn {
+ margin: .125rem;
+}
+
+.nav_menu .stick {
+ margin-right: 1rem;
+ margin-left: .125rem;
+}
+
+.theme-preview-list,
+.theme-preview-list .properties {
+ border-color: var(--border-elements);
+}
+
+.theme-preview-list:hover,
+.theme-preview-list:hover .properties {
+ border-color: var(--highlight);
+}
+
+.theme-preview-list .nav label {
+ color: var(--accent);
+}
+
+.theme-preview-list .nav label:hover {
+ color: var(--highlight)
+}
+
/*=== PRINTER */
/*============*/
@@ -764,23 +975,13 @@ li.item.active {
.flux_content .content {
width: 100% !important;
}
-
- .flux_content .content a {
- color: #000;
- }
}
/*=== PREVIEW */
/*===========*/
.preview_controls {
- margin-left: auto;
- margin-right: auto;
- padding: 1rem;
- max-width: 1000px;
- text-align: center;
- background-color: #eee;
- border: 1px solid #e0e0e0;
- border-radius: .25rem;
+ background-color: var(--nord1-polarnight);
+ border-color: var(--border-elements);
}
.preview_controls label {
@@ -828,7 +1029,7 @@ option {
/*===============*/
/*=== Forms */
.form-group.form-actions .btn {
- margin: 0 10px;
+ margin-right: 1rem;
}
/*=== Navigation */
@@ -851,7 +1052,7 @@ option {
}
.nav-list .nav-header {
- padding: 0 1rem;
+ padding: 1rem 1rem 0 1rem;
font-weight: bold;
}
@@ -869,21 +1070,16 @@ option {
height: 10px;
z-index: -10;
transform: rotate(45deg);
- border-color: var(--border);
-}
-
-
-
-.dropdown-menu > .item > a:hover,
-.dropdown-menu > .item > span:hover,
-.dropdown-menu > .item > .as-link:hover {
- color: var(--accent);
- transition: .4s;
+ border: none;
}
-/*=== Pagination */
-.pagination .item a {
- font-style: italic;
+.dropdown-menu > .item > a,
+.dropdown-menu > .item > span,
+.dropdown-menu > .item > .as-link,
+.dropdown-menu > .item > ul > .item > a,
+.dropdown-menu > .item > ul > .item > span,
+.dropdown-menu > .item > ul > .item > .as-link {
+ color: var(--text-light);
}
/*=== STRUCTURE */
@@ -893,13 +1089,17 @@ option {
/*=== Body */
/*=== Aside main page (categories) */
.aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
- position: absolute;
- right: 0;
margin: 10px 0;
padding: 0 10px;
font-size: 0.9rem;
}
+.aside .category .title:not([data-unread="0"])::after,
+.aside .feed .item-title:not([data-unread="0"])::after {
+ text-align: right;
+ right: 0.25rem;
+}
+
/*=== Aside main page (feeds) */
.aside_feed .tree-folder-items .dropdown-menu::after {
left: 2px;
@@ -912,16 +1112,21 @@ option {
}
/*=== Navigation menu (for articles) */
+#stream-footer {
+ border-top: 0;
+}
+
/*=== READER VIEW */
/*================*/
#stream.reader .flux {
- background: #242933;
+ background-color: var(--bg);
border: none;
}
#stream.reader .flux .content {
- background-color: #2e3440;
+ background-color: var(--accent-bg);
border: none;
+ border-radius: 12px;
}
#stream.reader .flux .author {
@@ -1050,15 +1255,7 @@ option {
}
.nav_menu .btn {
- margin: 5px 10px;
- }
-
- .nav_menu .stick {
- margin: 0 10px;
- }
-
- .nav_menu .stick .btn {
- margin: 5px 0;
+ margin-bottom: .5rem;
}
.nav_menu .search {
diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css
index 0d4ba28ef..17a7caf79 100644
--- a/p/themes/Nord/nord.rtl.css
+++ b/p/themes/Nord/nord.rtl.css
@@ -1,23 +1,55 @@
@charset "UTF-8";
+/*******************
+* Theme is based on the Nord theme: https://www.nordtheme.com/docs/colors-and-palettes (archived: https://archive.ph/LVpdB)
+*******************/
+
:root {
/* Set sans-serif & mono fonts */
--sans-font: Inter, Lato,Helvetica,"IBM Plex Sans","Roboto",-apple-system,BlinkMacSystemFont,"Nimbus Sans L",Avenir,"Noto Sans", "Segoe UI",Arial,Helvetica,"Helvetica Neue",sans-serif;
--mono-font: "mononoki Nerd Font","IBM Plex Mono","Roboto Mono","Ubuntu Mono","Fira Code","Overpass Mono", Monaco,"Droid Sans Mono",monospace;
- /*This is my dark themed color scheme*/
- --bg: #242933;
- --accent-bg: rgb(46, 52, 64);
- --text: #eceff4;
- --text-light: #d8dee9;
- --border: #88c0d0;
- --accent: #81a1c1;
- --accent-light: #bf616a;
- --code: #ebcb8b;
- --alert: #a3be8c;
- --alert-bg: #8fbcbb;
- --code-bg: #2e3440;
+ /* given theme colors: */
+ --nordX-background: #242933;
+ --nord0-polarnight: #2e3440;
+ --nord1-polarnight: #3b4252;
+ --nord2-polarnight: #434c5e;
+ --nord3-polarnight: #4c566a;
+
+ --nord4-snowstorm: #d8dee9;
+ /* --nord5-snowstorm: #e5e9f0; */
+ --nord6-snowstorm: #eceff4;
+
+ --nord7-frost: #8fbcbb;
+ --nord8-frost: #88c0d0;
+ --nord9-frost: #81a1c1;
+ /* -nord10-frost: #5e81ac; */
+
+ --nord11-aurora: #bf616a;
+ /* --nord12-aurora: #d08770; */
+ --nord13-aurora: #ebcb8b;
+ --nord14-aurora: #a3be8c;
+ /* --nord15-aurora: #b48ead; */
+
+ --bg: var(--nordX-background);
+ --accent-bg: var(--nord0-polarnight);
+ --dropdown-bg: var(--nord2-polarnight);
+ --border-elements: var(--nord3-polarnight);
+ --text: var(--nord6-snowstorm);
+ --text-light: var(--nord4-snowstorm);
+ --highlight: var(--nord8-frost);
+ --accent: var(--nord9-frost);
+ --accent-light: var(--nord11-aurora);
+ --code: var(--nord13-aurora);
+ --alert: var(--nord14-aurora);
+ --alert-bg: var(--nord2-polarnight);
+ --code-bg: var(--nord0-polarnight);
--frss-background-color-transparent: #2e34407f;
+
+ --frss-scrollbar-handle: #0002;
+ --frss-scrollbar-handle-hover: var(--nord1-polarnight);
+ --frss-scrollbar-track: transparent;
+ --frss-scrollbar-track-hover: transparent;
}
@@ -42,12 +74,13 @@ a {
}
a:hover {
- color: var(--accent);
+ color: var(--highlight);
}
kbd {
color: var(--code);
+ border-color: var(--border-elements);
background-color: var(--accent-bg);
}
@@ -64,36 +97,51 @@ label {
}
input, select, textarea {
- margin: 5px;
padding: 5px;
color: var(--text);
- border: 1px solid var(--border);
+ border: 1px solid var(--border-elements);
border-radius: 6px;
- border-color: var(--border);
- background-color: var(--bg);
+ background-color: transparent;
min-height: 25px;
line-height: 25px;
vertical-align: middle;
}
-input:disabled, select:disabled {
- color: #aaa;
- border-color: var(--border);
+select {
+ padding-top: 10px;
+ padding-bottom: 9px;
}
-button {
- font-family: var(--sans-font);
+input:hover,
+select:hover,
+textarea:hover {
+ border-color: var(--accent);
+}
+
+input:focus,
+select:focus,
+textarea:focus {
+ background-color: var(--bg);
+ border-color: var(--highlight);
+ outline: none;
+}
+
+
+
+input:disabled, select:disabled {
+ border-color: var(--border-elements);
+ color: var(--text-light);
}
button.as-link,
button.as-link:hover,
button.as-link:active {
background: transparent;
- /* background-color: var(--bg);A*/
}
button.as-link[disabled] {
- color: #ddd !important;
+ color: var(--text-light);
+ font-style: italic;
}
/*=== Tables */
@@ -121,15 +169,6 @@ table th, table td {
padding: 10px 20px;
}
-table td span {
- padding: 5px;
- color: dimgrey;
- /*display: none;*/
- font-size: 10px;
- font-weight: bold;
- /*position: absolute;*/
-}
-
.form-group.form-actions {
padding: 5px 0;
}
@@ -145,24 +184,37 @@ table td span {
/*=== Buttons */
.btn {
- margin: .3rem .3rem;
+ margin: .3rem 0 0.3rem .6rem;
padding: 5px 10px;
background: var(--accent-bg);
color: var(--accent);
font-size: 0.9rem;
- border: none;
+ border: 1px solid var(--border-elements);
border-radius: 5px;
text-decoration: none;
- transition: .4s;
+ transition: .2s;
min-height: 25px;
min-width: 15px;
vertical-align: middle;
line-height: 25px;
}
-.btn.active {
- background-color: var(--accent-bg);
- border: 1px solid var(--border);
+.btn.active,
+div:target ~ .btn {
+ background-color: var(--bg);
+ border: 1px solid var(--accent);
+}
+
+.btn:hover {
+ color: var(--highlight);
+ border: 1px solid var(--highlight);
+ text-decoration: none;
+}
+
+a:hover .icon,
+.btn:hover .icon {
+ filter: invert(86%) sepia(8%) saturate(1976%) hue-rotate(159deg) brightness(180%) contrast(100%);
+ transition: .2s filter;
}
.btn-important, #nav_menu_read_all .read_all, #actualize {
@@ -171,17 +223,78 @@ table td span {
color: var(--bg) !important;
}
+.btn-important:hover, #nav_menu_read_all .read_all:hover, #actualize:hover {
+ background-color: var(--highlight) !important;
+}
+
#btn-add.btn-important .icon, #actualize .icon {
filter: brightness(0);
}
-.btn:hover, svg:hover {
- opacity: .8;
+.btn-attention {
+ color: var(--accent-light) !important;
+ border: 1px solid var(--accent-light) !important;
+}
+
+.btn-attention:hover {
+ background: var(--accent-light);
+ transition: 0.2s background;
+ color: var(--bg) !important;
+}
+
+.btn:hover,
+svg:hover {
cursor: pointer;
}
-.stick input {
- margin: 0 0 0 5px;
+.stick input,
+.stick .btn {
+ border-radius: 0;
+}
+
+.stick input:first-child,
+.stick .btn:first-child {
+ border-top-right-radius: 6px;
+ border-bottom-right-radius: 6px;
+ border-left-width: 0;
+}
+
+.dropdown-menu .stick input {
+ background-color: var(--nord1-polarnight);
+ border-color: var(--nord0-polarnight);
+}
+
+.dropdown-menu .stick input:focus {
+ background-color: var(--nord0-polarnight);
+}
+
+.dropdown-menu .stick .btn {
+ border-color: var(--nord0-polarnight);
+}
+
+.stick input:hover,
+.stick:hover input,
+.stick:hover .btn {
+ border-color: var(--accent) !important
+}
+
+.stick .btn:hover,
+.stick input:focus,
+.stick input:focus ~ .btn {
+ border-color: var(--highlight) !important
+}
+
+
+.nav_menu .stick input,
+.nav_menu .stick .btn {
+ border-radius: 6px;
+ border-left-width: 1px;
+}
+
+.stick .btn:last-child {
+ margin-left: 0;
+ border-top-left-radius: 6px;
+ border-bottom-left-radius: 6px;
}
.stick .btn {
@@ -189,8 +302,8 @@ table td span {
margin-bottom: 0;
}
-.stick {
- margin: 0 5px;
+.stick.configure-feeds .btn {
+ margin-left: 0;
}
.header .stick,
@@ -202,16 +315,16 @@ table td span {
.dropdown-menu {
margin: 5px 0 0;
padding: 0.5rem 0 0.25rem 0;
- background: var(--accent-bg);
+ background: var(--dropdown-bg);
font-size: 0.8rem;
- border: 1px solid var(--border);
+ border: none;
border-radius: 6px;
text-align: right;
}
.dropdown-header,
.dropdown-section .dropdown-section-title {
- padding: 0 5px 5px;
+ padding: 0.5rem 0.75rem;
font-weight: bold;
text-align: right;
}
@@ -220,7 +333,6 @@ table td span {
.dropdown-menu .item > span,
.dropdown-menu .item > .as-link {
padding: 0 22px;
- color: var(--text);
line-height: 2.5em;
font-size: inherit;
min-width: 200px;
@@ -239,7 +351,9 @@ table td span {
.dropdown-menu .item > a:hover,
.dropdown-menu .item > button:hover:not([disabled]),
.dropdown-menu .item > label:hover:not(.noHover) {
- /* no hover color */
+ background-color: var(--nord1-polarnight);
+ color: var(--text);
+ transition: .2s;
}
.dropdown-menu > .item[aria-checked="true"] > a::before {
@@ -288,8 +402,7 @@ table td span {
.dropdown-target:target ~ .dropdown-toggle::after {
background-color: var(--accent-bg);
- border-top: 1px solid var(--border);
- border-right: 1px solid var(--border);
+ border: none;
}
.dropdown-menu-scrollable .dropdown-close {
@@ -299,18 +412,20 @@ table td span {
.item ~ .dropdown-header,
.dropdown-section ~ .dropdown-section,
.item.separator {
- border-top-color: var(--border);
+ border-top-color: var(--nord0-polarnight);
}
/*=== Alerts */
.alert {
+ color: var(--text-light);
font-size: 0.9em;
+ border: 1px solid var(--nord3-polarnight);
border-radius: 6px;
+ background-color: var(--nord1-polarnight);
}
.alert-success {
- color: var(--bg);
- background-color: var(--alert-bg)
+ border-color: var(--nord14-aurora);
}
.alert-head {
@@ -322,13 +437,11 @@ table td span {
}
.alert-warn {
- border-radius: 6px;
- background-color: var(--code-bg);
+ border-color: var(--nord13-aurora);
}
.alert-error {
- background-color: var(--accent-light);
- color: var(--bg);
+ border-color: var(--nord11-aurora);
}
/*=== Icons */
@@ -343,21 +456,29 @@ img.favicon {
/*=== Pagination */
.pagination {
- width: 100%;
+ padding: 0.5rem;
+ background-color: var(--accent-bg);
}
-.pagination .pager-first,
-.pagination .pager-previous,
-.pagination .pager-next,
-.pagination .pager-last {
- width: 100px;
+.pagination .item a {
+ border-radius: 6px;
+}
+
+.pagination .item.active a {
+ color: var(--highlight);
+ font-weight: bold;
+}
+
+.pagination .item a:hover {
+ background-color: var(--bg);
+ color: var(--text);
+ transition: .2s;
}
/*=== Boxes */
.box {
background-color: var(--accent-bg);
- border: 1px solid var(--border);
- border-radius: 6px;
+ border-radius: 10px;
}
.box .box-title {
@@ -365,19 +486,38 @@ img.favicon {
padding: 5px 10px;
}
+.box .box-title,
+.box .box-content {
+ padding: 1rem 1rem .25rem 1rem;
+}
+
.box .box-content {
+ padding-bottom: 1.5rem;
+ list-style: none;
max-height: 260px;
}
+.box .box-title .configure {
+ padding-left: .5rem;
+}
+
+.box .box-title h2 {
+ color: var(--accent);
+ font-size: 1rem;
+}
+
+.box .box-title .configure:not([data-cat-position=""])::after {
+ top: .5rem;
+}
+
.box .box-content .item {
- padding: 0 10px;
+ padding: 0;
font-size: 0.9rem;
}
/*=== Draggable */
.drag-hover {
margin: 0 0 5px;
- border-bottom: 2px solid var(--border);
}
[draggable=true] {
@@ -391,13 +531,28 @@ img.favicon {
.tree-folder-title .title {
background: inherit;
- color: var(--text);
}
.tree-folder.category {
border-bottom: 1px solid var(--bg);
}
+.tree-folder.category.active .tree-folder-title,
+.tree-folder.category .tree-folder-title:hover,
+.tree-folder.category:hover .tree-folder-title {
+ background: var(--nord1-polarnight);
+}
+
+.tree-folder .tree-folder-title:hover a,
+.tree-folder.category.active .tree-folder-title:hover a,
+.tree-folder .tree-folder-items .item.feed:hover a {
+ color: var(--text);
+}
+
+.tree-folder.category.active .tree-folder-title a {
+ color: var(--highlight);
+}
+
.tree-folder-items > .item {
color: var(--text);
font-size: 0.8rem;
@@ -462,6 +617,16 @@ img.favicon {
text-align: center;
}
+.aside.nav-list .nav-section .item.active a {
+ color: var(--highlight);
+}
+
+.aside.nav-list .nav-section .item a:hover {
+ background-color: var(--bg);
+ color: var(--text);
+ transition: .2s;
+}
+
.aside.aside_feed .tree {
margin: 10px 0 50px;
}
@@ -471,6 +636,7 @@ img.favicon {
}
.aside_feed .tree-folder-items.active {
+ padding-bottom: 2rem;
background-color: var(--bg);
}
@@ -500,7 +666,10 @@ img.favicon {
.item.feed.active {
background-color: var(--accent-bg);
font-weight: bold;
+}
+.item.feed.active a {
+ color: var(--highlight);
}
li.item.active {
@@ -510,7 +679,7 @@ li.item.active {
.item.feed:hover {
background-color: var(--accent-bg);
- transition: .4s;
+ transition: .3s;
}
/*=== New article notification */
@@ -580,11 +749,9 @@ li.item.active {
text-align: center;
}
-
.flux_header:hover {
background-color: var(--accent-bg);
- transition: .4s;
-
+ transition: .3s;
}
.flux.current {
@@ -593,7 +760,7 @@ li.item.active {
.flux:not(.current):hover .item.title {
background: var(--accent-bg);
- transition: .4s;
+ transition: .3s;
}
.flux .item.title a {
@@ -612,18 +779,27 @@ li.item.active {
/*=== Feed article content */
-.content {
- margin: auto;
- padding: 20px 10px;
- min-height: 20em;
- line-height: 1.7em;
- word-wrap: break-word;
+.flux_content .content header h1.title {
+ margin: 1.5rem 0px;
+}
+
+.flux_content .content header h1.title a {
+ color: var(--nord8-frost);
}
.hide_posts > .flux:not(.active) > .flux_content {
display: none;
}
+.content > footer .subtitle {
+ border-color: var(--nord2-polarnight);
+}
+
+.content > header .dropdown-menu .dropdown-header,
+.content > footer .dropdown-menu .dropdown-header {
+ color: var(--text);
+}
+
.content hr {
margin: 30px 10px;
height: 1px;
@@ -656,11 +832,11 @@ li.item.active {
/*=== Notification and actualize notification */
.notification {
padding: 0 5px 0 0;
- background: var(--bg);
+ background: var(--nord3-polarnight);
color: var(--text);
font-size: 0.9em;
- /*border: 1px solid #aaa;*/
border-radius: 6px;
+ border-color: var(--nord1-polarnight);
z-index: 10;
text-align: center;
font-weight: bold;
@@ -668,24 +844,23 @@ li.item.active {
vertical-align: middle;
}
+.notification.bad {
+ background-color: var(--nord11-aurora);
+ color: var(--nord0-polarnight);
+}
+
+.notification.bad .icon {
+ filter: brightness(60%);
+}
+
.notification.closed {
opacity: 0;
visibility: hidden;
}
/*=== Popup */
-#popup {
- background-color: rgb(0,0,0,.4);
-}
-
#popup-content {
background-color: var(--accent-bg);
- box-shadow: 0 0 1px #d8dee9, -1px 2px 3px var(--bg);
-}
-
-#popup-close:hover,
-#popup-close:focus {
- color: #d8dee9;
}
#popup-txt {
@@ -705,7 +880,17 @@ li.item.active {
text-decoration: none;
}
+#bigMarkAsRead:hover {
+ background-color: var(--accent-bg);
+ transition: .3s;
+}
+
+#bigMarkAsRead:hover .bigTick {
+ color: var(--text);
+}
+
.bigTick {
+ color: var(--accent);
font-size: 4em;
}
@@ -722,7 +907,6 @@ li.item.active {
/*=== Slider */
#slider {
background: var(--accent-bg);
- border-right: 1px solid var(--border);
}
/*=== DIVERS */
@@ -737,6 +921,33 @@ li.item.active {
text-align: center;
}
+.nav_menu .btn {
+ margin: .125rem;
+}
+
+.nav_menu .stick {
+ margin-left: 1rem;
+ margin-right: .125rem;
+}
+
+.theme-preview-list,
+.theme-preview-list .properties {
+ border-color: var(--border-elements);
+}
+
+.theme-preview-list:hover,
+.theme-preview-list:hover .properties {
+ border-color: var(--highlight);
+}
+
+.theme-preview-list .nav label {
+ color: var(--accent);
+}
+
+.theme-preview-list .nav label:hover {
+ color: var(--highlight)
+}
+
/*=== PRINTER */
/*============*/
@@ -764,23 +975,13 @@ li.item.active {
.flux_content .content {
width: 100% !important;
}
-
- .flux_content .content a {
- color: #000;
- }
}
/*=== PREVIEW */
/*===========*/
.preview_controls {
- margin-right: auto;
- margin-left: auto;
- padding: 1rem;
- max-width: 1000px;
- text-align: center;
- background-color: #eee;
- border: 1px solid #e0e0e0;
- border-radius: .25rem;
+ background-color: var(--nord1-polarnight);
+ border-color: var(--border-elements);
}
.preview_controls label {
@@ -828,7 +1029,7 @@ option {
/*===============*/
/*=== Forms */
.form-group.form-actions .btn {
- margin: 0 10px;
+ margin-left: 1rem;
}
/*=== Navigation */
@@ -851,7 +1052,7 @@ option {
}
.nav-list .nav-header {
- padding: 0 1rem;
+ padding: 1rem 1rem 0 1rem;
font-weight: bold;
}
@@ -869,21 +1070,16 @@ option {
height: 10px;
z-index: -10;
transform: rotate(-45deg);
- border-color: var(--border);
-}
-
-
-
-.dropdown-menu > .item > a:hover,
-.dropdown-menu > .item > span:hover,
-.dropdown-menu > .item > .as-link:hover {
- color: var(--accent);
- transition: .4s;
+ border: none;
}
-/*=== Pagination */
-.pagination .item a {
- font-style: italic;
+.dropdown-menu > .item > a,
+.dropdown-menu > .item > span,
+.dropdown-menu > .item > .as-link,
+.dropdown-menu > .item > ul > .item > a,
+.dropdown-menu > .item > ul > .item > span,
+.dropdown-menu > .item > ul > .item > .as-link {
+ color: var(--text-light);
}
/*=== STRUCTURE */
@@ -893,13 +1089,17 @@ option {
/*=== Body */
/*=== Aside main page (categories) */
.aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
- position: absolute;
- left: 0;
margin: 10px 0;
padding: 0 10px;
font-size: 0.9rem;
}
+.aside .category .title:not([data-unread="0"])::after,
+.aside .feed .item-title:not([data-unread="0"])::after {
+ text-align: left;
+ left: 0.25rem;
+}
+
/*=== Aside main page (feeds) */
.aside_feed .tree-folder-items .dropdown-menu::after {
right: 2px;
@@ -912,16 +1112,21 @@ option {
}
/*=== Navigation menu (for articles) */
+#stream-footer {
+ border-top: 0;
+}
+
/*=== READER VIEW */
/*================*/
#stream.reader .flux {
- background: #242933;
+ background-color: var(--bg);
border: none;
}
#stream.reader .flux .content {
- background-color: #2e3440;
+ background-color: var(--accent-bg);
border: none;
+ border-radius: 12px;
}
#stream.reader .flux .author {
@@ -1050,15 +1255,7 @@ option {
}
.nav_menu .btn {
- margin: 5px 10px;
- }
-
- .nav_menu .stick {
- margin: 0 10px;
- }
-
- .nav_menu .stick .btn {
- margin: 5px 0;
+ margin-bottom: .5rem;
}
.nav_menu .search {