Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/store and autocomplete data #4

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ end_of_line = lf

[*.html]
indent_style = space
indent_size = 2
indent_size = 4

[*.{js,json,yml}]
indent_style = space
Expand Down
95 changes: 92 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# Created by https://www.toptal.com/developers/gitignore/api/node,code,linux,vim,windows,macos
# Edit at https://www.toptal.com/developers/gitignore?templates=node,code,linux,vim,windows,macos
# Created by https://www.toptal.com/developers/gitignore/api/vim,node,code,macos,linux,windows,jetbrains+all
# Edit at https://www.toptal.com/developers/gitignore?templates=vim,node,code,macos,linux,windows,jetbrains+all

### Code ###
.vscode/*
Expand All @@ -10,6 +10,95 @@
!.vscode/extensions.json
*.code-workspace

### JetBrains+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### JetBrains+all Patch ###
# Ignores the whole .idea folder and all .iml files
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360

.idea/

# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023

*.iml
modules.xml
.idea/misc.xml
*.ipr

# Sonarlint plugin
.idea/sonarlint

### Linux ###
*~

Expand Down Expand Up @@ -210,4 +299,4 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk

# End of https://www.toptal.com/developers/gitignore/api/node,code,linux,vim,windows,macos
# End of https://www.toptal.com/developers/gitignore/api/vim,node,code,macos,linux,windows,jetbrains+all
19 changes: 19 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"@fortawesome/free-solid-svg-icons": "^5.15.1",
"bootstrap": "^4.5.3",
"pdf-lib": "^1.11.2",
"qrcode": "^1.4.4"
"qrcode": "^1.4.4",
"secure-ls": "^1.2.6"
},
"browserslist": [
"last 5 versions"
Expand Down
10 changes: 7 additions & 3 deletions src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ p {
transform: translateY(-2px);
}

#form-profile #formgroup-storedata {
user-select: none;
}

@media (prefers-color-scheme: dark) {
#form-profile .form-radio-label .form-check-label {
color: #ddd;
Expand Down Expand Up @@ -563,7 +567,7 @@ input:valid+span:after {
}
}

#snackbar {
#snackbar, #snackbar-cleardata {
min-width: 250px;
color: #fff;
text-align: center;
Expand All @@ -580,7 +584,7 @@ input:valid+span:after {
transition: all 0.5s ease-in-out;
}

#snackbar.show {
#snackbar.show, #snackbar-cleardata {
opacity: 1;
}

Expand Down Expand Up @@ -645,4 +649,4 @@ input:valid+span:after {

.fieldset-error {
border: 3px solid red;
}
}
Loading