1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-27 03:46:54 +00:00
not-gwent-online/site/client/assets/sass/_shame_cards.scss

293 lines
5.3 KiB
SCSS
Raw Normal View History

2015-06-24 05:09:16 +00:00
.card-img {
background-size: 120px 227px;
width: 120px;
height: 227px;
}
2015-06-25 08:19:43 +00:00
.card-img-small {
background-size: 70px 132px;
width: 70px;
height: 132px;
}
2015-06-25 17:07:52 +00:00
.card-wrap-big .card-img {
background-size: 150px 284px !important;
width: 150px !important;
height: 284px !important;
top: 4px;
left: 4px;
}
2015-06-25 08:19:43 +00:00
.card,
.card-small-small {
2015-06-24 05:09:16 +00:00
float: left;
border-radius: 12px;
position: relative;
z-index: 10;
top: 3px;
left: 3px;
}
2015-06-25 08:19:43 +00:00
.card-small-small {
top: 2px;
left: 2px;
border-radius: 8px;
}
2015-06-24 05:09:16 +00:00
.bla {
border-radius: 14px;
width: 100%;
height: 100%;
position: absolute;
opacity: 0;
}
2015-06-25 08:19:43 +00:00
.card-wrap-small .bla {
border-radius: 8px;
}
.card-wrap:hover .bla,
.card-wrap-small:hover .bla {
2015-06-24 05:09:16 +00:00
box-shadow: 0 0 2px 0 orange;
opacity: 1;
}
.shadow {
border-radius: 35%;
box-shadow: 0 0 15px 14px #ffa500;
content: "";
height: calc(100% - 50px);
left: 15px;
position: absolute;
width: calc(100% - 22px);
z-index: 1;
top: 30px;
transition: all 0.3s ease-in-out 0s;
opacity: 0;
}
2015-06-25 08:19:43 +00:00
.card-wrap:hover .shadow,
.card-wrap-small:hover .shadow {
2015-06-24 05:09:16 +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;
}
.ani {
background: linear-gradient(2deg, #000, #000, #000, #000);;
transition: all .05s ease-in-out 0s;
}
2015-06-25 08:24:37 +00:00
.card-wrap:hover .ani,
.card-wrap-small:hover .ani {
2015-06-24 05:09:16 +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;
}
@-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;
}
}
.overlay-card {
background: linear-gradient(2deg, rgba(255,255,255,.03), rgba(255,255,255,.2), rgba(255,255,255,.05));
background-size: 800% 800%;
position: absolute;
z-index: 20;
2015-06-25 17:07:52 +00:00
top: 6px;
left: 6px;
width: calc(100% - 4px);
height: calc(100% - 4px);
2015-06-24 05:09:16 +00:00
border-radius: 12px;
opacity: 0;
cursor: pointer;
}
2015-06-25 08:19:43 +00:00
.card-wrap:hover .overlay-card,
.card-wrap-small:hover .overlay-card {
2015-06-24 05:09:16 +00:00
opacity: 1;
-webkit-animation: AnimationName 10s ease infinite;
-moz-animation: AnimationName 10s ease infinite;
animation: AnimationName 10s ease infinite;
}
@-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%}
}
.card-wrap {
float: left;
width: 126px;
height: 233px;
position: relative;
padding: 4px;
//transition: transform .1s ease-in-out 0s;
}
2015-06-25 17:07:52 +00:00
.card-wrap-big {
width: 158px;
height: 292px;
transition: all 0.2s ease-in-out 0s;
margin: 0 0 0 20px;
}
.card-wrap-big:hover {
//transform: scale(1.1,1.1) !important;
}
2015-06-25 08:19:43 +00:00
.card-wrap-small {
float: left;
width: 74px;
height: 136px;
position: relative;
padding: 4px;
}
.card-wrap:hover,
.card-wrap-small:hover {
2015-06-24 05:09:16 +00:00
z-index: 100;
//transform: scale(1.01,1.01) !important;
}
/**
* DECK BUILDER
*/
.all-cards {
float: left;
width: calc(100% + 50px);
height: 100%;
overflow-y: auto;
//padding: 40px;
}
.all-cards-wrap {
overflow: hidden;
width: 53%;
float: left;
height: calc(100% + 40px);
padding: 0 20px;
margin: -100px 0 0 0;
}
.test {
height: 100%;
}
.heading {
float: left;
width: 100%;
position: relative;
z-index: 1000;
padding: 25px 0;
background: -moz-linear-gradient(top, rgba(8,13,20,1) 0%, rgba(8,13,20,1) 36%, rgba(8,13,20,0.85) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(8,13,20,1)), color-stop(36%,rgba(8,13,20,1)), color-stop(100%,rgba(8,13,20,0.85)));
background: -webkit-linear-gradient(top, rgba(8,13,20,1) 0%,rgba(8,13,20,1) 36%,rgba(8,13,20,0.85) 100%);
background: -o-linear-gradient(top, rgba(8,13,20,1) 0%,rgba(8,13,20,1) 36%,rgba(8,13,20,0.85) 100%);
background: -ms-linear-gradient(top, rgba(8,13,20,1) 0%,rgba(8,13,20,1) 36%,rgba(8,13,20,0.85) 100%);
background: linear-gradient(to bottom, rgba(8,13,20,1) 0%,rgba(8,13,20,1) 36%,rgba(8,13,20,0.85) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#080d14', endColorstr='#d9080d14',GradientType=0 );
2015-06-24 10:44:10 +00:00
2015-06-24 18:34:35 +00:00
.heading-decks {
float: left;
width: 53%;
}
.heading-my-deck {
float: left;
width: 47%;
2015-06-25 08:19:43 +00:00
padding: 0 0 0 10px;
2015-06-24 18:34:35 +00:00
}
span {
float: left;
font-size: 17px;
color: #435365;
font-weight: 600;
margin: 0 0 0 20px;
}
2015-06-24 10:44:10 +00:00
a {
font-size: 17px;
color: #435365;
margin: 0 0 0 30px;
font-weight: 600;
cursor: pointer;
&.active {
color: #c3cdd8;
}
2015-06-24 18:34:35 +00:00
2015-06-24 10:44:10 +00:00
}
2015-06-24 05:09:16 +00:00
}
.clear-space {
float: left;
width: 100%;
height: 100px;
}