1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-23 19:36:53 +00:00
not-gwent-online/site/client/app/modules/lobby/views/lobby.html

187 lines
3.9 KiB
HTML
Raw Normal View History

2015-06-22 20:01:37 +00:00
<style>
.card {
float: left;
border-radius: 12px;
2015-06-22 20:41:19 +00:00
position: relative;
2015-06-23 11:31:37 +00:00
z-index: 10;
top: 5px;
left: 5px;
2015-06-22 20:01:37 +00:00
}
.bla {
border-radius: 14px;
2015-06-23 11:31:37 +00:00
width: 100%;
height: 100%;
position: absolute;
opacity: 0;
}
2015-06-22 20:01:37 +00:00
2015-06-23 11:31:37 +00:00
.card-wrap:hover .bla {
2015-06-23 06:38:14 +00:00
box-shadow: 0 0 2px 0 orange;
2015-06-23 11:31:37 +00:00
opacity: 1;
2015-06-23 06:38:14 +00:00
}
2015-06-22 20:41:19 +00:00
.shadow {
2015-06-23 06:38:14 +00:00
border-radius: 35%;
2015-06-22 20:41:19 +00:00
box-shadow: 0 0 15px 14px #ffa500;
content: "";
2015-06-23 11:31:37 +00:00
height: calc(100% - 50px);
left: 15px;
2015-06-22 20:41:19 +00:00
position: absolute;
2015-06-23 11:31:37 +00:00
width: calc(100% - 22px);
2015-06-22 20:41:19 +00:00
z-index: 1;
2015-06-23 11:31:37 +00:00
top: 30px;
2015-06-22 20:41:19 +00:00
transition: all 0.3s ease-in-out 0s;
2015-06-23 11:31:37 +00:00
opacity: 0;
}
2015-06-22 20:41:19 +00:00
2015-06-23 11:31:37 +00:00
.card-wrap:hover .shadow {
2015-06-22 20:41:19 +00:00
-webkit-animation: Shadow 4s ease-in-out infinite;
-moz-animation: Shadow 4s ease-in-out infinite;
animation: Shadow 4s ease-in-out infinite;
}
2015-06-22 20:01:37 +00:00
.ani {
2015-06-23 11:31:37 +00:00
background: linear-gradient(2deg, #000, #000, #000, #000);;
transition: all .05s ease-in-out 0s;
}
.card-wrap .ani {
2015-06-22 20:01:37 +00:00
background: linear-gradient(2deg, #ffa500, #ffd68b, #ffa500, #ffa500);
background-size: 800% 800%;
-webkit-animation: AnimationName 3s ease infinite;
-moz-animation: AnimationName 3s ease infinite;
animation: AnimationName 3s ease infinite;
}
2015-06-22 20:41:19 +00:00
@-webkit-keyframes Shadow {
0% {
opacity: 0;
}
25% {
opacity: .5;
}
50%{
opacity: 1;
}
75% {
opacity: .5;
}
100%{ opacity: 0;
}
}
@-webkit-keyframes Shadow {
0% {
opacity: 0;
}
25% {
opacity: .5;
}
50%{
opacity: 1;
}
75% {
opacity: .5;
}
100%{ opacity: 0;
}
}
@keyframes Shadow {
0% {
opacity: 0;
}
25% {
opacity: .5;
}
50%{
opacity: 1;
}
75% {
opacity: .5;
}
100%{ opacity: 0;
}
}
2015-06-23 06:38:14 +00:00
.overlay-card {
2015-06-23 11:31:37 +00:00
background: linear-gradient(2deg, rgba(255,255,255,.03), rgba(255,255,255,.2), rgba(255,255,255,.05));
2015-06-23 06:38:14 +00:00
background-size: 800% 800%;
position: absolute;
z-index: 20;
2015-06-23 12:13:10 +00:00
top: 10px;
left: 10px;
width: calc(100% - 10px);
2015-06-23 06:47:00 +00:00
height: calc(100% - 5px);
2015-06-23 07:12:36 +00:00
border-radius: 12px;
2015-06-23 11:31:37 +00:00
opacity: 0;
cursor: pointer;
}
2015-06-23 06:38:14 +00:00
2015-06-23 11:31:37 +00:00
.card-wrap:hover .overlay-card {
opacity: 1;
2015-06-23 06:38:14 +00:00
-webkit-animation: AnimationName 10s ease infinite;
-moz-animation: AnimationName 10s ease infinite;
animation: AnimationName 10s ease infinite;
2015-06-22 20:41:19 +00:00
}
2015-06-22 20:01:37 +00:00
@-webkit-keyframes AnimationName {
0%{background-position:51% 0%}
50%{background-position:50% 100%}
100%{background-position:51% 0%}
}
@-moz-keyframes AnimationName {
0%{background-position:51% 0%}
50%{background-position:50% 100%}
100%{background-position:51% 0%}
}
@keyframes AnimationName {
0%{background-position:51% 0%}
50%{background-position:50% 100%}
100%{background-position:51% 0%}
}
2015-06-23 11:31:37 +00:00
.card-wrap {
float: left;
width: 160px;
height: 294px;
position: relative;
padding: 4px;
}
2015-06-23 11:34:25 +00:00
.card-wrap:hover {
2015-06-23 12:13:10 +00:00
z-index: 100;
2015-06-23 11:34:25 +00:00
}
2015-06-22 20:01:37 +00:00
</style>
2015-06-23 11:31:37 +00:00
<div class="card-wrap">
<div class="bla ani"></div>
2015-06-22 20:01:37 +00:00
<img src="http://80.240.132.120/gwent/assets/cards/ballista1.png" class="card" width="150" height="auto">
2015-06-22 20:41:19 +00:00
<div class="shadow"></div>
2015-06-23 06:38:14 +00:00
<div class="overlay-card"></div>
2015-06-22 20:01:37 +00:00
</div>
2015-06-23 11:33:35 +00:00
<div class="card-wrap">
<div class="bla ani"></div>
<img src="http://80.240.132.120/gwent/assets/cards/archer.png" class="card" width="150" height="auto">
<div class="shadow"></div>
<div class="overlay-card"></div>
</div>
<div class="card-wrap">
<div class="bla ani"></div>
<img src="http://80.240.132.120/gwent/assets/cards/eilhart.png" class="card" width="150" height="auto">
<div class="shadow"></div>
<div class="overlay-card"></div>
</div>
<div class="card-wrap">
<div class="bla ani"></div>
<img src="http://80.240.132.120/gwent/assets/cards/geralt.png" class="card" width="150" height="auto">
<div class="shadow"></div>
<div class="overlay-card"></div>
</div>
2015-06-22 20:01:37 +00:00
</div>