diff options
author | 2021-08-16 21:22:32 +0200 | |
---|---|---|
committer | 2021-08-16 21:24:42 +0200 | |
commit | eb28244fc8f98e28728c7b3f951e102b9cc56590 (patch) | |
tree | 76237e414671730371f87c8e263a18c2d2e8c17f /styles/Main.module.scss | |
parent | b43d34c0136552cd2d83258fb5523bb873177908 (diff) | |
download | my_apps-eb28244fc8f98e28728c7b3f951e102b9cc56590.tar.gz my_apps-eb28244fc8f98e28728c7b3f951e102b9cc56590.tar.bz2 my_apps-eb28244fc8f98e28728c7b3f951e102b9cc56590.zip |
styles moved to scss
Diffstat (limited to 'styles/Main.module.scss')
-rw-r--r-- | styles/Main.module.scss | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/styles/Main.module.scss b/styles/Main.module.scss new file mode 100644 index 0000000..15be72a --- /dev/null +++ b/styles/Main.module.scss @@ -0,0 +1,125 @@ +.icon { + text-decoration: none; + display: inline-block; + width: 4em; + cursor: pointer; + + img { + width: 4em; + } + + p { + padding-top: .5em; + text-align: center; + color: #333; + } +} + +.userForm { + label, + & { + display: flex; + flex-flow: column; + } + + label > span { + font-weight: 600; + } + + input[type=email], + input[type=password] { + padding: .5em; + margin: .5em 0; + border: 1px solid #ccc; + border-radius: .25px; + } + .error { + text-align: center; + color: brown; + margin: 1rem 0 0; + } +} + +.header { + height: 2em; + padding: 0.5rem; + background-color: rgba(255, 255, 255, 0.4); + border-bottom: 1px solid rgba(255, 255, 255, 0.5); + + nav { + display: flex; + + & > ul:first-of-type { + flex-grow: 1; + overflow: auto; + } + } + + li { + margin-left: 1em; + margin-right: 1em; + display: inline-block; + cursor: pointer; + + & > span, + & > a { + color: #333; + font-weight: 600; + text-decoration: none; + align-items: center; + } + } +} + +.user { + font-weight: 600; + cursor: pointer; + position: relative; + +} + +.submenu { + position: absolute; + right: 4px; + top: 2.1em; + width: 10em; + padding: .5em; + background-color: rgba(255, 255, 255, .9); + border: 1px solid rgba(255, 255, 255, .5); + + & > li { + margin: 0; + padding:.5em; + width: 100%; + line-height: em; + + &:hover { + background-color: #ddd; + } + } +} + +.verify { + & > form { + padding: .5em 0; + + & > input { + padding: .75em; + border: 1px dashed #333; + border-radius: .5em; + } + } + + p { + line-height: 1.33; + padding: .5em 0; + } + + .email { + color: blue; + cursor: pointer; + } + .error { + color: brown; + } +} |