mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-06-14 22:31:05 +03:00
Some small admin js/css updates (#6501)
* Some small admin js/css updates - Updated JS libraries - Fixed some eslint errors - Small update on the theme icon's to be a bit smaller and better sized. Used OXVG via OXVGUI to shrink and optimze them. Probably Fixes #6493 Signed-off-by: BlackDex <black.dex@gmail.com> * Adjust the size of the moon to be more inline with the other icons Signed-off-by: BlackDex <black.dex@gmail.com> --------- Signed-off-by: BlackDex <black.dex@gmail.com>
This commit is contained in:
committed by
GitHub
parent
c9d527d84f
commit
cb2f5741ac
@@ -11,26 +11,19 @@
|
||||
<script src="{{urlpath}}/vw_static/admin.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<svg class="d-none">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="d-none">
|
||||
<symbol id="vw-icon-sun" viewBox="0 0 24 24">
|
||||
<circle cx="12" cy="12" r="5" fill="currentColor"></circle>
|
||||
<g stroke="currentColor" stroke-width="1.5" stroke-linecap="round">
|
||||
<line x1="12" y1="2" x2="12" y2="5"></line>
|
||||
<line x1="12" y1="19" x2="12" y2="22"></line>
|
||||
<line x1="4.22" y1="4.22" x2="6.34" y2="6.34"></line>
|
||||
<line x1="17.66" y1="17.66" x2="19.78" y2="19.78"></line>
|
||||
<line x1="2" y1="12" x2="5" y2="12"></line>
|
||||
<line x1="19" y1="12" x2="22" y2="12"></line>
|
||||
<line x1="4.22" y1="19.78" x2="6.34" y2="17.66"></line>
|
||||
<line x1="17.66" y1="6.34" x2="19.78" y2="4.22"></line>
|
||||
<circle cx="12" cy="12" r="5" fill="currentColor"/>
|
||||
<g stroke="currentColor" stroke-linecap="round" stroke-width="1.5">
|
||||
<path d="M12 2v3M12 19v3M4.22 4.22l2.12 2.12M17.66 17.66l2.12 2.12M2 12h3M19 12h3M4.22 19.78l2.12-2.12M17.66 6.34l2.12-2.12"/>
|
||||
</g>
|
||||
</symbol>
|
||||
<symbol id="vw-icon-moon" viewBox="0 0 32 32">
|
||||
<path fill="currentColor" transform="translate(0,-1.2)" d="M25.2 27.3a11.2 11.2 0 0 1-6.6-20.5A13 13 0 1 0 29.6 25.5 11.6 11.6 0 0 1 25.2 27.3z"></path>
|
||||
<symbol id="vw-icon-moon" viewBox="0 0 24 24">
|
||||
<path fill="currentColor" stroke-width=".8" d="M18.4 17.8A9 8.6 0 0 1 13 2a10.5 10 0 1 0 9 14.4 9.4 9 0 0 1-3.6 1.4"/>
|
||||
</symbol>
|
||||
<symbol id="vw-icon-auto" viewBox="0 0 24 24">
|
||||
<circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="1.5"></circle>
|
||||
<path fill="currentColor" d="M12 3a9 9 0 1 1 0 18V3z"></path>
|
||||
<circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="1.5"/>
|
||||
<path fill="currentColor" d="M12 3a9 9 0 1 1 0 18Z"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4 shadow fixed-top">
|
||||
@@ -61,7 +54,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="navbar-nav">
|
||||
<ul class="navbar-nav mx-3">
|
||||
<li class="nav-item dropdown">
|
||||
<button
|
||||
class="btn btn-link nav-link py-0 px-0 px-md-2 dropdown-toggle d-flex align-items-center"
|
||||
|
||||
Reference in New Issue
Block a user