2014-08-07 16:03:00 -04:00
|
|
|
@import 'bootstrap/variables'
|
|
|
|
|
2014-07-07 09:03:28 -04:00
|
|
|
.achievement-body
|
2014-08-11 08:11:26 -04:00
|
|
|
position: relative
|
|
|
|
|
2014-07-07 09:03:28 -04:00
|
|
|
.achievement-icon
|
|
|
|
position: absolute
|
|
|
|
|
|
|
|
.achievement-image
|
|
|
|
width: 100%
|
|
|
|
height: 100%
|
|
|
|
img
|
|
|
|
position: absolute
|
|
|
|
margin: auto
|
|
|
|
top: 0
|
|
|
|
left: 0
|
|
|
|
right: 0
|
|
|
|
bottom: 0
|
|
|
|
|
2014-08-04 09:26:21 -04:00
|
|
|
&.locked
|
|
|
|
.achievement-content
|
|
|
|
background-image: url("/images/achievements/achievement_background_locked.png")
|
|
|
|
&:not(.locked)
|
|
|
|
.achievement-content
|
2014-08-07 16:03:00 -04:00
|
|
|
background-image: url("/images/achievements/achievement_background_light.png")
|
2014-08-04 09:26:21 -04:00
|
|
|
|
2014-07-07 09:03:28 -04:00
|
|
|
.achievement-content
|
|
|
|
background-size: 100% 100%
|
|
|
|
text-align: center
|
|
|
|
overflow: hidden
|
|
|
|
|
2014-07-28 11:40:20 -04:00
|
|
|
> .achievement-title
|
2014-08-07 16:03:00 -04:00
|
|
|
font-family: $font-family-base
|
|
|
|
font-weight: bold
|
|
|
|
white-space: nowrap
|
|
|
|
max-height: 2em
|
2014-07-07 09:03:28 -04:00
|
|
|
overflow: hidden
|
2014-08-07 16:03:00 -04:00
|
|
|
text-overflow: ellipsis
|
|
|
|
|
2014-07-07 09:03:28 -04:00
|
|
|
|
2014-07-28 11:40:20 -04:00
|
|
|
> .achievement-description
|
2014-07-07 09:03:28 -04:00
|
|
|
white-space: initial
|
2014-07-07 13:56:30 -04:00
|
|
|
font-size: 12px
|
2014-07-07 09:03:28 -04:00
|
|
|
line-height: 1.3em
|
|
|
|
max-height: 2.6em
|
|
|
|
margin-top: auto
|
|
|
|
margin-bottom: 0px !important
|
2014-08-03 17:58:51 -04:00
|
|
|
padding-left: 5px
|
2014-08-07 16:03:00 -04:00
|
|
|
overflow: hidden
|
2014-08-03 17:58:51 -04:00
|
|
|
text-overflow: ellipsis
|
2014-07-07 09:03:28 -04:00
|
|
|
|
2014-08-03 17:58:51 -04:00
|
|
|
// Specific to the user stats page
|
2014-07-07 13:56:30 -04:00
|
|
|
#user-achievements-view
|
|
|
|
.row
|
|
|
|
//.col-lg-4, .col-xs-12
|
|
|
|
padding-right: 0px !important
|
|
|
|
|
|
|
|
.achievement-body
|
|
|
|
width: 335px
|
|
|
|
height: 120px
|
|
|
|
margin: 10px 0px
|
|
|
|
|
|
|
|
.achievement-icon
|
|
|
|
width: 120px
|
|
|
|
height: 120px
|
|
|
|
top: 0px
|
|
|
|
|
|
|
|
.achievement-image
|
|
|
|
img
|
|
|
|
-moz-transform: scale(0.6)
|
|
|
|
-webkit-transform: scale(0.6)
|
|
|
|
transform: scale(0.6)
|
|
|
|
|
|
|
|
.achievement-content
|
|
|
|
margin-left: 60px
|
|
|
|
margin-right: 5px
|
|
|
|
width: 260px
|
|
|
|
height: 100px
|
2014-08-03 17:58:51 -04:00
|
|
|
padding: 15px 10px 20px 60px
|
2014-07-07 13:56:30 -04:00
|
|
|
|
|
|
|
.achievement-title
|
|
|
|
font-size: 20px
|
|
|
|
|
|
|
|
.achievement-description
|
|
|
|
font-size: 12px
|
|
|
|
line-height: 1.3em
|
|
|
|
max-height: 2.6em
|
2014-07-07 09:03:28 -04:00
|
|
|
|
2014-08-11 08:11:26 -04:00
|
|
|
.achievement-popup
|
2014-07-07 13:56:30 -04:00
|
|
|
padding: 20px 0px
|
2014-07-28 11:40:20 -04:00
|
|
|
cursor: default
|
2014-07-07 09:03:28 -04:00
|
|
|
|
2014-07-07 13:56:30 -04:00
|
|
|
.achievement-body
|
|
|
|
.achievement-icon
|
2014-07-28 11:40:20 -04:00
|
|
|
z-index: 1000
|
2014-07-07 13:56:30 -04:00
|
|
|
width: 200px
|
|
|
|
height: 200px
|
|
|
|
left: -140px
|
2014-08-11 08:11:26 -04:00
|
|
|
top: -20px
|
2014-07-07 13:56:30 -04:00
|
|
|
|
|
|
|
.achievement-image
|
|
|
|
img
|
|
|
|
position: absolute
|
|
|
|
margin: auto
|
|
|
|
top: 0
|
|
|
|
left: 0
|
|
|
|
right: 0
|
|
|
|
bottom: 0
|
|
|
|
|
|
|
|
.achievement-content
|
2014-08-07 16:03:00 -04:00
|
|
|
background-image: url("/images/achievements/achievement_background.png")
|
2014-07-28 11:40:20 -04:00
|
|
|
position: relative
|
2014-07-07 13:56:30 -04:00
|
|
|
width: 450px
|
|
|
|
height: 160px
|
|
|
|
padding: 24px 30px 20px 60px
|
|
|
|
|
|
|
|
.achievement-title
|
2014-08-07 16:03:00 -04:00
|
|
|
font-family: Bangers
|
2014-07-07 13:56:30 -04:00
|
|
|
font-size: 28px
|
|
|
|
padding-left: -50px
|
|
|
|
|
|
|
|
.achievement-description
|
|
|
|
font-size: 15px
|
|
|
|
line-height: 1.3em
|
|
|
|
max-height: 2.6em
|
|
|
|
margin-top: auto
|
|
|
|
margin-bottom: 0px !important
|
|
|
|
|
2014-07-28 11:40:20 -04:00
|
|
|
.progress-wrapper
|
|
|
|
margin-left: 20px
|
|
|
|
position: absolute
|
|
|
|
bottom: 48px
|
2014-07-07 13:56:30 -04:00
|
|
|
|
2014-07-28 14:04:44 -04:00
|
|
|
.user-level
|
2014-07-28 11:40:20 -04:00
|
|
|
font-size: 20px
|
2014-07-07 13:56:30 -04:00
|
|
|
position: absolute
|
2014-07-28 11:40:20 -04:00
|
|
|
left: -15px
|
|
|
|
margin-top: -3px
|
2014-07-28 14:04:44 -04:00
|
|
|
box-shadow: 0 0 0 2px black, 0 0 0 4px lightgrey, 0 0 0 6px black
|
2014-07-07 13:56:30 -04:00
|
|
|
|
2014-07-28 11:40:20 -04:00
|
|
|
> .progress-bar-wrapper
|
|
|
|
position: absolute
|
2014-07-30 16:23:43 -04:00
|
|
|
margin-left: 12px
|
|
|
|
width: 319px
|
2014-07-28 11:40:20 -04:00
|
|
|
height: 20px
|
|
|
|
z-index: 2
|
2014-07-07 13:56:30 -04:00
|
|
|
|
2014-07-28 11:40:20 -04:00
|
|
|
> .progress
|
|
|
|
margin-top: 5px
|
|
|
|
border-radius: 50px
|
|
|
|
height: 14px
|
2014-07-07 13:56:30 -04:00
|
|
|
|
2014-07-28 11:40:20 -04:00
|
|
|
> .progress-bar-border
|
|
|
|
position: absolute
|
|
|
|
width: 340px
|
|
|
|
height: 30px
|
|
|
|
margin-top: -2px
|
|
|
|
background: url("/images/achievements/bar_border.png") no-repeat
|
|
|
|
background-size: 100% 100%
|
|
|
|
z-index: 1
|
2014-07-07 09:03:28 -04:00
|
|
|
|
2014-08-04 09:26:21 -04:00
|
|
|
.achievement-icon
|
|
|
|
background-size: 100% 100% !important
|
|
|
|
|
2014-08-11 08:11:26 -04:00
|
|
|
.achievement-wood
|
2014-08-04 09:26:21 -04:00
|
|
|
&.locked
|
|
|
|
.achievement-icon
|
|
|
|
background: url("/images/achievements/border_wood_locked.png") no-repeat
|
|
|
|
&:not(.locked)
|
|
|
|
.achievement-icon
|
|
|
|
background: url("/images/achievements/border_wood.png") no-repeat
|
2014-07-28 09:14:11 -04:00
|
|
|
|
2014-08-11 08:11:26 -04:00
|
|
|
.achievement-stone
|
2014-08-04 09:26:21 -04:00
|
|
|
&.locked
|
|
|
|
.achievement-icon
|
|
|
|
background: url("/images/achievements/border_stone_locked.png") no-repeat
|
|
|
|
&:not(.locked)
|
|
|
|
.achievement-icon
|
|
|
|
background: url("/images/achievements/border_stone.png") no-repeat
|
2014-07-28 09:14:11 -04:00
|
|
|
|
2014-08-11 08:11:26 -04:00
|
|
|
.achievement-silver
|
2014-08-04 09:26:21 -04:00
|
|
|
&.locked
|
|
|
|
.achievement-icon
|
|
|
|
background: url("/images/achievements/border_silver_locked.png") no-repeat
|
|
|
|
&:not(.locked)
|
|
|
|
.achievement-icon
|
|
|
|
background: url("/images/achievements/border_silver.png") no-repeat
|
2014-07-28 09:14:11 -04:00
|
|
|
|
2014-08-11 08:11:26 -04:00
|
|
|
.achievement-gold
|
2014-08-04 09:26:21 -04:00
|
|
|
&.locked
|
|
|
|
.achievement-icon
|
|
|
|
background: url("/images/achievements/border_gold_locked.png") no-repeat
|
|
|
|
&:not(.locked)
|
|
|
|
.achievement-icon
|
|
|
|
background: url("/images/achievements/border_gold.png") no-repeat
|
2014-07-28 09:14:11 -04:00
|
|
|
|
2014-08-11 08:11:26 -04:00
|
|
|
.achievement-diamond
|
2014-08-04 09:26:21 -04:00
|
|
|
&.locked
|
|
|
|
.achievement-icon
|
|
|
|
background: url("/images/achievements/border_diamond_locked.png") no-repeat
|
|
|
|
&:not(.locked)
|
|
|
|
.achievement-icon
|
|
|
|
background: url("/images/achievements/border_diamond.png") no-repeat
|
2014-07-28 09:14:11 -04:00
|
|
|
|
2014-08-11 08:11:26 -04:00
|
|
|
.xp-bar-old
|
2014-07-28 11:40:20 -04:00
|
|
|
background-color: #680080
|
|
|
|
|
2014-08-11 08:11:26 -04:00
|
|
|
.xp-bar-new
|
2014-07-28 11:40:20 -04:00
|
|
|
background-color: #0096ff
|
|
|
|
|
2014-08-11 08:11:26 -04:00
|
|
|
.xp-bar-left
|
2014-07-28 11:40:20 -04:00
|
|
|
background-color: #fffbfd
|
2014-07-28 14:04:44 -04:00
|
|
|
|
|
|
|
.user-level
|
|
|
|
z-index: 1000
|
|
|
|
box-shadow: 0 0 0 1px black, 0 0 0 3px lightgrey, 0 0 0 4px black
|
2014-08-07 16:03:00 -04:00
|
|
|
font-family: $font-family-base
|
2014-07-30 16:23:43 -04:00
|
|
|
|
|
|
|
// Achievements page
|
2014-08-07 16:03:00 -04:00
|
|
|
.achievement-category-title
|
2014-07-30 16:23:43 -04:00
|
|
|
margin-left: 20px
|
2014-08-07 16:03:00 -04:00
|
|
|
font-family: $font-family-base
|
|
|
|
font-weight: bold
|
|
|
|
color: #5a5a5a
|
2014-07-30 16:23:43 -04:00
|
|
|
|
|
|
|
.table-layout
|
|
|
|
#no-achievements
|
|
|
|
margin-top: 40px
|
2014-08-05 09:14:51 -04:00
|
|
|
|
|
|
|
.achievement-icon-small
|
|
|
|
height: 18px
|
2014-08-11 08:11:26 -04:00
|
|
|
|
|
|
|
// Achievement Popup
|
|
|
|
.achievement-popup-container
|
|
|
|
position: fixed
|
|
|
|
right: 0px
|
|
|
|
bottom: 0px
|