Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove "Intermediate" slide option remove until content becomes available #12

Merged
merged 1 commit into from
Jan 10, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions _stylesheets/materials.css
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,15 @@ section {
-webkit-transition: background 250ms ease-in-out; }
.tab-panel label:hover {
background: #fff; }
.tab-panel .column-2up {
width: 50%; }
.tab-panel .column-3up {
width: 33%; }
.tab-panel .column-4up {
width: 25%; }
.tab-panel .tab {
float: left;
width: 118px;
border: solid 1px #dfdfdf; }
box-shadow: 0 0 0 1px #dfdfdf; }
.tab-panel .tab.first {
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
Expand Down
13 changes: 11 additions & 2 deletions _stylesheets/materials.scss
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,19 @@ section{
}
}

.column-2up{
width: 50%;
}
.column-3up{
width: 33%;
}
.column-4up{
width: 25%;
}

.tab{
float: left;
width: 118px;
border: solid 1px #dfdfdf;
box-shadow: 0 0 0 1px #dfdfdf;

&.first{
border-top-left-radius: 5px;
Expand Down
19 changes: 2 additions & 17 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h2>Materials</h2>

<div class="tab-panel">
<input type="radio" class="material-type" name="material-list" id="material-foundations" value="Foundations" checked="checked">
<label class="tab first" for="material-foundations">
<label class="tab column-2up first" for="material-foundations">
<span>Foundations</span>

<div class="panel-content">
Expand All @@ -47,23 +47,8 @@ <h2>Materials</h2>
</div>
</label>

<input type="radio" class="material-type" name="material-list" id="material-intermediate" value="Intermediate">
<label class="tab" for="material-intermediate">
<span>Intermediate</span>

<div class="panel-content">
<p>Discover useful shortcuts and option switches and more advanced GitHub features.</p>

<ul>
<li><span class="octicon-hero"><span class="octicon octicon-file-text"></span></span><a href="outlines/github-intermediate.html">Outline</a></li>
<li><span class="octicon-hero"><span class="octicon octicon-megaphone"></span></span><a href="slides/github-intermediate.html">Slides</a></li>
<li><span class="octicon-hero"><span class="octicon octicon-book"></span></span><a href="cheatsheets/github-intermediate.html">Cheatsheet</a></li>
</ul>
</div>
</label>

<input type="radio" class="material-type" name="material-list" id="material-advanced" value="Advanced">
<label class="tab last" for="material-advanced">
<label class="tab column-2up last" for="material-advanced">
<span>Advanced</span>

<div class="panel-content">
Expand Down