Skip to content

Commit

Permalink
Release 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mirisuzanne committed Mar 10, 2014
1 parent fcd1a0d commit c29cbb3
Show file tree
Hide file tree
Showing 8 changed files with 69 additions and 69 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source "http://rubygems.org"

gem "sass", "~> 3.3.0.rc.4"
gem "sass", "~> 3.3.0"
gem "compass", "~> 1.0.0.alpha.18"
gem "susy", "~> 2.0.0.rc.1"
gem "susy", "~> 2.0.0"
gem "accoutrement", "~> 0.1.7"
gem "breakpoint", "~> 2.4.1"
18 changes: 10 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,20 @@ GEM
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
rb-kqueue (>= 0.2)
multi_json (1.8.4)
multi_json (1.9.0)
rake (10.1.1)
rb-fsevent (0.9.4)
rb-inotify (0.9.3)
ffi (>= 0.5.0)
rb-kqueue (0.2.0)
rb-kqueue (0.2.2)
ffi (>= 0.5.0)
sass (3.3.0.rc.4)
sassy-maps (0.3.1)
sass (3.3.0)
rake
sassy-maps (0.3.2)
compass (~> 1.0.0.alpha.13)
sass (~> 3.3.0.rc.2)
susy (2.0.0.rc.1)
sass (~> 3.3.0.rc.1)
susy (2.0.0)
sass (~> 3.3.0)

PLATFORMS
ruby
Expand All @@ -46,5 +48,5 @@ DEPENDENCIES
accoutrement (~> 0.1.7)
breakpoint (~> 2.4.1)
compass (~> 1.0.0.alpha.18)
sass (~> 3.3.0.rc.4)
susy (~> 2.0.0.rc.1)
sass (~> 3.3.0)
susy (~> 2.0.0)
12 changes: 4 additions & 8 deletions content/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,11 @@ site_author_url: http://twitter.com/ericmsuzanne

# Version
versions:
- title: Stable Release
number: 1.0.9
notes: 'https://github.com/ericam/susy/blob/master/CHANGELOG.mkdn'
code: 'https://github.com/ericam/susy/'
- title: Release Candidate
gem: 'https://rubygems.org/gems/susy/versions/2.0.0.rc.1'
number: 2.0.0.rc.1
- title: Version
number: 2.0.0
notes: 'http://susydocs.oddbird.net/en/latest/changelog/'

upgrade: 'http://susydocs.oddbird.net/en/latest/upgrade/'
code: 'https://github.com/ericam/susy/'

# News
news:
Expand Down
15 changes: 0 additions & 15 deletions content/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,6 @@ Power tools for the web
Rapid Prototypes, Built to Scale
--------------------------------

|note|

.. |note| raw:: html

<span class="callout--note">
<strong>Note:</strong>
These instructions are for Susy 2,
which requires the pre-release version of Sass.
The
<a href="http://susydocs.oddbird.net/en/latest/susyone/">SusyOne documentation</a>
is still available,
along with
<a href="http://susydocs.oddbird.net/en/latest/upgrade/">upgrade instructions</a>.
</span>

Rapid prototypes
are only the start to a long process
of development, changes, handoffs, and maintanance.
Expand Down
32 changes: 19 additions & 13 deletions content/static/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ html {
box-sizing: border-box;
}

[data-icon] {
[data-icon], .version-details [href^='http']::before, .version-details [href*="github"]::before, .version-details [href*="susydocs"]::before {
font-family: susy;
speak: none;
font-style: normal;
Expand Down Expand Up @@ -716,6 +716,13 @@ a:hover, a:focus, a:active {
padding-top: 0rem;
border: 0;
}
.release-info a:link, .release-info a:visited {
color: white;
text-decoration: none;
}
.release-info a:hover, .release-info a:focus, .release-info a:active {
text-decoration: underline;
}

.version {
padding-top: 0.34722rem;
Expand All @@ -727,12 +734,14 @@ a:hover, a:focus, a:active {
background: #0098cc;
color: white;
text-shadow: 0 1px 0 rgba(0, 95, 127, 0.5);
text-align: center;
}
.version + .version {
background: #33cbff;
}

.version-title {
font-weight: bold;
margin-right: 0.69444rem;
}

Expand All @@ -748,20 +757,17 @@ a:hover, a:focus, a:active {
display: inline-block;
margin-right: 0.69444rem;
}
.version-details a:link, .version-details a:visited {
color: white;
font-weight: bold;
text-decoration: none;
}
.version-details a:link[href^='http']:before, .version-details a:visited[href^='http']:before {
opacity: .5;
color: white;
.version-details [href^='http']::before {
content: "\e319";
font-size: 0.66667rem;
line-height: 1.38889rem;
margin-right: .4em;
}
.version-details a:hover, .version-details a:focus, .version-details a:active {
text-decoration: underline;
.version-details [href*="github"]::before {
content: "\e600";
}
.version-details a:hover[href^='http']:before, .version-details a:focus[href^='http']:before, .version-details a:active[href^='http']:before {
opacity: 1;
.version-details [href*="susydocs"]::before {
content: "\e603";
}

.head {
Expand Down
2 changes: 1 addition & 1 deletion output
38 changes: 22 additions & 16 deletions sass/modules/_release.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
@include padding-leader(0);
border: 0;
}

a {
@include link {
color: white;
text-decoration: none;
}
@include focus {
text-decoration: underline;
}
}
}

.version {
Expand All @@ -23,11 +33,15 @@
background: color(dark $accent);
color: white;
text-shadow: 0 1px 0 color(darker $accent, .5);
text-align: center;

+ .version { background: color(light $accent); }
}

.version-title { margin-right: rhythm(.5); }
.version-title {
font-weight: bold;
margin-right: rhythm(.5);
}

.version-details {
display: inline-block;
Expand All @@ -40,21 +54,13 @@
display: inline-block;
margin-right: rhythm(.5);
}
a {
@include link {
color: white;
font-weight: bold;
text-decoration: none;
&[href^='http']:before {
opacity: .5;
color: white;
}
}
@include focus {
text-decoration: underline;
&[href^='http']:before {
opacity: 1;
}

[href^='http'] {
@include icon('external') {
@include font-size(xxsmall);
margin-right: .4em;
}
}
[href*="github"] { @include icon('github'); }
[href*="susydocs"] { @include icon('list'); }
}
17 changes: 11 additions & 6 deletions templates/modules/_release.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,24 @@
<h2>Versions</h2>
{% for version in config.versions %}
<div class="version">
<b class="version-title">{{ version.title }}:</b>
<strong class="version-title">
{{ version.title }}
<a href="{{ version.gem|default('https://rubygems.org/gems/susy') }}">{{ version.number }}</a>:
</strong>
<ul class="version-details">
<li class="version-number">
<a href="{{ version.gem|default('https://rubygems.org/gems/susy') }}">{{ version.number }}</a>
</li>
{% if version.notes %}
<li class="version-notes">
<a href="{{ version.notes }}">Release Notes</a>
<a href="{{ version.notes }}">Changes</a>
</li>
{% endif %}
{% if version.upgrade %}
<li class="version-upgrade">
<a href="{{ version.upgrade }}">Upgrade Path</a>
</li>
{% endif %}
{% if version.code %}
<li class="version-code">
<a href="{{ version.code }}">Fork on GitHub</a>
<a href="{{ version.code }}">Code</a>
</li>
{% endif %}
</ul>
Expand Down

0 comments on commit c29cbb3

Please sign in to comment.