diff --git a/README.md b/README.md index 4f82195..c07fdbb 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,8 @@ This is a basic todo program. It uses python with flask and pickle, to give a really light and simple web interface for task taking. -It uses the [dracula](https://github.com/dracula/dracula-theme) colors. -![dark theme screenshot](./ssdark.png) -![light theme screenshot](./sslight.png) -![Screenshot of the application](./squiptasks.png) +It uses the [dracula](https://github.com/dracula/dracula-theme) colors by default and has a few built-in themes. +![Screenshot of the application](./sstodo.png) # Features * No accounts : this is made to be used as a single page (you can't have multiple user accounts). This is best suited as a personnal, self-hosted application in your own network (or it could also work for a work team). diff --git a/src/static/styles/2-sunset.css b/src/static/styles/2-sunset.css new file mode 100644 index 0000000..9226978 --- /dev/null +++ b/src/static/styles/2-sunset.css @@ -0,0 +1,294 @@ +@font-face { + font-family: "Work Sans"; + src: url(WorkSans-Regular.ttf); +} + +@font-face { + font-family: "Work Sans"; + src: url(WorkSans-Bold.ttf); + font-weight: bold; +} + +@font-face { + font-family: "Work Sans"; + src: url(WorkSans-Italic.ttf); + font-style: italic; +} + +@font-face { + font-family: "Work Sans"; + src: url(WorkSans-BoldItalic.ttf); + font-weight: bold; + font-style: italic; +} + + +html { + background-color: #2e2e2e; + font-family: 'Work Sans'; + color: #ffbc80; +} + +h1 { + color: #f76e11; +} + +h2 { + color: #f76e11; +} + +h3 { + color: #f76e11; +} + +h4 { + color: #f76e11; +} + +h5 { + color: #f76e11; +} + +button { + background-color: transparent; + border: none; + color: #b958a5; + padding: 1px 2px; + text-align: left; + text-decoration: none; + display: inline-block; + font-size: 1em; + font-style: normal; + cursor: pointer; +} + +hr { + border: 3px dotted; +} + +a { + color: #b958a5; + text-decoration: underline; + font-style: normal; + font-size: 1em; +} + +.topbar { + background-color: #eee8d5; + border: none; + color: #ff9f45; + text-align: left; + text-decoration: none; + font-style: normal; + display: block; +} + +.topbutton { + float: right; + text-decoration: none; + color: #ff9f45; +} + +.exportlink { + text-decoration: none; +} + + +.pagetitle { + font-size: 3em; + color: #fc4f4f; + float: left; +} + +.backlink { + text-decoration: none; +} + +.tasktitle { + color: #f76e11; + font-size: 2em; +} + +.tasktime { + color: #ff9f45; + font-style: italic; +} + +/* +.title { + background: #44475a; + color: #f76e11; + font-weight: bold; + font-size: 2em + border-style: none; + border-radius: 1px; + outline: none; + border-width: 1px; +} +*/ + +.text { + width: 100%; + background: #404040; + color: #ff9f45; + border-radius: 5px; + border-style: none; + outline: none; + border-width: 1px; + height: 40%; + font-size: 15px; + -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23); +} + +.title { + width: 100%; + background: #404040; + color: #ff9f45; + border-radius: 5px; + border-style: none; + outline: none; + border-width: 1px; + height: 25px; + margin: 5px 0px 5px 0px; + font-size: 15px; + -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23); +} + +.rawtext { + white-space: pre-wrap; +} + +.priorityinput { + background-color: #404040; + color: #ff9f45; + border-radius: 5px; + border-style: none; + border-width: 1px; + width: 40px; +} + +label { + background-color: transparent; + border: none; + color: #ff9f45; + padding: 1px 2px; + text-align: left; + text-decoration: none; + display: inline-block; + font-size: 1em; + font-style: normal; + cursor: pointer; +} +/* Hide priority select arrows +Chrome, Safari, Edge, Opera */ +input::-webkit-outer-spin-button, +input::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +/* Firefox */ +input[type=number] { + -moz-appearance: textfield; +} + +.donemarkselect { + background-color: #404040; + color: #ff9f45; + border-radius: 5px; + border-style: inset; + border-color: #ff79c6; + border-width: 1px; + width: 40px; +} + +.separator { + text-align: center; +} + + +/* Syntax highlighting */ +pre { line-height: 125%; } +td.linenos .normal { color: #93a1a1; background-color: #eee8d5; padding-left: 5px; padding-right: 5px; } +span.linenos { color: #93a1a1; background-color: #eee8d5; padding-left: 5px; padding-right: 5px; } +td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +.codehilite .hll { background-color: #eee8d5 } +.codehilite { background: #fdf6e3; color: #657b83 } +.codehilite .c { color: #93a1a1; font-style: italic } /* Comment */ +.codehilite .err { color: #657b83; background-color: #dc322f } /* Error */ +.codehilite .esc { color: #657b83 } /* Escape */ +.codehilite .g { color: #657b83 } /* Generic */ +.codehilite .k { color: #859900 } /* Keyword */ +.codehilite .l { color: #657b83 } /* Literal */ +.codehilite .n { color: #657b83 } /* Name */ +.codehilite .o { color: #93a1a1 } /* Operator */ +.codehilite .x { color: #657b83 } /* Other */ +.codehilite .p { color: #657b83 } /* Punctuation */ +.codehilite .ch { color: #93a1a1; font-style: italic } /* Comment.Hashbang */ +.codehilite .cm { color: #93a1a1; font-style: italic } /* Comment.Multiline */ +.codehilite .cp { color: #f76e11 } /* Comment.Preproc */ +.codehilite .cpf { color: #93a1a1 } /* Comment.PreprocFile */ +.codehilite .c1 { color: #93a1a1; font-style: italic } /* Comment.Single */ +.codehilite .cs { color: #93a1a1; font-style: italic } /* Comment.Special */ +.codehilite .gd { color: #dc322f } /* Generic.Deleted */ +.codehilite .ge { color: #657b83; font-style: italic } /* Generic.Emph */ +.codehilite .gr { color: #dc322f } /* Generic.Error */ +.codehilite .gh { color: #657b83; font-weight: bold } /* Generic.Heading */ +.codehilite .gi { color: #859900 } /* Generic.Inserted */ +.codehilite .go { color: #657b83 } /* Generic.Output */ +.codehilite .gp { color: #268bd2; font-weight: bold } /* Generic.Prompt */ +.codehilite .gs { color: #657b83; font-weight: bold } /* Generic.Strong */ +.codehilite .gu { color: #657b83; text-decoration: underline } /* Generic.Subheading */ +.codehilite .gt { color: #268bd2 } /* Generic.Traceback */ +.codehilite .kc { color: #b958a5 } /* Keyword.Constant */ +.codehilite .kd { color: #b958a5 } /* Keyword.Declaration */ +.codehilite .kn { color: #cb4b16 } /* Keyword.Namespace */ +.codehilite .kp { color: #859900 } /* Keyword.Pseudo */ +.codehilite .kr { color: #859900 } /* Keyword.Reserved */ +.codehilite .kt { color: #b58900 } /* Keyword.Type */ +.codehilite .ld { color: #657b83 } /* Literal.Date */ +.codehilite .m { color: #b958a5 } /* Literal.Number */ +.codehilite .s { color: #b958a5 } /* Literal.String */ +.codehilite .na { color: #657b83 } /* Name.Attribute */ +.codehilite .nb { color: #268bd2 } /* Name.Builtin */ +.codehilite .nc { color: #268bd2 } /* Name.Class */ +.codehilite .no { color: #268bd2 } /* Name.Constant */ +.codehilite .nd { color: #268bd2 } /* Name.Decorator */ +.codehilite .ni { color: #268bd2 } /* Name.Entity */ +.codehilite .ne { color: #268bd2 } /* Name.Exception */ +.codehilite .nf { color: #268bd2 } /* Name.Function */ +.codehilite .nl { color: #268bd2 } /* Name.Label */ +.codehilite .nn { color: #268bd2 } /* Name.Namespace */ +.codehilite .nx { color: #657b83 } /* Name.Other */ +.codehilite .py { color: #657b83 } /* Name.Property */ +.codehilite .nt { color: #268bd2 } /* Name.Tag */ +.codehilite .nv { color: #268bd2 } /* Name.Variable */ +.codehilite .ow { color: #859900 } /* Operator.Word */ +.codehilite .w { color: #657b83 } /* Text.Whitespace */ +.codehilite .mb { color: #b958a5 } /* Literal.Number.Bin */ +.codehilite .mf { color: #b958a5 } /* Literal.Number.Float */ +.codehilite .mh { color: #b958a5 } /* Literal.Number.Hex */ +.codehilite .mi { color: #b958a5 } /* Literal.Number.Integer */ +.codehilite .mo { color: #b958a5 } /* Literal.Number.Oct */ +.codehilite .sa { color: #b958a5 } /* Literal.String.Affix */ +.codehilite .sb { color: #b958a5 } /* Literal.String.Backtick */ +.codehilite .sc { color: #b958a5 } /* Literal.String.Char */ +.codehilite .dl { color: #b958a5 } /* Literal.String.Delimiter */ +.codehilite .sd { color: #93a1a1 } /* Literal.String.Doc */ +.codehilite .s2 { color: #b958a5 } /* Literal.String.Double */ +.codehilite .se { color: #b958a5 } /* Literal.String.Escape */ +.codehilite .sh { color: #b958a5 } /* Literal.String.Heredoc */ +.codehilite .si { color: #b958a5 } /* Literal.String.Interpol */ +.codehilite .sx { color: #b958a5 } /* Literal.String.Other */ +.codehilite .sr { color: #cb4b16 } /* Literal.String.Regex */ +.codehilite .s1 { color: #b958a5 } /* Literal.String.Single */ +.codehilite .ss { color: #b958a5 } /* Literal.String.Symbol */ +.codehilite .bp { color: #268bd2 } /* Name.Builtin.Pseudo */ +.codehilite .fm { color: #268bd2 } /* Name.Function.Magic */ +.codehilite .vc { color: #268bd2 } /* Name.Variable.Class */ +.codehilite .vg { color: #268bd2 } /* Name.Variable.Global */ +.codehilite .vi { color: #268bd2 } /* Name.Variable.Instance */ +.codehilite .vm { color: #268bd2 } /* Name.Variable.Magic */ +.codehilite .il { color: #b958a5 } /* Literal.Number.Integer.Long */ + diff --git a/ssdark.png b/ssdark.png deleted file mode 100644 index 95e846d..0000000 Binary files a/ssdark.png and /dev/null differ diff --git a/sslight.png b/sslight.png deleted file mode 100644 index b6ebc68..0000000 Binary files a/sslight.png and /dev/null differ diff --git a/sstodo.png b/sstodo.png new file mode 100644 index 0000000..3ec10c7 Binary files /dev/null and b/sstodo.png differ