Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- atkColor = #ffffff
- healthColor = #fa7a89
- durColor = rgba(173, 173, 173, 1)
- statBgColor = rgba(0, 0, 0, .5)
- costColor = #f9d553
- twistColor = rgb(255, 64, 235)
- powerColor = rgba(235, 224, 83, 1)
- eligibilityColor()
- -webkit-filter drop-shadow(0 -5px 15px #51ff00)
- filter drop-shadow(0 -5px 15px #51ff00)
- eligibilityColorBoxShadow()
- // reason why we have an alternative for drop shadow is because the rendering on drop shadow fails if the card is being moved. How sad!
- box-shadow 0 0 30px 7px rgba(81, 255, 0, .7)
- // box-shadow 0 0 5px 1px rgba(81, 255, 0, 1), 0 0 5px 2px rgba(81, 255, 0, .1), 0 0 5px 3px rgba(81, 255, 0, .1), 0 0 5px 4px rgba(81, 255, 0, .1) , 0 0 5px 5px rgba(81, 255, 0, .1) , 0 0 5px 6px rgba(81, 255, 0, .1) , 0 0 5px 8px rgba(81, 255, 0, .1) , 0 0 5px 10px rgba(81, 255, 0, .1) , 0 0 5px 12px rgba(81, 255, 0, .1) , 0 0 5px 15px rgba(81, 255, 0, .1)
- unitShape()
- -webkit-clip-path square(50% at 50% 50%)
- clip-path square(50% at 50% 50%)
- weaponShape()
- -webkit-clip-path square(42% at 50% 50%)
- clip-path square(42% at 50% 50%)
- afterlifeShape()
- -webkit-clip-path square(20% at 50% 50%)
- clip-path square(20% at 50% 50%)
- statStyles()
- border-radius 4rem
- background statBgColor
- padding .2em .4em
- position absolute
- font-size 1.0em
- font-weight bold
- line-height 1
- @keyframes shield
- 0%
- -webkit-filter drop-shadow(0 -5px 20px #c6e000)
- -moz-filter drop-shadow(0 -5px 20px #c6e000)
- filter drop-shadow(0 -5px 15px #c6e000)
- 75%
- -webkit-filter drop-shadow(0 -5px 10px #c6e000)
- -moz-filter drop-shadow(0 -5px 10px #c6e000)
- filter drop-shadow(0 -5px 15px #c6e000)
- 100%
- -webkit-filter drop-shadow(0 -5px 3px #c6e000)
- -moz-filter drop-shadow(0 -5px 3px #c6e000)
- filter drop-shadow(0 -5px 15px #c6e000)
- @keyframes frenzy
- 0%
- transform translate(0px, 0px) rotate(0deg)
- 2%
- transform translate(1px, 2px) rotate(2.5deg)
- 4%
- transform translate(8px, 3px) rotate(2.5deg)
- 6%
- transform translate(-2px, 10px) rotate(-1.5deg)
- 8%
- transform translate(3px, 5px) rotate(-0.5deg)
- 10%
- transform translate(3px, -1px) rotate(-0.5deg)
- 12%
- transform translate(-1px, 1px) rotate(-0.5deg)
- 14%
- transform translate(10px, -7px) rotate(-0.5deg)
- 16%
- transform translate(-3px, -5px) rotate(2.5deg)
- 18%
- transform translate(1px, -1px) rotate(3.5deg)
- 20%
- transform translate(-1px, -9px) rotate(-0.5deg)
- 22%
- transform translate(-9px, 5px) rotate(-2.5deg)
- 24%
- transform translate(-2px, -7px) rotate(1.5deg)
- 26%
- transform translate(0px, 5px) rotate(0.5deg)
- 28%
- transform translate(-2px, 10px) rotate(-1.5deg)
- 30%
- transform translate(6px, -2px) rotate(3.5deg)
- 32%
- transform translate(3px, 9px) rotate(-1.5deg)
- 34%
- transform translate(-6px, -8px) rotate(3.5deg)
- 36%
- transform translate(-6px, 1px) rotate(2.5deg)
- 38%
- transform translate(6px, 0px) rotate(3.5deg)
- 40%
- transform translate(0px, -8px) rotate(1.5deg)
- 42%
- transform translate(2px, 1px) rotate(2.5deg)
- 44%
- transform translate(-1px, -1px) rotate(3.5deg)
- 46%
- transform translate(-4px, -3px) rotate(-2.5deg)
- 48%
- transform translate(5px, -7px) rotate(0.5deg)
- 50%
- transform translate(-7px, 4px) rotate(2.5deg)
- 52%
- transform translate(-2px, 9px) rotate(-1.5deg)
- 54%
- transform translate(4px, 1px) rotate(-1.5deg)
- 56%
- transform translate(7px, 4px) rotate(2.5deg)
- 58%
- transform translate(2px, 1px) rotate(1.5deg)
- 60%
- transform translate(4px, -7px) rotate(1.5deg)
- 62%
- transform translate(-8px, 9px) rotate(3.5deg)
- 64%
- transform translate(2px, -1px) rotate(-2.5deg)
- 66%
- transform translate(4px, -2px) rotate(2.5deg)
- 68%
- transform translate(4px, 10px) rotate(2.5deg)
- 70%
- transform translate(0px, -8px) rotate(2.5deg)
- 72%
- transform translate(0px, 10px) rotate(0.5deg)
- 74%
- transform translate(-2px, 6px) rotate(3.5deg)
- 76%
- transform translate(-9px, -5px) rotate(0.5deg)
- 78%
- transform translate(7px, 1px) rotate(3.5deg)
- 80%
- transform translate(0px, 6px) rotate(-0.5deg)
- 82%
- transform translate(4px, -6px) rotate(3.5deg)
- 84%
- transform translate(-4px, 8px) rotate(-2.5deg)
- 86%
- transform translate(1px, 10px) rotate(1.5deg)
- 88%
- transform translate(-3px, 5px) rotate(-2.5deg)
- 90%
- transform translate(0px, -3px) rotate(2.5deg)
- 92%
- transform translate(1px, 8px) rotate(0.5deg)
- 94%
- transform translate(-2px, 1px) rotate(-0.5deg)
- 96%
- transform translate(5px, 6px) rotate(0.5deg)
- 98%
- transform translate(1px, -8px) rotate(0.5deg)
- // not sure how to display this yet
- #me-overload
- #opponent-overload
- display none
- #cardFullInfo .cardDisplayInner
- .cardFullInfo .cardDisplayInner
- .info
- position relative
- ul.dataPane
- .mainProperties
- height 0
- padding 0
- margin 0
- .table
- display block
- border-spacing 0
- .Row .td
- display block
- padding 0
- .title
- display none
- .data
- position absolute
- padding .2em .4em
- font-size 3em
- font-weight bold
- line-height 1
- border-radius 2em
- background statBgColor
- [data-name='cost']
- .data
- color #f9d553
- top 10px
- left 10px
- border 3px solid costColor
- [data-name='atk']
- .data
- color atkColor
- top 294px
- left 10px
- border 3px solid atkColor
- [data-name='health']
- .data
- color healthColor
- top 294px
- right 10px
- border 3px solid healthColor
- [data-name='dur']
- .data
- color durColor
- top 294px
- right 10px
- border 3px solid durColor
- [data-name='reqType']
- .data
- display none
- [data-name='reqSource']
- .data
- display none
- [data-name='source']
- .data
- display none
- li.rarity
- .data
- text-align right
- li.effect, li.rarity, li.description, li.desc, li.type
- .data
- float none
- width auto
- .title
- display none
- text-align center
- .secondaryProperties
- overflow hidden
- padding 0 19.5px
- background rgba(0,0,0,.4)
- margin 0
- box-sizing border-box
- text-align center
- // there are some properties that are for internal or UI purposes only, not meant to be displayed.
- li
- &[data-name="eligibleToAttack"]
- display none
- li
- display inline-block
- background none
- padding 9.75px 0
- overflow visible
- margin 0 0 1px
- .data, .title
- -webkit-font-smoothing auto
- display inline
- width auto
- float none
- padding-right 0
- &[data-name="legacy"], &[data-name="invoke"], &[data-name="defensive"], &[data-name="offensive"]
- display none
- &[data-name="overload"],&[data-name="sacrifice"], &[data-name="snipe"], &[data-name="vanguard"], &[data-name="hidden"], &[data-name="rush"], &[data-name="frenzy"], &[data-name="last life"], &[data-name="shield"], &[data-name="combatant"], &[data-name="vampiric"]
- text-transform capitalize
- color white
- font inherit
- font-weight 800
- &::after
- content ". "
- display inline
- padding-right .25em
- .title
- text-transform capitalize
- color white
- font inherit
- font-weight 800
- .data
- display none
- &[data-name="sacrifice"], &[data-name="frenzy"], &[data-name="overload"]
- .title
- padding-right 0
- &::after
- content " (" attr(data-value) "). "
- display inline
- padding-right .25em
- // if the value is 1 then don't show the data as usual. Only show data if value is more than 1.
- &[data-name="frenzy"][data-value="1"]
- &::after
- content ". "
- display inline
- padding-right .25em
- // Class Colors
- trampleColor = #f4d48b
- clawColor = #08e4b7
- #cardFullInfo, .cardFullInfo
- &[data-source='trample']
- &[data-source='claw']
- &[data-reqSource='trample']
- &[data-reqSource='claw']
- .mainProperties
- .source
- .reqSource
- .data
- visibility hidden
- &:after
- bottom 12px
- left 24px
- text-align left
- padding 0
- font-size 1em
- line-height inherit
- background 0
- font-weight normal
- position absolute
- &[data-source='trample']
- &[data-reqSource='trample']
- .name, .dataPane
- color trampleColor
- .name
- border-top 3px solid trampleColor
- .image
- border-bottom 2px solid trampleColor
- .mainProperties
- .source
- .reqSource
- &:after
- content "Trample"
- &[data-source='claw']
- &[data-reqSource='claw']
- .name, .dataPane
- color clawColor
- .name
- border-top 3px solid clawColor
- .image
- border-bottom 2px solid clawColor
- .mainProperties
- .source
- .reqSource
- &:after
- content "Claw"
- color #eee
- #me-maxMana, #opponent-maxMana
- justify-content flex-start
- .statWrapper
- width 100%
- .count
- box-sizing border-box
- text-align right
- width 100%
- border-top-left-radius 0
- border-bottom-left-radius 0
- margin-left -3px
- &::before
- content "/"
- margin-right 3px
- #opponent-mana[data-type=stat], #me-mana[data-type=stat]
- .statWrapper
- width 100%
- .count
- box-sizing border-box
- padding-right 6px
- text-align right
- width 100%
- border-top-right-radius 0
- border-bottom-right-radius 0
- #playContainer
- .element
- padding 0
- #opponent-maxMana[data-type=stat], #me-maxMana[data-type=stat]
- .statWrapper
- width 100%
- .count
- text-align left
- width 100%
- border-top-left-radius 0
- border-bottom-left-radius 0
- .selectCardsContainer
- .cards
- .card
- border-top 5px solid
- border-top-left-radius 0
- border-top-left-radius 0
- .mediaContent
- border-top-left-radius 0
- border-top-left-radius 0
- .mainProperty
- position absolute
- padding .2em .4em
- font-size 2em
- font-weight bold
- line-height 1
- border-radius 2em
- background statBgColor
- display block
- line-height 1
- [data-name='cost']
- content attr(data-cost)
- color costColor
- top 10px
- left 10px
- border 3px solid costColor
- [data-name='atk']
- content attr(data-atk)
- color atkColor
- top 294px
- left 10px
- border 3px solid atkColor
- [data-name='health']
- content attr(data-health)
- color healthColor
- top 294px
- right 10px
- border 3px solid healthColor
- [data-name='dur']
- content attr(data-dur)
- color durColor
- top 294px
- right 10px
- border 3px solid durColor
- &[data-effectname="mulliganB"]
- &[data-effectname="mulliganA"]
- #selectCardsContainer
- .card.selected
- -webkit-filter none
- filter none
- box-shadow none
- &::after
- position absolute
- height 92%
- width 92%
- top 4%
- left 4%
- background url("https://d2t4fc8ff77neh.cloudfront.net/cardSrcMedia/1ablh1gc6_600px-red_x_svg.png") center center no-repeat
- background-size contain
- content " / "
- display block
- color transparent
- #card-container
- .card
- box-shadow none
- .property
- &[data-name="cost"]
- &[data-name="atk"]
- &[data-name="health"]
- display block
- &[data-name="cost"]
- statStyles()
- content attr(data-cost)
- position absolute
- color costColor
- top .5rem
- left .5rem
- border 1px solid costColor
- &[data-name="atk"]
- statStyles()
- content attr(data-cost)
- color atkColor
- bottom .5rem
- left .5rem
- border 1px solid atkColor
- &[data-name="health"]
- statStyles()
- content attr(data-cost)
- color healthColor
- bottom .5rem
- right .5rem
- border 1px solid healthColor
- &[data-name="dur"]
- statStyles()
- content attr(data-cost)
- color durColor
- bottom .5rem
- right .5rem
- border 1px solid durColor
- &[data-powerusedthisturn="0"]
- .property[data-name="powerName"]
- position absolute
- top 0
- height 100%
- width 100%
- display block
- border-top-left-radius 20em 30em
- border-top-right-radius 20em 30em
- overflow hidden
- color rgba(0, 0, 0, 0)
- font-size 1.4em
- display none
- &::after
- content attr(data-value)
- display block
- top 5rem
- width 100%
- text-align center
- padding .25rem 0
- color powerColor
- text-shadow black 0px 0px 5px, black 0px 0px 2px
- pointer-events none
- background-color statBgColor
- position absolute
- &[data-location="me-protagonist"]
- &[data-location="opponent-protagonist"]
- img
- border-top-left-radius 40em 10em
- border-top-right-radius 40em 10em
- border 2px solid purple
- .property
- &[data-name="health"]
- display block
- &[data-name="atk"]
- display block
- &[data-location="me-hand"]
- &[data-eligibletoPlay="1"]
- eligibilityColorBoxShadow()
- &:hover
- margin-top -1%
- &[data-location="me-hand"]
- &[data-location="opponent-hand"]
- .property[data-name="atk"]
- .property[data-name="health"]
- display none
- &[data-location="me-afterlife"]
- &[data-location="opponent-afterlife"]
- afterlifeShape()
- // filter blur(5px)
- // -o-filter blur(5px)
- // -moz-filter blur(5px)
- // -ms-filter blur(5px)
- // -webkit-filter blur(5px)
- transition 1s all
- .property
- display none
- &[data-location="me-playPreview"]
- &[data-location="opponent-playPreview"]
- opacity 1
- transition 1s all
- .mediaContent
- border-radius 5px
- .property[data-name="cost"]
- border-radius 2em
- background statBgColor
- padding .2em .4em
- content attr(data-cost)
- position absolute
- font-size 1.5em
- color costColor
- font-weight bold
- top 5px
- left 5px
- line-height 1
- border 1px solid costColor
- &[data-location="me-weapon"]
- &[data-location="opponent-weapon"]
- .mediaContent
- weaponShape()
- .property
- &[data-name="cost"]
- display none
- &[data-name="dur"]
- display block
- &[data-location="me-twist"]
- &[data-location="opponent-twist"]
- &::after
- content "?"
- font-weight bold
- font-size 4rem
- display block
- position absolute
- width 7rem
- line-height 7rem
- height 7rem
- color alpha(twistColor, 40%)
- top 0
- left 0
- &::before
- content "."
- display block
- height 7rem
- width 7rem
- border-radius 7rem
- background alpha(twistColor, 10%)
- // border 2px solid alpha(twistColor, 40%)
- box-shadow inset 0 10px 20px 10px alpha(twistColor, 40%)
- &:hover
- &::after
- content "Twist"
- color alpha(twistColor, 60%)
- font-weight 400
- font-size 2rem
- .property
- display none
- .mediaContent
- display none
- &[data-location="me-board"]
- &[data-location="opponent-board"]
- .mediaContent
- unitShape()
- .property[data-name="cost"]
- display none
- &[data-last-life="1"]
- .property[data-name="last life"]
- background rgba(255,255,255,.01)
- box-shadow inset 0 10px 20px 10px #FFF, inset 0 -10px 20px 10px #FFF, 0 10px 20px 10px #FFF, 0 -10px 20px 10px #FFF
- transform scaleX(.65) scaleY(.2)
- position absolute
- border-radius 100px
- left 0
- top -40%
- display block
- width 100%
- height 0
- width 100%
- padding-bottom 100%
- color rgba(0, 0, 0, 0)
- &[data-frenzy="1"]
- &[data-eligibletoattack="1"]
- animation frenzy 2s infinite alternate ease-out
- &[data-frenzy="2"]
- &[data-eligibletoattack="1"]
- animation frenzy 2s infinite alternate ease-out
- &[data-shield="1"]
- .property[data-name="shield"]
- animation shield 1s infinite cubic-bezier(0.86, 0, 0.07, 1)
- z-index 1
- -webkit-filter drop-shadow(0 -5px 15px #c6e000)
- -moz-filter drop-shadow(0 -5px 15px #c6e000)
- filter drop-shadow(0 -5px 15px #c6e000)
- background transparent
- position absolute
- left 20%
- top -20%
- display block
- width 60%
- height 60%
- color rgba(0, 0, 0, 0)
- background-image url("https://d2t4fc8ff77neh.cloudfront.net/cardSrcMedia/1abmn8gl0_9TpjLAETE.svg")
- background-size contain
- background-position center center
- background-repeat no-repeat
- opacity .5
- &[data-hidden="1"]
- .property[data-name="hidden"]
- box-shadow inset 10px 0 10px 0 rgba(0,0,0,.9), inset 45px 0 15px -12px rgba(0,0,0,.3), inset 65px 0 10px -15px rgba(0,0,0,.5)
- position absolute
- left 0
- top 0
- display block
- width 100%
- height 100%
- color rgba(0, 0, 0, 0)
- border-radius 5px
- unitShape()
- &[data-location="me-protagonist"]
- &[data-eligibletoattack="1"]
- .mediaContent
- eligibilityColor()
- &[data-location="me-board"]
- &[data-eligibletoattack="1"]
- eligibilityColor()
- &[data-vanguard="1"]
- .property[data-name="vanguard"]
- z-index 1
- -webkit-filter drop-shadow(0 -5px 15px #b3c6ff)
- -moz-filter drop-shadow(0 -5px 15px #b3c6ff)
- filter drop-shadow(0 -5px 15px #b3c6ff)
- background transparent
- position absolute
- left 20%
- top -20%
- display block
- width 60%
- height 60%
- color rgba(0, 0, 0, 0)
- background-image url("https://s14-eu5.ixquick.com/cgi-bin/serveimage?url=http:%2F%2Fwww.free-icons-download.net%2Fimages%2Fgray-shield-icon-32200.png&sp=5416839b3e58890566b351866f1de6d3")
- background-size contain
- background-position center center
- background-repeat no-repeat
- opacity .5
- &[data-knocked-back="1"]
- transform rotate(90deg)
- transition 1s
- &[data-location="opponent-board"]
- &[data-vanguard="1"]
- .property[data-name="vanguard"]
- z-index 1
- -webkit-filter drop-shadow(0 -5px 15px #b3c6ff)
- -moz-filter drop-shadow(0 -5px 15px #b3c6ff)
- filter drop-shadow(0 -5px 15px #b3c6ff)
- background transparent
- position absolute
- left 20%
- top -20%
- display block
- width 60%
- height 60%
- color rgba(0, 0, 0, 0)
- background-image url("https://s14-eu5.ixquick.com/cgi-bin/serveimage?url=http:%2F%2Fwww.free-icons-download.net%2Fimages%2Fgray-shield-icon-32200.png&sp=5416839b3e58890566b351866f1de6d3")
- background-size contain
- background-position center center
- background-repeat no-repeat
- opacity .5
- &[data-knocked-back="1"]
- transition 1s
- transform rotate(270deg)
- .cardChangingValueContainer
- font-size 3rem
- font-weight bold
- .cardChangingValue
- display none
- .health.decrease
- &.me-board
- &.opponent-board
- &.Protagonist
- display block
- color white
- border 1px solid healthColor
- background alpha(healthColor, 75%)
- padding 2rem
- label, .to
- display none
- .by
- display block
- .arrow
- display none
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement