Initial commit

This commit is contained in:
Simon Einzinger 2024-10-22 22:03:48 +02:00
commit 9a5273bad2
395 changed files with 122980 additions and 0 deletions

14
Caddyfile Normal file
View file

@ -0,0 +1,14 @@
:80 {
@mobsecBase {
path /mobile-security-2425 /mobile-security-2425/
}
redir @mobsecBase /mobile-security-2425/index.html#/page/lectures
# Route for Mobile Security
handle_path /mobile-security-2425* {
root * /var/www/mobsec
try_files {path} /mobile-security-2425/index.html
file_server
}
}

3
Dockerfile Normal file
View file

@ -0,0 +1,3 @@
FROM caddy:2.8 AS production-stage
COPY ./mobsec/ /var/www/mobsec/

11
docker-compose.yml Normal file
View file

@ -0,0 +1,11 @@
name: uni-notes
services:
uni-notes:
build:
dockerfile: Dockerfile
ports:
- "7400:80"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
restart: unless-stopped

41
mobsec/404.html Normal file
View file

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Not Found</title>
<script type="text/javascript">
// Single Page Apps for GitHub Pages
// https://github.com/rafgraph/spa-github-pages
// Copyright (c) 2016 Rafael Pedicini, licensed under the MIT License
// ----------------------------------------------------------------------
// This script takes the current url and converts the path and query
// string into just a query string, and then redirects the browser
// to the new url with only a query string and hash fragment,
// e.g. https://www.foo.tld/one/two?a=b&c=d#qwe, becomes
// https://www.foo.tld/?p=/one/two&q=a=b~and~c=d#qwe
// Note: this 404.html file must be at least 512 bytes for it to work
// with Internet Explorer (it is currently > 512 bytes)
// If you're creating a Project Pages site and NOT using a custom domain,
// then set segmentCount to 1 (enterprise users may need to set it to > 1).
// This way the code will only replace the route part of the path, and not
// the real directory in which the app resides, for example:
// https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes
// https://username.github.io/repo-name/?p=/one/two&q=a=b~and~c=d#qwe
// Otherwise, leave segmentCount as 0.
var segmentCount = 0;
var l = window.location;
l.replace(
l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') +
l.pathname.split('/').slice(0, 1 + segmentCount).join('/') + '/?p=/' +
l.pathname.slice(1).split('/').slice(segmentCount).join('/').replace(/&/g, '~and~') +
(l.search ? '&q=' + l.search.slice(1).replace(/&/g, '~and~') : '') +
l.hash
);
</script>
</head>
<body>
</body>
</html>

64
mobsec/index.html Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

45
mobsec/static/css/LICENSE Normal file
View file

