X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fsass%2Fresults.scss;h=3907e0ecd990f9d481737180b143b75cbcdd52e3;hb=8d97d023740e438361e659c6e133418e33343178;hp=c5a7ce6e4f1ed254eb3347142f3d081e8dcbe68b;hpb=c59d0714d62f9028135cc9cff829d16b91e5fb4f;p=alttp.git diff --git a/resources/sass/results.scss b/resources/sass/results.scss index c5a7ce6..3907e0e 100644 --- a/resources/sass/results.scss +++ b/resources/sass/results.scss @@ -2,23 +2,43 @@ .result { padding: 1ex; + .user-box { + margin-right: 1ex; + } + .status { display: flex; + position: relative; align-items: center; justify-content: space-between; margin-top: 1ex; padding: 0.5em; + width: 100%; + min-width: 15ex; + border: none; border-radius: 1ex; background: $dark; color: $light; + box-shadow: none; + transition: top 0.15s ease-in-out; + &.has-comment { + box-shadow: 0 0.5ex 0 $info; + } + &:active { + box-shadow: none; + top: 0.5ex; + } + .time { min-width: 9ex; height: 1.4em; - background: $secondary; border-radius: 0.5ex; padding: 0 0.5ex; } + &.finished .time { + background: $secondary; + } } } }