X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fsass%2Frounds.scss;h=907d6e946425c5fb9d1d12ad26e5f00d3901bd76;hb=d518ede5ffe8d4e44b0194279a9f32839bc1f903;hp=ee38c8237e287b9c139140a5a2a5900fc3ef3774;hpb=0f171dfffd9c0c2cc895c9f282c5f4550844cc5a;p=alttp.git diff --git a/resources/sass/rounds.scss b/resources/sass/rounds.scss index ee38c82..907d6e9 100644 --- a/resources/sass/rounds.scss +++ b/resources/sass/rounds.scss @@ -4,9 +4,16 @@ .round { margin: 1rem 0; - border: thin solid $secondary; - border-radius: 1ex; + border: $border-width solid $secondary; + border-radius: $border-radius; + background: $gray-700; padding: 1ex; + list-style: none; + + &.has-not-finished { + border-color: $light; + box-shadow: 0 0 0.25rem 0.25rem $info; + } .info { padding-right: 1rem; @@ -15,6 +22,57 @@ .date { font-size: 125%; } + + .rolled-by { + display: inline-block; + vertical-align: middle; + + img { + max-height: 2rem; + width: auto; + border-radius: 50%; + } + } + + .seed-code, .btn, .rolled-by { + margin-bottom: 1ex; + } } } } + +.seed-code { + align-items: center; + align-content: center; + justify-content: flex-start; + gap: 0.5ex; + padding: 0.5ex; + border-radius: 0.5ex; + background: $dark; + color: $light; + vertical-align: middle; + + &.game-alttpr { + display: inline-flex; + flex-direction: row; + flex-wrap: nowrap; + } + + &.game-smr { + display: inline-grid; + grid-template-columns: 1fr 1fr; + > span { + text-transform: uppercase; + } + } +} + +.seed-code-input { + border: none; + padding: 0; + + &.game-smr { + display: grid; + grid-template-columns: 1fr 1fr; + } +}