@ -0,0 +1,45 @@
SIL Open Font License
Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name Source. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
—————————————————————————————-
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
—————————————————————————————-
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
DEFINITIONS
“Font Software” refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
“Reserved Font Name” refers to any names specified as such after the copyright statement(s).
“Original Version” refers to the collection of Font Software components as distributed by the Copyright Holder(s).
“Modified Version” refers to any derivative made by adding to, deleting, or substituting—in part or in whole—any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
“Author” refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -0,0 +1,166 @@
/*
lsradix theme for code-mirror
http://ethanschoonover.com/lsradix
*/
/*
lsradix color palette
http://ethanschoonover.com/lsradix/img/lsradix-palette.png
*/
.lsradix.base03 { color: or(--lx-gray-01, #002b36); }
.dark .lsradix.base03 { color: or(--lx-gray-02, #002b36); }
.lsradix.base02 { color: or(--lx-gray-02, #073642); }
.dark .lsradix.base02 { color: or(--lx-gray-01, #073642); }
.lsradix.base01 { color: or(--lx-gray-03, #586e75); }
.lsradix.base00 { color: or(--lx-gray-04, #657b83); }
.lsradix.base0 { color: or(--lx-gray-09, #839496); }
.lsradix.base1 { color: or(--lx-gray-10, #93a1a1); }
.lsradix.base2 { color: or(--lx-gray-11, #eee8d5); }
.lsradix.base3 { color: or(--lx-gray-11, #fdf6e3); }
.lsradix.solar-yellow { color: or(--rx-yellow-11, #b58900); }
.lsradix.solar-orange { color: or(--rx-orange-11, #cb4b16); }
.lsradix.solar-red { color: or(--rx-red-11, #dc322f); }
.lsradix.solar-magenta { color: or(--rx-pink-11, #d33682); }
.lsradix.solar-violet { color: or(--rx-purple-11, #6c71c4); }
.lsradix.solar-blue { color: or(--rx-blue-11, #268bd2); }
.lsradix.solar-cyan { color: or(--rx-sky-11, #2aa198); }
.lsradix.solar-green { color: or(--rx-grass-11, #859900); }
/* Color scheme for code-mirror */
.cm-s-lsradix {
line-height: 1.45em;
color-profile: sRGB;
rendering-intent: auto;
}
.cm-s-lsradix.cm-s-dark {
background-color: var(--lx-gray-01, hsl(var(--secondary)/.7));
color: var(--lx-gray-10, hsl(var(--secondary-foreground)));
}
.dark .cm-s-lsradix.cm-s-dark {
background-color: var(--lx-gray-02, hsl(var(--secondary)/.7));
}
.cm-s-lsradix.cm-s-light {
background-color: var(--lx-gray-02, hsl(var(--secondary)/.7));
color: var(--lx-gray-10, hsl(var(--secondary-foreground)));
}
.cm-s-lsradix .CodeMirror-widget {
text-shadow: none;
}
.cm-s-lsradix .cm-header { color: or(--lx-gray-03, #586e75); }
.cm-s-lsradix .cm-quote { color: or(--lx-gray-10, #93a1a1); }
.cm-s-lsradix .cm-keyword { color: or(--rx-orange-11, #cb4b16); }
.cm-s-lsradix .cm-atom { color: or(--rx-pink-11, #d33682); }
.cm-s-lsradix .cm-number { color: or(--rx-pink-11, #d33682); }
.cm-s-lsradix .cm-def { color: or(--rx-sky-11, #2aa198); }
/* .cm-s-lsradix .cm-variable { color: or(--lx-gray-09, #839496); } */
.cm-s-lsradix .cm-variable { color: or(--lx-gray-12, #839496); }
.cm-s-lsradix .cm-variable-2 { color: or(--rx-yellow-11, #b58900); }
.cm-s-lsradix .cm-variable-3, .cm-s-lsradix .cm-type { color: or(--rx-purple-11, #6c71c4); }
.cm-s-lsradix .cm-property { color: or(--rx-sky-11, #2aa198); }
.cm-s-lsradix .cm-operator { color: or(--rx-purple-11, #6c71c4); }
.cm-s-lsradix .cm-comment { color: or(--lx-gray-10, #586e75); font-style:italic; }
.cm-s-lsradix .cm-string { color: or(--rx-grass-11, #859900); }
.cm-s-lsradix .cm-string-2 { color: or(--rx-yellow-11, #b58900); }
.cm-s-lsradix .cm-meta { color: or(--rx-grass-11, #859900); }
.cm-s-lsradix .cm-qualifier { color: or(--rx-yellow-11, #b58900); }
.cm-s-lsradix .cm-builtin { color: or(--rx-pink-11, #d33682); }
.cm-s-lsradix .cm-bracket { color: or(--rx-orange-11, #cb4b16); }
.cm-s-lsradix .CodeMirror-matchingbracket { color: or(--rx-grass-11, #859900); }
.cm-s-lsradix .CodeMirror-nonmatchingbracket { color: or(--rx-red-11, #dc322f); }
.cm-s-lsradix .cm-tag { color: or(--lx-gray-10, #93a1a1); }
.cm-s-lsradix .cm-attribute { color: or(--rx-sky-11, #2aa198); }
.cm-s-lsradix .cm-hr {
color: transparent;
border-top: 1px solid or(--lx-gray-03, #586e75);
display: block;
}
.cm-s-lsradix .cm-link { color: or(--lx-gray-10, #93a1a1); cursor: pointer; }
.cm-s-lsradix .cm-special { color: or(--rx-purple-11, #6c71c4); }
.cm-s-lsradix .cm-em {
color: #999;
text-decoration: underline;
text-decoration-style: dotted;
}
.cm-s-lsradix .cm-error,
.cm-s-lsradix .cm-invalidchar {
/* color: or(--lx-gray-03, #586e75); */
color: or(--lx-gray-10, #586e75);
border-bottom: 1px dotted or(--rx-red-11, #dc322f);
}
.cm-s-lsradix.cm-s-dark div.CodeMirror-selected { background: or(--lx-gray-06, #073642); }
.cm-s-lsradix.cm-s-dark.CodeMirror ::selection { background: or(--lx-gray-06, rgba(7, 54, 66, 0.99)); }
.cm-s-lsradix.cm-s-dark .CodeMirror-line::-moz-selection, .cm-s-dark .CodeMirror-line > span::-moz-selection, .cm-s-dark .CodeMirror-line > span > span::-moz-selection { background: or(--lx-gray-06, rgba(7, 54, 66, 0.99)); }
.cm-s-lsradix.cm-s-light div.CodeMirror-selected { background: or(--lx-gray-06, #eee8d5); }
.cm-s-lsradix.cm-s-light .CodeMirror-line::selection, .cm-s-light .CodeMirror-line > span::selection, .cm-s-light .CodeMirror-line > span > span::selection { background: or(--lx-gray-06, #eee8d5); }
.cm-s-lsradix.cm-s-light .CodeMirror-line::-moz-selection, .cm-s-light .CodeMirror-line > span::-moz-selection, .cm-s-light .CodeMirror-line > span > span::-moz-selection { background: or(--lx-gray-06, #eee8d5); }
/* Editor styling */
/* Remove gutter border */
.cm-s-lsradix .CodeMirror-gutters {
border-right: 0;
}
/* Gutter colors and line number styling based of color scheme (dark / light) */
/* Dark */
.cm-s-lsradix.cm-s-dark .CodeMirror-gutters {
background-color: var(--lx-gray-03, hsl(var(--secondary)));
}
.cm-s-lsradix.cm-s-dark .CodeMirror-linenumber {
color: var(--lx-gray-09, #586e75);
}
/* Light */
.cm-s-lsradix.cm-s-light .CodeMirror-gutters {
background-color: var(--lx-gray-03, hsl(var(--secondary)));
}
.cm-s-lsradix.cm-s-light .CodeMirror-linenumber {
color: var(--lx-gray-09, #839496);
}
/* Common */
.cm-s-lsradix .CodeMirror-linenumber {
padding: 0 5px;
}
.cm-s-lsradix .CodeMirror-guttermarker-subtle { color: or(--lx-gray-03, #586e75); }
.cm-s-lsradix.cm-s-dark .CodeMirror-guttermarker { color: #ddd; }
.cm-s-lsradix.cm-s-light .CodeMirror-guttermarker { color: or(--rx-orange-11, #cb4b16); }
.cm-s-lsradix .CodeMirror-gutter .CodeMirror-gutter-text {
color: or(--lx-gray-03, #586e75);
}
/* Cursor */
.cm-s-lsradix .CodeMirror-cursor { border-left: 1px solid #819090; }
/* Fat cursor */
.cm-s-lsradix.cm-s-light.cm-fat-cursor .CodeMirror-cursor { background: #77ee77; }
.cm-s-lsradix.cm-s-light .cm-animate-fat-cursor { background-color: #77ee77; }
.cm-s-lsradix.cm-s-dark.cm-fat-cursor .CodeMirror-cursor { background: or(--lx-gray-03, #586e75); }
.cm-s-lsradix.cm-s-dark .cm-animate-fat-cursor { background-color: or(--lx-gray-03, #586e75); }
/* Active line */
.cm-s-lsradix.cm-s-dark .CodeMirror-activeline-background {
background: rgba(255, 255, 255, 0.06);
}
.cm-s-lsradix.cm-s-light .CodeMirror-activeline-background {
background: rgba(0, 0, 0, 0.06);
}

View file

View file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 6 MiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

171
mobsec/static/css/inter.css Normal file
View file

@ -0,0 +1,171 @@
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 100;
font-display: swap;
src: url("Inter (web)/Inter-Thin.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Thin.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 100;
font-display: swap;
src: url("Inter (web)/Inter-ThinItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-ThinItalic.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 200;
font-display: swap;
src: url("Inter (web)/Inter-ExtraLight.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-ExtraLight.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 200;
font-display: swap;
src: url("Inter (web)/Inter-ExtraLightItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-ExtraLightItalic.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 300;
font-display: swap;
src: url("Inter (web)/Inter-Light.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Light.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 300;
font-display: swap;
src: url("Inter (web)/Inter-LightItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-LightItalic.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("Inter (web)/Inter-Regular.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Regular.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 400;
font-display: swap;
src: url("Inter (web)/Inter-Italic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Italic.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 500;
font-display: swap;
src: url("Inter (web)/Inter-Medium.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Medium.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 500;
font-display: swap;
src: url("Inter (web)/Inter-MediumItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-MediumItalic.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 600;
font-display: swap;
src: url("Inter (web)/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-SemiBold.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 600;
font-display: swap;
src: url("Inter (web)/Inter-SemiBoldItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-SemiBoldItalic.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("Inter (web)/Inter-Bold.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Bold.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 700;
font-display: swap;
src: url("Inter (web)/Inter-BoldItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-BoldItalic.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 800;
font-display: swap;
src: url("Inter (web)/Inter-ExtraBold.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-ExtraBold.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 800;
font-display: swap;
src: url("Inter (web)/Inter-ExtraBoldItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-ExtraBoldItalic.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 900;
font-display: swap;
src: url("Inter (web)/Inter-Black.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Black.woff?v=3.19") format("woff");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 900;
font-display: swap;
src: url("Inter (web)/Inter-BlackItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-BlackItalic.woff?v=3.19") format("woff");
}
/* -------------------------------------------------------
Variable font.
Usage:
html { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
html { font-family: 'Inter var', sans-serif; }
}
*/
@font-face {
font-family: "Inter var";
font-weight: 100 900;
font-style: normal;
font-named-instance: "Regular";
font-display: swap;
src: url("Inter (web)/Inter-roman.var.woff2?v=3.19") format("woff2 supports variations(gvar)"), url("Inter (web)/Inter-roman.var.woff2?v=3.19") format("woff2-variations"), url("Inter (web)/Inter-roman.var.woff2?v=3.19") format("woff2");
}
@font-face {
font-family: "Inter var";
font-weight: 100 900;
font-style: italic;
font-named-instance: "Italic";
font-display: swap;
src: url("Inter (web)/Inter-italic.var.woff2?v=3.19") format("woff2 supports variations(gvar)"), url("Inter (web)/Inter-italic.var.woff2?v=3.19") format("woff2-variations"), url("Inter (web)/Inter-italic.var.woff2?v=3.19") format("woff2");
}
/* --------------------------------------------------------------------------
[EXPERIMENTAL] Multi-axis, single variable font.
Slant axis is not yet widely supported (as of February 2019) and thus this
multi-axis single variable font is opt-in rather than the default.
When using this, you will probably need to set font-variation-settings
explicitly, e.g.
* { font-variation-settings: "slnt" 0deg }
.italic { font-variation-settings: "slnt" 10deg }
*/
@font-face {
font-family: "Inter var experimental";
font-weight: 100 900;
font-style: oblique 0deg 10deg;
font-display: swap;
src: url("Inter (web)/Inter.var.woff2?v=3.19") format("woff2-variations"), url("Inter (web)/Inter.var.woff2?v=3.19") format("woff2");
}

228
mobsec/static/css/shui.css Normal file
View file

@ -0,0 +1,228 @@
html * {
border-color: hsl(var(--border));
}
html[data-theme=light] {
--accent: var(--rx-gray-12-hsl);
--accent-foreground: var(--rx-gray-02-hsl);
--input: var(--rx-gray-03-hsl);
--secondary: 240 4.8% 95.9%;
}
html[data-theme=dark] {
--accent: var(--rx-gray-12-hsl);
--accent-foreground: var(--rx-gray-02-hsl);
--primary-foreground: 0 0% 22%;
--background: 0 0% 11%;
--foreground: 0 0% 95%;
--card: 0 0% 11%;
--card-foreground: 0 0% 95%;
--secondary: 0 0% 20%;
--secondary-foreground: 0 0% 98%;
--border: 0 0% 16%;
--muted: 0 0% 15%;
--popover: 0 0% 7%;
--popover-foreground: 0 0 95%;
--input: 0 0% 25%;
}
html {
.ui__dropdown-menu-content,
.ui__context-menu-content,
.ui__select-content {
--accent: var(--rx-gray-04-hsl);
--accent-foreground: var(--rx-gray-12-hsl);
--muted: var(--rx-gray-05-hsl);
}
.ui__calendar {
--accent: var(--rx-gray-04-hsl);
--accent-foreground: var(--rx-gray-12-hsl);
}
&:not([data-color=logseq]) {
.ui__dropdown-menu-item,
div[data-radix-popper-content-wrapper] div[role=menuitem] {
&:focus, &:hover {
background-color: var(--lx-gray-04, hsl(var(--accent)));
}
}
div[data-radix-popper-content-wrapper] div[role=menu],
.menu-links-wrapper,
.menu-links-outer,
.absolute-modal[data-modal-name] {
background-color: var(--lx-popover-bg, var(--lx-gray-01, hsl(var(--popover))));
}
}
&[data-color=logseq] {
.references-blocks-item {
--lx-bg-override: var(--rx-gray-03-alpha);
}
.block-children-left-border:hover {
--ls-block-left-color: var(--rx-logseq-11);
}
}
&[data-color=none] {
--ls-block-bullet-color: var(--rx-gray-08);
--ls-block-bullet-active-color: var(--rx-gray-12);
::selection {
@apply bg-primary/20;
}
#ui__ac-inner {
}
.cp__cmdk {
--lx-gray-07: var(--rx-gray-07);
}
.ui__toggle {
&-background-off {
@apply bg-gray-08;
.switcher {
@apply bg-gray-10;
}
}
&-background-on {
.switcher {
@apply bg-gray-03;
}
}
}
.tl-container {
--ls-primary-background-color: hsl(var(--background));
--ls-secondary-background-color: var(--rx-gray-01);
--ls-tertiary-background-color: var(--rx-gray-03);
--ls-quaternary-background-color: var(--rx-gray-05);
}
}
}
html[data-theme=light] {
&[data-color=logseq] {
.references-blocks-item {
--lx-bg-override: var(--rx-gray-03-alpha);
}
}
.extensions__pdf-container {
--lx-pdf-container-dark-bg: var(--lx-gray-11, #042f3c);
}
}
html[data-theme=dark] {
background-color: #161616;
&[data-color=logseq] {
@apply bg-[#002b36];
.ui__modal-panel {
@apply border-accent-01;
}
.tippy-tooltip {
@apply border-accent-02;
}
.references-blocks-item {
background-color: var(--lx-gray-03, var(--ls-secondary-background-color));
}
.cp__right-sidebar-inner {
.references-blocks-item {
background-color: var(--lx-gray-04, var(--ls-tertiary-background-color));
}
}
.cp__themes-installed {
.it.is-active, .it:hover {
@apply bg-accent-01;
}
}
.ui__button {
&.as-outline {
--accent: 192 100% 12%;
}
}
.ui__dropdown-menu-content,
.ui__context-menu-content,
.ui__select-content {
--accent: 190 100% 15%;
--muted: 192 100% 13%;
}
.ui__button {
&.as-ghost {
@apply hover:bg-accent-01;
}
}
.menu-separator {
@apply opacity-20;
}
.ui__calendar {
--accent: 196 100% 15%;
}
.rc-datepicker {
--accent: 200 97% 37%;
}
.cp__cmdk {
.border-gray-06,
.border-gray-07 {
border-color: var(--ls-border-color, var(--lx-gray-06));
opacity: .6;
}
> .hints {
@apply border-accent-01 bg-gray-02;
}
}
.tl-button {
&:hover {
@apply bg-accent-02;
}
}
.cp__header {
> .r > div:not(.ui__dropdown-trigger) a.button, button.button {
@apply opacity-60 hover:opacity-90;
}
}
.form-input {
@apply border-accent-01;
}
}
}
.ui__button-shortcut-key {
@apply text-xs font-normal h-5 w-5 flex items-center justify-center rounded bg-gray-06-alpha;
&:first-of-type {
@apply ml-2;
}
}
.ui__list-item-highlighted-span {
background-color: or(--lx-accent-06, --color-level-4);
}
.dark .ui__list-item-highlighted-span {
background-color: or(--lx-accent-08-alpha, --color-level-4);
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,39 @@
@font-face {
font-family: 'Source Sans Pro';
src: url('./source-sans-pro-regular.eot');
src: url('./source-sans-pro-regular.eot?#iefix') format('embedded-opentype'),
url('./source-sans-pro-regular.woff') format('woff'),
url('./source-sans-pro-regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Source Sans Pro';
src: url('./source-sans-pro-italic.eot');
src: url('./source-sans-pro-italic.eot?#iefix') format('embedded-opentype'),
url('./source-sans-pro-italic.woff') format('woff'),
url('./source-sans-pro-italic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Source Sans Pro';
src: url('./source-sans-pro-semibold.eot');
src: url('./source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'),
url('./source-sans-pro-semibold.woff') format('woff'),
url('./source-sans-pro-semibold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'Source Sans Pro';
src: url('./source-sans-pro-semibolditalic.eot');
src: url('./source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'),
url('./source-sans-pro-semibolditalic.woff') format('woff'),
url('./source-sans-pro-semibolditalic.ttf') format('truetype');
font-weight: 600;
font-style: italic;
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,153 @@
/**
* This file is managed manually by Webfont app.
* Steps:
* - download the zip from Webfont app
* - get the tabler-icons-extension.woff2 and replace the one in fonts/tabler-icons-extension.woff2
* - update the tie-xxx css rules
*/
@font-face {
font-family: 'tabler-icons-extension';
src: url('../fonts/tabler-icons-extension.woff2?mxgthk') format('woff2');
font-style: normal;
font-weight: 400;
}
.tie {
display: inline-block;
font-family: "tabler-icons-extension" !important;
font-style: normal !important;
font-weight: normal !important;
font-variant: normal !important;
text-transform: none !important;
speak: none;
line-height: 1;
vertical-align: -.125em;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.tie-add-link::before {
content: "\ea01";
}
.tie-app-feature::before {
content: "\ea02";
}
.tie-block::before {
content: "\ea03";
}
.tie-block-search::before {
content: "\ea04";
}
.tie-cloud-exclamation::before {
content: "\ea05";
}
.tie-connector::before {
content: "\ea06";
}
.tie-group::before {
content: "\ea07";
}
.tie-h-auto::before {
content: "\ea08";
}
.tie-heading-off::before {
content: "\ea09";
}
.tie-internal-link::before {
content: "\ea0a";
}
.tie-link-to-block::before {
content: "\ea0b";
}
.tie-link-to-page::before {
content: "\ea0c";
}
.tie-link-to-whiteboard::before {
content: "\ea0d";
}
.tie-move-to-sidebar-right::before {
content: "\ea0e";
}
.tie-new-block::before {
content: "\ea0f";
}
.tie-new-page::before {
content: "\ea10";
}
.tie-new-whiteboard::before {
content: "\ea11";
}
.tie-new-whiteboard-element::before {
content: "\ea12";
}
.tie-object-compact::before {
content: "\ea13";
}
.tie-object-expanded::before {
content: "\ea14";
}
.tie-open-as-page::before {
content: "\ea15";
}
.tie-page::before {
content: "\ea16";
}
.tie-page-search::before {
content: "\ea17";
}
.tie-references-hide::before {
content: "\ea18";
}
.tie-references-show::before {
content: "\ea19";
}
.tie-select-cursor::before {
content: "\ea1a";
}
.tie-text::before {
content: "\ea1b";
}
.tie-ungroup::before {
content: "\ea1c";
}
.tie-whiteboard::before {
content: "\ea1d";
}
.tie-whiteboard-element::before {
content: "\ea1e";
}
.tie-whiteboard-search::before {
content: "\ea1f";
}

File diff suppressed because one or more lines are too long

2155
mobsec/static/css/ui.css Normal file

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more