2023-08-22 16:08:11 -07:00
|
|
|
@import "clean/mixins"
|
|
|
|
|
2017-01-05 15:47:12 -08:00
|
|
|
// 2015 campaign blue
|
|
|
|
// $campaign-border-color: #006
|
|
|
|
// $campaign-background-color: #eef
|
|
|
|
// $campaign-text-color: #004
|
|
|
|
// $campaign-link-color: $campaign-text-color + #222
|
|
|
|
|
2018-01-18 17:14:02 -08:00
|
|
|
$campaign-border-color: hsl(310, 60%, 40%)
|
|
|
|
$campaign-background-color: hsl(310, 60%, 97%)
|
|
|
|
$campaign-text-color: hsl(310, 60%, 20%)
|
2015-09-26 20:37:03 -07:00
|
|
|
$campaign-link-color: $campaign-text-color + #222
|
2015-08-05 16:26:12 -07:00
|
|
|
|
2011-07-01 12:38:13 -07:00
|
|
|
=campaign-progress
|
|
|
|
.campaign-progress-wrapper
|
2023-08-22 15:34:40 -07:00
|
|
|
border-radius: 8px
|
2018-01-18 17:14:02 -08:00
|
|
|
background: desaturate(lighten($campaign-border-color, 30%), 30%)
|
|
|
|
background-image: linear-gradient(color-stops(desaturate(lighten($campaign-border-color, 50%), 30%), desaturate(lighten($campaign-border-color, 30%), 30%)))
|
2011-07-01 12:38:13 -07:00
|
|
|
|
2015-08-05 16:26:12 -07:00
|
|
|
border: 4px solid $campaign-border-color
|
2011-07-01 12:38:13 -07:00
|
|
|
clear: both
|
2014-09-11 18:10:32 -07:00
|
|
|
margin-bottom: 1em
|
|
|
|
margin-top: .5em
|
2011-07-01 12:38:13 -07:00
|
|
|
position: relative
|
|
|
|
|
2011-07-04 20:23:28 -07:00
|
|
|
.button
|
2014-09-11 16:09:00 -07:00
|
|
|
+awesome-button
|
2017-01-05 15:47:12 -08:00
|
|
|
+awesome-button-color(#004)
|
2011-07-04 20:23:28 -07:00
|
|
|
font-size: 75%
|
|
|
|
margin-left: 1em
|
|
|
|
padding: .25em .75em
|
|
|
|
|
2011-07-01 12:38:13 -07:00
|
|
|
.campaign-progress
|
2015-08-05 16:26:12 -07:00
|
|
|
background: $campaign-border-color
|
|
|
|
background-image: linear-gradient(color-stops($campaign-border-color + #222, $campaign-border-color))
|
|
|
|
border-right: 1px solid $campaign-border-color
|
2011-07-01 12:38:13 -07:00
|
|
|
|
|
|
|
.campaign-progress-wrapper, .campaign-progress
|
|
|
|
height: 2.5em
|
|
|
|
|
|
|
|
.campaign-progress-label
|
2018-01-18 17:14:02 -08:00
|
|
|
text-shadow: 1px 1px 0 $campaign-border-color
|
2014-09-11 16:09:00 -07:00
|
|
|
color: white
|
2011-07-01 12:38:13 -07:00
|
|
|
font-size: 150%
|
|
|
|
left: 0
|
|
|
|
position: absolute
|
|
|
|
top: 0
|
|
|
|
text-align: center
|
|
|
|
width: 100%
|
|
|
|
|
2014-09-11 16:09:00 -07:00
|
|
|
a
|
|
|
|
color: inherit
|
|
|
|
display: block
|
|
|
|
text-decoration: none
|
|
|
|
|
|
|
|
.button
|
|
|
|
position: relative
|
|
|
|
top: -2px /* lame hack to align well with text; sigh */
|
2011-07-01 12:38:13 -07:00
|
|
|
|
|
|
|
&.campaign-loaded
|
|
|
|
.campaign-progress-wrapper
|
2013-03-05 18:08:57 -08:00
|
|
|
visibility: visible
|