-
Notifications
You must be signed in to change notification settings - Fork 687
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6041 from freedomofpress/5986-semantic-source-int…
…erface refactors Source Interface for semantic HTML5/ARIA markup
- Loading branch information
Showing
38 changed files
with
656 additions
and
415 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
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,5 +1,6 @@ | ||
=center-text-align | ||
.center | ||
clear: both | ||
text-align: center | ||
|
||
.highlight | ||
|
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,9 +1,21 @@ | ||
=code | ||
.code, .code-reminder | ||
background: | ||
image: url(/static/i/font-awesome/lock-black.png) | ||
origin: content-box | ||
repeat: no-repeat | ||
size: 20px 23px | ||
|
||
.code | ||
background: rgba(0, 0, 0, 0.05) | ||
background: | ||
color: rgba(0, 0, 0, 0.05) | ||
box-sizing: border-box | ||
-moz-box-sizing: border-box | ||
padding: 10px 15px | ||
border-bottom: 2px solid $color_warning_red | ||
font-size: large | ||
text-align: center | ||
|
||
.code-reminder | ||
background: | ||
size: 17px 20px |
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,4 +1,5 @@ | ||
=form-validation-error | ||
span.form-validation-error | ||
.form-validation-error | ||
color: red | ||
font-size: small | ||
list-style: none |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#locale-menu-trigger | ||
&:before | ||
content: "" | ||
|
||
display: inline-block | ||
height: 18px | ||
width: 18px | ||
|
||
margin-right: 1ch | ||
|
||
background: | ||
image: url(/static/i/languages_globe.png) | ||
size: 18px 18px | ||
|
||
&:after | ||
content: "" | ||
|
||
display: inline | ||
height: 18px | ||
width: 12px | ||
|
||
margin-left: auto | ||
|
||
background: | ||
image: url(/static/i/languages_arrow.png) | ||
position: center | ||
repeat: no-repeat | ||
size: contain |
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,8 +1,13 @@ | ||
=panel | ||
.panel | ||
max-width: 800px | ||
width: 100% | ||
margin: 0 auto | ||
padding: 16px 30px | ||
border: 1px solid #e1e1e1 | ||
float: right | ||
body:not(#source-index) | ||
main | ||
max-width: 800px | ||
width: 100% | ||
margin: 0 auto | ||
padding: 16px 30px | ||
border: 1px solid #e1e1e1 | ||
float: right | ||
|
||
section, article, .section-spacing | ||
display: flow-root | ||
margin-top: 10px + 2*8px // cf. hr.no-line |
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
Oops, something went wrong.