h2.graph-name
a(id="graph-title", href="#{model.toLink()}", data-bind='name') #{name}
- .graph-viewport-row.row-fluid
+ .graph-viewport-row.row-fluid: .inner
.viewport
.graph-legend
.graph-details-row.row
- .span7.offset1.graph-desc(data-bind='desc')
+ .span7.offset3.ug.graph-desc(data-bind='desc')
!= jade.filters.markdown(desc)
- .graph-details-row.row
- .span6.offset1.graph-permalink
+ .graph-links-row.row
+ .span6.offset3.ug.graph-permalink
input.span6(value="#{model.toPermalink()}", readonly="readonly")
if ENV == 'dev'
- .span1.a.export-button.btn(href="#")
+ a.span1.export-button.btn(href="#")
i.icon-file
| Export
- .graph-details-row.row
- .span6.offset1.graph-notes(data-bind='notes')
+ .graph-notes-row.row
+ .span7.offset3.ug.graph-notes(data-bind='notes')
!= jade.filters.markdown(notes)
margin-top 18px
-/* }}} */
\ No newline at end of file
+/* }}} */
+
+.dashboard
+
+ section.graph
+ margin 7em auto
+
+ section.graph:first-child
+ margin-top 0
+
+ .graph-links-row
+ display none
section.graph-display.graph
position relative
max-width 900px
- margin 0 auto
+ margin 3em auto
*
position relative
.graph-name-row
+ margin-bottom 1em
clearfix()
/* * * * Chart & Viewport * * * {{{ */
.callout
- float right
+ float left
z-index 100
- width 200px
- padding 0 1em 0 0
- font 11px/1.5 "helvetica neue", helvetica, arial, sans-serif
+ width 15.385em
+ padding 0 6em 0 0
background-color white
text-align right
font-size 18px
line-height 36px
.metric-change
- // line-height 24px
+ font 11px/1.5 "helvetica neue", helvetica, arial, sans-serif
span
display inline-block
&.dates
width 60px
.graph-legend
- absolute top 1em right 1em
+ absolute top 1em left 0
z-index 100
- width 200px
+ width 14.667em
padding 1em
background-color rgba(255,255,255, 0.75)
b
display inline-block
- width 140px
+ width 10em
.whole
display inline-block
- width 30px
+ width 2.5em
text-align right
.fraction
text-align left
.suffix
text-align left
+ .graph-viewport-row > .inner
+ padding-left 17.385em
+
.viewport:hover + .graph-legend
border 1px solid $light
min-width 5em
text-align center
+ .graph-permalink
+ display inline-block
+ input
+ cursor auto
+
+ .ug
+ padding-left 3em
+
/* }}} */
overflow hidden
.callout
- float right
+ float left
z-index 100
- width 200px
- padding 0 1em 0 0
- font 11px/1.5 "helvetica neue", helvetica, arial, sans-serif
+ width 15.385em
+ padding 0 6em 0 0
background-color white
text-align right
font-size 18px
line-height 36px
.metric-change
+ font 11px/1.5 "helvetica neue", helvetica, arial, sans-serif
span
display inline-block
- width 100px
+ &.dates
+ width 140px
+ &.value
+ width 60px
.graph-legend
absolute top 1em right 1em
min-width 5em
text-align center
+ .graph-permalink input
+ cursor auto
+
.graph-spinner
display none
absolute bottom 3px left 0
position relative
padding 0.5em
-.watermark
- display none
- absolute top 0 left 0
- z-index 11
- width 250px
- height 250px
- background transparent no-repeat -75px -50px url("/img/wmf_logo/wmf_logo-black-250x250-a100.png")
- opacity 0.05
-
#content
z-index 10
padding 1em
body
block body
- .watermark
section#content
.inner