From 95177c91375dc5a4ef59e2bb72668668a399ad0d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 17 Sep 2021 16:24:08 +0200 Subject: [PATCH] fdfd --- files/templates/award_modal.html | 129 +++++++++++++++++++++++++++---- 1 file changed, 113 insertions(+), 16 deletions(-) diff --git a/files/templates/award_modal.html b/files/templates/award_modal.html index 93b64f4f8e..6e173af75c 100644 --- a/files/templates/award_modal.html +++ b/files/templates/award_modal.html @@ -10,18 +10,31 @@ @@ -52,18 +65,102 @@ .awards-wrapper label:hover { /*background-color: rgba(173, 226, 255, 0.7)!important;*/ background-color: var(--primary)!important; - background-opacity: 0.4; } .awards-wrapper input[type="radio"]:checked+label { /*background-color: rgba(173, 226, 255, 0.9)!important;*/ background-color: var(--primary)!important; - background-opacity: 0.9; } - .award-desc { - border-radius: 5px; - background-color: rgba(221, 221, 221, 0.23); - display: flex; - } + + .check-card { + list-style: none; + margin: 40px auto; + width: 320px; +} +.check-card .check-card-item { + position: relative; + width: 100%; + margin: 0 1% 15px; + font-size: 16px; + background: #3c9895; + overflow: hidden; +} +.check-card li label { + display: block; + position: absolute; + height: 300px; + width: 100%; + z-index: 100; + cursor: pointer; +} +.check-card .check-card-body { + height: 300px; + color: #fff; + z-index: 2; + position: relative; +} +.check-card .check-card-body-in { + padding: 40px 20px 20px; + +} +.check-card .check-card-title { + font-family: 'Oswald', sans-serif; + font-size: 32px; + margin-bottom: 5px; +} +.check-card .check-card-bg, +.check-card .check-card-toggle { + position: relative; + background: #2e2d37; + width: 36px; + height: 36px; + top: 10px; + left: 10px; + -webkit-border-radius: 50%; + border-radius: 50%; +} +.check-card .check-card-bg { + position: absolute; + background: #2e2d37; + -webkit-transition: all .3s ease-out; + transition: all .3s ease-out; + -webkit-transform:scale(1); + transform:scale(1); + z-index: 0; +} +.check-card .check-card-toggle span { + position: absolute; + display: block; + width: 20px; + margin-left: -10px; + height: 1px; + top: 50%; + left: 50%; + background: #fff; + -webkit-transition: all .4s ease-out; + transition: all .4s ease-out; + + -webkit-transform: rotate(-270deg); + transform: rotate(-270deg); +} +.check-card .check-card-toggle span:first-child { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} +.check-card input[type=checkbox] { + display: none; +} +.check-card input[type=checkbox]:checked ~ .check-card-body .check-card-toggle span { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); +} +.check-card input[type=checkbox]:checked ~ .check-card-body .check-card-toggle span:first-child { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); +} +.check-card input[type=checkbox]:checked ~ .check-card-bg { + -webkit-transform:scale(25); + transform:scale(25); +} \ No newline at end of file