-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #12 - Update styles. Add transition to featurelist. Add prettie…
…r & stylelint-order.
- Loading branch information
Christian Stuff
committed
May 30, 2018
1 parent
5db2881
commit 6b6ccd2
Showing
21 changed files
with
192 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
assets/css/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
assets/css | ||
assets/css/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
{ | ||
"extends": "stylelint-config-standard" | ||
"extends": [ | ||
"stylelint-config-standard", | ||
"stylelint-config-prettier" | ||
], | ||
"plugins": [ | ||
"stylelint-order" | ||
], | ||
"rules": { | ||
"at-rule-empty-line-before": null, | ||
"declaration-empty-line-before": null, | ||
"order/properties-alphabetical-order": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
<section id="contribute"> | ||
<div class="g-row"> | ||
<h2 class="section-headline g-col-4">Contribute</h2> | ||
<div class="g-col-8"> | ||
<p> | ||
TC39 welcomes contributions from the JavaScript community, whether it is feedback on existing proposals, improved documentation, testing, implementations, or even language feature ideas. <!-- TODO: Make each of the things in the preceding sentence links to the appropriate guides --> | ||
See our <a href="https://github.com/tc39/ecma262/blob/master/CONTRIBUTING.md">contributor guide</a> for details. | ||
</p> | ||
<p> | ||
To participate in TC39 meetings, <a href="https://ecma-international.org/memento/join.htm">join Ecma</a> and sign our <a href="https://ecma-international.org/memento/Policies/Registration%20Form%20for%20the%20Ecma%20Royalty%20Free%20(RF)%20Task%20Group%20(TG).pdf">patent agreement</a>. | ||
</p> | ||
</div> | ||
<div class="g-row"> | ||
<h2 class="section-headline g-col-4">Contribute</h2> | ||
<div class="g-col-8"> | ||
<p> | ||
TC39 welcomes contributions from the JavaScript community, whether it is feedback on existing proposals, improved documentation, | ||
testing, implementations, or even language feature ideas. | ||
<!-- TODO: Make each of the things in the preceding sentence links to the appropriate guides --> | ||
See our | ||
<a href="https://github.com/tc39/ecma262/blob/master/CONTRIBUTING.md">contributor guide</a> for details. | ||
</p> | ||
<p> | ||
To participate in TC39 meetings, | ||
<a href="https://ecma-international.org/memento/join.htm">join Ecma</a> and sign our | ||
<a href="https://ecma-international.org/memento/Policies/Registration%20Form%20for%20the%20Ecma%20Royalty%20Free%20(RF)%20Task%20Group%20(TG).pdf">patent agreement</a>. | ||
</p> | ||
</div> | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,47 @@ | ||
<div class="featurelist"> | ||
<h2>Stage 3</h2> | ||
|
||
{% for proposal in site.data.stage3 %} | ||
<section class="featurelist__item"> | ||
<header class="featurelist__item__intro"> | ||
<h2>{{ proposal.title }}</h2> | ||
<p>{{ proposal.description }}</p> | ||
</header> | ||
<section class="featurelist__item__info"> | ||
<div> | ||
<section id="proposals"> | ||
<h2 class="section-headline">State of Proposals</h2> | ||
<div class="featurelist"> | ||
<h3>Stage 3</h3> | ||
{% for proposal in site.data.stage3 %} | ||
<section class="featurelist__item"> | ||
<header class="featurelist__item__intro"> | ||
<h4>{{ proposal.title }}</h4> | ||
<p>{{ proposal.description }}</p> | ||
</header> | ||
<section class="featurelist__item__info"> | ||
<div> | ||
<h3>Status</h3> | ||
<ul class="featurelist__item__status"> | ||
<li class="featurelist__item__owner"> | ||
<p>Author(s)</p> | ||
<p>{% for name in proposal.authors %}{{ name }}{% endfor %}</p> | ||
</li> | ||
<li class="featurelist__item__owner"> | ||
<p>Champion(s)</p> | ||
<p>{% for name in proposal.champions %}{{ name }}{% endfor %}</p> | ||
</li> | ||
<li class="featurelist__item__tests"> | ||
<p>Test(s)</p> | ||
<p>{% for url in proposal.tests %}<a href="{{ url }}">{{ url }}</a>{% endfor %}</p> | ||
</li> | ||
<li class="featurelist__item__spec"> | ||
<p>Specification</p> | ||
<a href="{{ proposal.specification }}">{{ proposal.specification }}</a> | ||
</li> | ||
</ul> | ||
<div> | ||
<h5>Status</h5> | ||
<ul class="featurelist__item__status"> | ||
<li class="featurelist__item__owner"> | ||
<p>Author(s)</p> | ||
<p>{% for name in proposal.authors %}{{ name }}{% endfor %}</p> | ||
</li> | ||
<li class="featurelist__item__owner"> | ||
<p>Champion(s)</p> | ||
<p>{% for name in proposal.champions %}{{ name }}{% endfor %}</p> | ||
</li> | ||
<li class="featurelist__item__tests"> | ||
<p>Test(s)</p> | ||
<p>{% for url in proposal.tests %}<a href="{{ url }}">{{ url }}</a>{% endfor %}</p> | ||
</li> | ||
<li class="featurelist__item__spec"> | ||
<p>Specification</p> | ||
<a href="{{ proposal.specification }}">{{ proposal.specification }}</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
|
||
<div> | ||
<h3>Example</h3> | ||
<pre><code class="js">{{ proposal.example }}</code></pre> | ||
</div> | ||
</div> | ||
<h3>Developer Resources</h3> | ||
<ul> | ||
{% for url in proposal.resources %}<li><a href="{{ url }}">{{ url }}</a></li>{% endfor %} | ||
</ul> | ||
<h5>Developer Resources</h5> | ||
<ul> | ||
{% for url in proposal.resources %} | ||
<li> | ||
<a href="{{ url }}">{{ url }}</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</section> | ||
</section> | ||
</section> | ||
{% endfor %} | ||
|
||
</div> | ||
{% endfor %} | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,15 @@ | ||
<ul class="menu"> | ||
<li class="menu-item"> | ||
<a href="#tc39" class="menu-link">TC39</a> | ||
<!-- | ||
<span class="sub-menu"> | ||
<a href="https://github.com/tc39/proposals" class="menu-link">Active Proposals</a> | ||
<a href="https://github.com/tc39/proposals/blob/master/inactive-proposals.md" class="menu-link">Inactive Proposals</a> | ||
<a href="https://github.com/tc39/proposals/blob/master/finished-proposals.md" class="menu-link">Finished Proposals</a> | ||
</span> | ||
--> | ||
</li> | ||
<li class="menu-item"> | ||
<a href="#specs" class="menu-link">Specs</a> | ||
<!-- | ||
<span class="sub-menu"> | ||
<a href="https://timothygu.me/es-howto/" class="menu-link">Reading the spec</a> | ||
<a href="./guides/first-proposal" class="menu-link">Making your first Proposal</a> | ||
<a href="" class="menu-link">Implementing a Proposal</a> | ||
<a href="" class="menu-link">Giving meaningful feedback</a> | ||
<a href="" class="menu-link">Running the tests</a> | ||
<a href="" class="menu-link">Joining the TC39 as a member organization</a> | ||
<a href="" class="menu-link">More Guides</a> | ||
</span> | ||
--> | ||
</li> | ||
<li class="menu-item"> | ||
<a href="#contribute" class="menu-link">Contribute</a> | ||
<!-- | ||
<span class="sub-menu"> | ||
<a href="https://tc39.github.io/process-document/" class="menu-link">Overview</a> | ||
</span> | ||
--> | ||
</li> | ||
<li class="menu-item"> | ||
<a href="#proposals" class="menu-link">State of Proposals</a> | ||
<!-- | ||
<span class="sub-menu"> | ||
<a href="https://github.com/tc39/agendas/blob/master/2018/03.md" class="menu-link">Upcoming Agenda</a> | ||
<a href="https://github.com/tc39/tc39-notes/blob/master/es8/2018-01/jan-25.md" class="menu-link">Recent Meeting Notes</a> | ||
<a href="https://github.com/tc39/" class="menu-link">Github Directory</a> | ||
<a href="https://esdiscuss.org/" class="menu-link">ES Discuss</a> | ||
<a href="./discussion/irc" class="menu-link">IRC</a> | ||
</span> | ||
--> | ||
</li> | ||
</ul> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
.featurelist { | ||
&__item { | ||
border-bottom: 1px solid $color-spacer; | ||
margin-bottom: 1.125rem; | ||
&__intro { | ||
cursor: pointer; | ||
h4::after { | ||
background: url(/assets/img/menu-down.svg) no-repeat 50%; | ||
background-size: 1.5rem; | ||
content: ""; | ||
display: block; | ||
float: right; | ||
height: 1.5rem; | ||
transition: transform 600ms ease; | ||
width: 1.5rem; | ||
.open & { | ||
transform: rotateX(180deg); | ||
} | ||
} | ||
} | ||
&__info { | ||
max-height: 0; | ||
overflow: hidden; | ||
transition: max-height 600ms ease; | ||
// .open & { | ||
// max-height: 600px; | ||
// } | ||
} | ||
&__status { | ||
list-style: none; | ||
padding-left: 0; | ||
li { | ||
align-items: flex-start; | ||
display: flex; | ||
justify-content: space-between; | ||
padding: 0.5rem; | ||
&:nth-of-type(odd) { | ||
background: #eee; | ||
} | ||
} | ||
p { | ||
margin: 0; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
.logo-box { | ||
flex-shrink: 0; | ||
|
||
img { | ||
display: block; | ||
height: 120px; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,19 @@ | ||
.page-header { | ||
$spacing: 90px; | ||
|
||
align-items: flex-start; | ||
background: inherit; | ||
display: flex; | ||
flex-direction: row; | ||
padding: 0; | ||
|
||
.page-menu { | ||
margin-left: $spacing; | ||
|
||
[dir=rtl] & { | ||
[dir="rtl"] & { | ||
margin-left: 0; | ||
margin-right: $spacing; | ||
} | ||
|
||
@supports (margin-block-start: $spacing) { | ||
margin-left: 0; | ||
margin-block-start: $spacing; | ||
margin-left: 0; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.