Skip to content

Commit

Permalink
Merge pull request #1079 from mewtaylor/issue/gh-1078
Browse files Browse the repository at this point in the history
Fix GH-1078: Add “open” string to l10n.json
  • Loading branch information
mewtaylor authored Nov 29, 2016
2 parents 02a7cec + 636c27b commit 4ea8cf7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/views/splash/hoc-banner/hoc-banner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ var HocBanner = injectIntl(React.createClass({
return (
<TitleBanner className="mod-splash-hoc">
<div className="hoc-banner inner">
<FlexRow className="hoc-banner-header">
<FlexRow className="mod-hoc-banner-header">
<h1 className="hoc-banner-header-h1">
<FormattedMessage id="hoc-banner.header" />
</h1>
Expand All @@ -97,7 +97,7 @@ var HocBanner = injectIntl(React.createClass({
</a>
</FlexRow>
<MediaQuery minWidth={frameless.desktop}>
<FlexRow className="hoc-banner-tiles">
<FlexRow className="mod-hoc-banner-tiles">
{this.renderTTTTiles()}
</FlexRow>
<TTTModal
Expand Down
20 changes: 15 additions & 5 deletions src/views/splash/hoc-banner/hoc-banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
background-size: 180px 180px;
}

.hoc-banner-header {
.flex-row.mod-hoc-banner-header,
.flex-row.mod-hoc-banner-tiles {
justify-content: space-between;
}

Expand All @@ -16,10 +17,19 @@
color: $type-white;
}

.mod-ttt-try-button:link,
.mod-ttt-try-button:visited,
.mod-ttt-try-button:active
.mod-ttt-try-button:hover {
.button.mod-ttt-try-button {
padding: .75rem 2rem;
}

.button.mod-ttt-try-button,
.button.mod-ttt-try-button:hover {
box-shadow: none;
}

.button.mod-ttt-try-button:link,
.button.mod-ttt-try-button:visited,
.button.mod-ttt-try-button:active
.button.mod-ttt-try-button:hover {
color: $type-white;
}

Expand Down
1 change: 1 addition & 0 deletions src/views/splash/l10n.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"ttt.educatorTitle": "Educator Guide",
"ttt.educatorSubtitle": "Use this educator guide to plan and lead a one-hour Scratch workshop.",
"ttt.tryIt": "Try It",
"ttt.open": "Open",
"ttt.download": "Download",
"ttt.MakeItFlyTitle": "Make It Fly",
"ttt.MakeItFlyDescription": "Animate the Scratch Cat, The Powerpuff Girls, or even a taco!",
Expand Down

0 comments on commit 4ea8cf7

Please sign in to comment.