Commit 1ef0751f by Brian Talbot

certificates: re-organizing comments/folder structure to match current FED standards

parent 3590985f
...@@ -5,6 +5,364 @@ html { ...@@ -5,6 +5,364 @@ html {
*, *:before, *:after { *, *:before, *:after {
box-sizing: inherit; } box-sizing: inherit; }
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif;
/* 1 */
-ms-text-size-adjust: 100%;
/* 2 */
-webkit-text-size-adjust: 100%;
/* 2 */ }
/**
* Remove default margin.
*/
body {
margin: 0; }
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block; }
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block;
/* 1 */
vertical-align: baseline;
/* 2 */ }
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0; }
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none; }
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background-color: transparent; }
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0; }
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted; }
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: bold; }
/**
* Address styling not present in Safari and Chrome.
*/
dfn {
font-style: italic; }
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0; }
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000; }
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%; }
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline; }
sup {
top: -0.5em; }
sub {
bottom: -0.25em; }
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0; }
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden; }
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1em 40px; }
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0; }
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto; }
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em; }
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit;
/* 1 */
font: inherit;
/* 2 */
margin: 0;
/* 3 */ }
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
overflow: visible; }
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none; }
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
/* 2 */
cursor: pointer;
/* 3 */ }
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default; }
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0; }
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal; }
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */ }
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto; }
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield;
/* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
/* 2 */
box-sizing: content-box; }
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; }
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em; }
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0;
/* 1 */
padding: 0;
/* 2 */ }
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
overflow: auto; }
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold; }
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0; }
td,
th {
padding: 0; }
.view-valid-certificate .accomplishment-details .list-metadata .item:last-child, .view-validate-certificate .list-instructions .item:last-child, .view-validate-certificate .list-instructions .item .instruction-details:last-child { .view-valid-certificate .accomplishment-details .list-metadata .item:last-child, .view-validate-certificate .list-instructions .item:last-child, .view-validate-certificate .list-instructions .item .instruction-details:last-child {
margin-bottom: 0; margin-bottom: 0;
margin-right: 0; margin-right: 0;
...@@ -155,132 +513,6 @@ html { ...@@ -155,132 +513,6 @@ html {
opacity: 0.5; } opacity: 0.5; }
100% { 100% {
opacity: 0.0; } } opacity: 0.0; } }
@-webkit-keyframes slideInLeft {
0% {
opacity: 0;
transform: translateX(-2000px); }
100% {
transform: translateX(0); } }
@-moz-keyframes slideInLeft {
0% {
opacity: 0;
transform: translateX(-2000px); }
100% {
transform: translateX(0); } }
@keyframes slideInLeft {
0% {
opacity: 0;
transform: translateX(-2000px); }
100% {
transform: translateX(0); } }
@-webkit-keyframes slideInRight {
0% {
opacity: 0;
transform: translateX(2000px); }
100% {
transform: translateX(0); } }
@-moz-keyframes slideInRight {
0% {
opacity: 0;
transform: translateX(2000px); }
100% {
transform: translateX(0); } }
@keyframes slideInRight {
0% {
opacity: 0;
transform: translateX(2000px); }
100% {
transform: translateX(0); } }
@-webkit-keyframes slideInDown {
0% {
opacity: 0;
transform: translateY(-2000px); }
100% {
transform: translateY(0); } }
@-moz-keyframes slideInDown {
0% {
opacity: 0;
transform: translateY(-2000px); }
100% {
transform: translateY(0); } }
@keyframes slideInDown {
0% {
opacity: 0;
transform: translateY(-2000px); }
100% {
transform: translateY(0); } }
@-webkit-keyframes slideInUp {
0% {
opacity: 0;
transform: translateY(2000px); }
100% {
transform: translateY(0); } }
@-moz-keyframes slideInUp {
0% {
opacity: 0;
transform: translateY(2000px); }
100% {
transform: translateY(0); } }
@keyframes slideInUp {
0% {
opacity: 0;
transform: translateY(2000px); }
100% {
transform: translateY(0); } }
@-webkit-keyframes slideOutLeft {
0% {
transform: translateX(0); }
100% {
opacity: 0;
transform: translateX(-2000px); } }
@-moz-keyframes slideOutLeft {
0% {
transform: translateX(0); }
100% {
opacity: 0;
transform: translateX(-2000px); } }
@keyframes slideOutLeft {
0% {
transform: translateX(0); }
100% {
opacity: 0;
transform: translateX(-2000px); } }
@-webkit-keyframes slideOutRight {
0% {
transform: translateX(0); }
100% {
opacity: 0;
transform: translateX(2000px); } }
@-moz-keyframes slideOutRight {
0% {
transform: translateX(0); }
100% {
opacity: 0;
transform: translateX(2000px); } }
@keyframes slideOutRight {
0% {
transform: translateX(0); }
100% {
opacity: 0;
transform: translateX(2000px); } }
@-webkit-keyframes slideOutUp {
0% {
transform: translateY(0); }
100% {
opacity: 0;
transform: translateY(-2000px); } }
@-moz-keyframes slideOutUp {
0% {
transform: translateY(0); }
100% {
opacity: 0;
transform: translateY(-2000px); } }
@keyframes slideOutUp {
0% {
transform: translateY(0); }
100% {
opacity: 0;
transform: translateY(-2000px); } }
@-webkit-keyframes rotateUp { @-webkit-keyframes rotateUp {
0% { 0% {
-webkit-transform: rotate(0deg); } -webkit-transform: rotate(0deg); }
...@@ -569,42 +801,6 @@ html { ...@@ -569,42 +801,6 @@ html {
transform: translateY(30px); } transform: translateY(30px); }
60% { 60% {
transform: translateY(15px); } } transform: translateY(15px); } }
html, body {
height: 100%; }
html {
font-size: 62.5%;
overflow-y: scroll; }
[class^="wrapper-"] {
padding: 0; }
.wrapper-view {
background: #f4f5f5; }
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
outline: 0;
vertical-align: baseline; }
abbr[title] {
border-bottom: none;
text-decoration: none;
cursor: help; }
html, body, div, span, applet, object, iframe, html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, a, abbr, acronym, address, big, cite, code,
...@@ -694,6 +890,42 @@ body, .view-validate-certificate .list-requirements .item, .view-validate-certif ...@@ -694,6 +890,42 @@ body, .view-validate-certificate .list-requirements .item, .view-validate-certif
line-height: 18.6px; line-height: 18.6px;
line-height: 1.86rem; } line-height: 1.86rem; }
html, body {
height: 100%; }
html {
font-size: 62.5%;
overflow-y: scroll; }
[class^="wrapper-"] {
padding: 0; }
.wrapper-view {
background: #f4f5f5; }
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
outline: 0;
vertical-align: baseline; }
abbr[title] {
border-bottom: none;
text-decoration: none;
cursor: help; }
.view-certificate .content-supplemental .list-actions .action, .view-validate-certificate .support .list-actions .action { .view-certificate .content-supplemental .list-actions .action, .view-validate-certificate .support .list-actions .action {
-webkit-transition: color 0.25s ease-in-out, background 0.25s ease-in-out, box-shadow 0.25s ease-in-out; -webkit-transition: color 0.25s ease-in-out, background 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
-moz-transition: color 0.25s ease-in-out, background 0.25s ease-in-out, box-shadow 0.25s ease-in-out; -moz-transition: color 0.25s ease-in-out, background 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
...@@ -1486,4 +1718,4 @@ body, .view-validate-certificate .list-requirements .item, .view-validate-certif ...@@ -1486,4 +1718,4 @@ body, .view-validate-certificate .list-requirements .item, .view-validate-certif
display: block; display: block;
text-align: center; } } text-align: center; } }
/*# sourceMappingURL=style-application.css.map */ /*# sourceMappingURL=main.css.map */
/*!
* Font Awesome 3.2.1
* the iconic font designed for Bootstrap
* ------------------------------------------------------------------------------
* The full suite of pictographic icons, examples, and documentation can be
* found at http://fontawesome.io. Stay up to date on Twitter at
* http://twitter.com/fontawesome.
*
* License
* ------------------------------------------------------------------------------
* - The Font Awesome font is licensed under SIL OFL 1.1 -
* http://scripts.sil.org/OFL
* - Font Awesome CSS, LESS, and SASS files are licensed under MIT License -
* http://opensource.org/licenses/mit-license.html
* - Font Awesome documentation licensed under CC BY 3.0 -
* http://creativecommons.org/licenses/by/3.0/
* - Attribution is no longer required in Font Awesome 3.0, but much appreciated:
* "Font Awesome by Dave Gandy - http://fontawesome.io"
*
* Author - Dave Gandy
* ------------------------------------------------------------------------------
* Email: dave@fontawesome.io
* Twitter: http://twitter.com/davegandy
* Work: Lead Product Designer @ Kyruus - http://kyruus.com
*/
/* FONT PATH
* -------------------------- */
@font-face {
font-family: 'FontAwesome';
src: url('../../fonts/vendor/fontawesome/fontawesome-webfont.eot?v=3.2.1');
src: url('../../fonts/vendor/fontawesome/fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'), url('../../fonts/vendor/fontawesome/fontawesome-webfont.woff?v=3.2.1') format('woff'), url('../../fonts/vendor/fontawesome/fontawesome-webfont.ttf?v=3.2.1') format('truetype'), url('../../fonts/vendor/fontawesome/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1') format('svg');
font-weight: normal;
font-style: normal;
}
/* FONT AWESOME CORE
* -------------------------- */
[class^="icon-"],
[class*=" icon-"] {
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
text-decoration: inherit;
-webkit-font-smoothing: antialiased;
*margin-right: .3em;
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
text-decoration: inherit;
display: inline-block;
speak: none;
}
/* makes the font 33% larger relative to the icon container */
.icon-large:before {
vertical-align: -10%;
font-size: 1.3333333333333333em;
}
/* makes sure icons active on rollover in links */
a [class^="icon-"],
a [class*=" icon-"] {
display: inline;
}
/* increased font size for icon-large */
[class^="icon-"].icon-fixed-width,
[class*=" icon-"].icon-fixed-width {
display: inline-block;
width: 1.1428571428571428em;
text-align: right;
padding-right: 0.2857142857142857em;
}
[class^="icon-"].icon-fixed-width.icon-large,
[class*=" icon-"].icon-fixed-width.icon-large {
width: 1.4285714285714286em;
}
.icons-ul {
margin-left: 2.142857142857143em;
list-style-type: none;
}
.icons-ul > li {
position: relative;
}
.icons-ul .icon-li {
position: absolute;
left: -2.142857142857143em;
width: 2.142857142857143em;
text-align: center;
line-height: inherit;
}
[class^="icon-"].hide,
[class*=" icon-"].hide {
display: none;
}
.icon-muted {
color: #eeeeee;
}
.icon-light {
color: #ffffff;
}
.icon-dark {
color: #333333;
}
.icon-border {
border: solid 1px #eeeeee;
padding: .2em .25em .15em;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.icon-2x {
font-size: 2em;
}
.icon-2x.icon-border {
border-width: 2px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.icon-3x {
font-size: 3em;
}
.icon-3x.icon-border {
border-width: 3px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.icon-4x {
font-size: 4em;
}
.icon-4x.icon-border {
border-width: 4px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
.icon-5x {
font-size: 5em;
}
.icon-5x.icon-border {
border-width: 5px;
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
}
.pull-right {
float: right;
}
.pull-left {
float: left;
}
[class^="icon-"].pull-left,
[class*=" icon-"].pull-left {
margin-right: .3em;
}
[class^="icon-"].pull-right,
[class*=" icon-"].pull-right {
margin-left: .3em;
}
/* BOOTSTRAP SPECIFIC CLASSES
* -------------------------- */
/* Bootstrap 2.0 sprites.less reset */
[class^="icon-"],
[class*=" icon-"] {
display: inline;
width: auto;
height: auto;
line-height: normal;
vertical-align: baseline;
background-image: none;
background-position: 0% 0%;
background-repeat: repeat;
margin-top: 0;
}
/* more sprites.less reset */
.icon-white,
.nav-pills > .active > a > [class^="icon-"],
.nav-pills > .active > a > [class*=" icon-"],
.nav-list > .active > a > [class^="icon-"],
.nav-list > .active > a > [class*=" icon-"],
.navbar-inverse .nav > .active > a > [class^="icon-"],
.navbar-inverse .nav > .active > a > [class*=" icon-"],
.dropdown-menu > li > a:hover > [class^="icon-"],
.dropdown-menu > li > a:hover > [class*=" icon-"],
.dropdown-menu > .active > a > [class^="icon-"],
.dropdown-menu > .active > a > [class*=" icon-"],
.dropdown-submenu:hover > a > [class^="icon-"],
.dropdown-submenu:hover > a > [class*=" icon-"] {
background-image: none;
}
/* keeps Bootstrap styles with and without icons the same */
.btn [class^="icon-"].icon-large,
.nav [class^="icon-"].icon-large,
.btn [class*=" icon-"].icon-large,
.nav [class*=" icon-"].icon-large {
line-height: .9em;
}
.btn [class^="icon-"].icon-spin,
.nav [class^="icon-"].icon-spin,
.btn [class*=" icon-"].icon-spin,
.nav [class*=" icon-"].icon-spin {
display: inline-block;
}
.nav-tabs [class^="icon-"],
.nav-pills [class^="icon-"],
.nav-tabs [class*=" icon-"],
.nav-pills [class*=" icon-"],
.nav-tabs [class^="icon-"].icon-large,
.nav-pills [class^="icon-"].icon-large,
.nav-tabs [class*=" icon-"].icon-large,
.nav-pills [class*=" icon-"].icon-large {
line-height: .9em;
}
.btn [class^="icon-"].pull-left.icon-2x,
.btn [class*=" icon-"].pull-left.icon-2x,
.btn [class^="icon-"].pull-right.icon-2x,
.btn [class*=" icon-"].pull-right.icon-2x {
margin-top: .18em;
}
.btn [class^="icon-"].icon-spin.icon-large,
.btn [class*=" icon-"].icon-spin.icon-large {
line-height: .8em;
}
.btn.btn-small [class^="icon-"].pull-left.icon-2x,
.btn.btn-small [class*=" icon-"].pull-left.icon-2x,
.btn.btn-small [class^="icon-"].pull-right.icon-2x,
.btn.btn-small [class*=" icon-"].pull-right.icon-2x {
margin-top: .25em;
}
.btn.btn-large [class^="icon-"],
.btn.btn-large [class*=" icon-"] {
margin-top: 0;
}
.btn.btn-large [class^="icon-"].pull-left.icon-2x,
.btn.btn-large [class*=" icon-"].pull-left.icon-2x,
.btn.btn-large [class^="icon-"].pull-right.icon-2x,
.btn.btn-large [class*=" icon-"].pull-right.icon-2x {
margin-top: .05em;
}
.btn.btn-large [class^="icon-"].pull-left.icon-2x,
.btn.btn-large [class*=" icon-"].pull-left.icon-2x {
margin-right: .2em;
}
.btn.btn-large [class^="icon-"].pull-right.icon-2x,
.btn.btn-large [class*=" icon-"].pull-right.icon-2x {
margin-left: .2em;
}
/* Fixes alignment in nav lists */
.nav-list [class^="icon-"],
.nav-list [class*=" icon-"] {
line-height: inherit;
}
/* EXTRAS
* -------------------------- */
/* Stacked and layered icon */
.icon-stack {
position: relative;
display: inline-block;
width: 2em;
height: 2em;
line-height: 2em;
vertical-align: -35%;
}
.icon-stack [class^="icon-"],
.icon-stack [class*=" icon-"] {
display: block;
text-align: center;
position: absolute;
width: 100%;
height: 100%;
font-size: 1em;
line-height: inherit;
*line-height: 2em;
}
.icon-stack .icon-stack-base {
font-size: 2em;
*line-height: 1em;
}
/* Animated rotating icon */
.icon-spin {
display: inline-block;
-moz-animation: spin 2s infinite linear;
-o-animation: spin 2s infinite linear;
-webkit-animation: spin 2s infinite linear;
animation: spin 2s infinite linear;
}
/* Prevent stack and spinners from being taken inline when inside a link */
a .icon-stack,
a .icon-spin {
display: inline-block;
text-decoration: none;
}
@-moz-keyframes spin {
0% {
-moz-transform: rotate(0deg);
}
100% {
-moz-transform: rotate(359deg);
}
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
}
}
@-o-keyframes spin {
0% {
-o-transform: rotate(0deg);
}
100% {
-o-transform: rotate(359deg);
}
}
@-ms-keyframes spin {
0% {
-ms-transform: rotate(0deg);
}
100% {
-ms-transform: rotate(359deg);
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(359deg);
}
}
/* Icon rotations and mirroring */
.icon-rotate-90:before {
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-o-transform: rotate(90deg);
transform: rotate(90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
}
.icon-rotate-180:before {
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
.icon-rotate-270:before {
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
-ms-transform: rotate(270deg);
-o-transform: rotate(270deg);
transform: rotate(270deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
.icon-flip-horizontal:before {
-webkit-transform: scale(-1, 1);
-moz-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
-o-transform: scale(-1, 1);
transform: scale(-1, 1);
}
.icon-flip-vertical:before {
-webkit-transform: scale(1, -1);
-moz-transform: scale(1, -1);
-ms-transform: scale(1, -1);
-o-transform: scale(1, -1);
transform: scale(1, -1);
}
/* ensure rotation occurs inside anchor tags */
a .icon-rotate-90:before,
a .icon-rotate-180:before,
a .icon-rotate-270:before,
a .icon-flip-horizontal:before,
a .icon-flip-vertical:before {
display: inline-block;
}
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
readers do not read off random characters that represent icons */
.icon-glass:before {
content: "\f000";
}
.icon-music:before {
content: "\f001";
}
.icon-search:before {
content: "\f002";
}
.icon-envelope-alt:before {
content: "\f003";
}
.icon-heart:before {
content: "\f004";
}
.icon-star:before {
content: "\f005";
}
.icon-star-empty:before {
content: "\f006";
}
.icon-user:before {
content: "\f007";
}
.icon-film:before {
content: "\f008";
}
.icon-th-large:before {
content: "\f009";
}
.icon-th:before {
content: "\f00a";
}
.icon-th-list:before {
content: "\f00b";
}
.icon-ok:before {
content: "\f00c";
}
.icon-remove:before {
content: "\f00d";
}
.icon-zoom-in:before {
content: "\f00e";
}
.icon-zoom-out:before {
content: "\f010";
}
.icon-power-off:before,
.icon-off:before {
content: "\f011";
}
.icon-signal:before {
content: "\f012";
}
.icon-gear:before,
.icon-cog:before {
content: "\f013";
}
.icon-trash:before {
content: "\f014";
}
.icon-home:before {
content: "\f015";
}
.icon-file-alt:before {
content: "\f016";
}
.icon-time:before {
content: "\f017";
}
.icon-road:before {
content: "\f018";
}
.icon-download-alt:before {
content: "\f019";
}
.icon-download:before {
content: "\f01a";
}
.icon-upload:before {
content: "\f01b";
}
.icon-inbox:before {
content: "\f01c";
}
.icon-play-circle:before {
content: "\f01d";
}
.icon-rotate-right:before,
.icon-repeat:before {
content: "\f01e";
}
.icon-refresh:before {
content: "\f021";
}
.icon-list-alt:before {
content: "\f022";
}
.icon-lock:before {
content: "\f023";
}
.icon-flag:before {
content: "\f024";
}
.icon-headphones:before {
content: "\f025";
}
.icon-volume-off:before {
content: "\f026";
}
.icon-volume-down:before {
content: "\f027";
}
.icon-volume-up:before {
content: "\f028";
}
.icon-qrcode:before {
content: "\f029";
}
.icon-barcode:before {
content: "\f02a";
}
.icon-tag:before {
content: "\f02b";
}
.icon-tags:before {
content: "\f02c";
}
.icon-book:before {
content: "\f02d";
}
.icon-bookmark:before {
content: "\f02e";
}
.icon-print:before {
content: "\f02f";
}
.icon-camera:before {
content: "\f030";
}
.icon-font:before {
content: "\f031";
}
.icon-bold:before {
content: "\f032";
}
.icon-italic:before {
content: "\f033";
}
.icon-text-height:before {
content: "\f034";
}
.icon-text-width:before {
content: "\f035";
}
.icon-align-left:before {
content: "\f036";
}
.icon-align-center:before {
content: "\f037";
}
.icon-align-right:before {
content: "\f038";
}
.icon-align-justify:before {
content: "\f039";
}
.icon-list:before {
content: "\f03a";
}
.icon-indent-left:before {
content: "\f03b";
}
.icon-indent-right:before {
content: "\f03c";
}
.icon-facetime-video:before {
content: "\f03d";
}
.icon-picture:before {
content: "\f03e";
}
.icon-pencil:before {
content: "\f040";
}
.icon-map-marker:before {
content: "\f041";
}
.icon-adjust:before {
content: "\f042";
}
.icon-tint:before {
content: "\f043";
}
.icon-edit:before {
content: "\f044";
}
.icon-share:before {
content: "\f045";
}
.icon-check:before {
content: "\f046";
}
.icon-move:before {
content: "\f047";
}
.icon-step-backward:before {
content: "\f048";
}
.icon-fast-backward:before {
content: "\f049";
}
.icon-backward:before {
content: "\f04a";
}
.icon-play:before {
content: "\f04b";
}
.icon-pause:before {
content: "\f04c";
}
.icon-stop:before {
content: "\f04d";
}
.icon-forward:before {
content: "\f04e";
}
.icon-fast-forward:before {
content: "\f050";
}
.icon-step-forward:before {
content: "\f051";
}
.icon-eject:before {
content: "\f052";
}
.icon-chevron-left:before {
content: "\f053";
}
.icon-chevron-right:before {
content: "\f054";
}
.icon-plus-sign:before {
content: "\f055";
}
.icon-minus-sign:before {
content: "\f056";
}
.icon-remove-sign:before {
content: "\f057";
}
.icon-ok-sign:before {
content: "\f058";
}
.icon-question-sign:before {
content: "\f059";
}
.icon-info-sign:before {
content: "\f05a";
}
.icon-screenshot:before {
content: "\f05b";
}
.icon-remove-circle:before {
content: "\f05c";
}
.icon-ok-circle:before {
content: "\f05d";
}
.icon-ban-circle:before {
content: "\f05e";
}
.icon-arrow-left:before {
content: "\f060";
}
.icon-arrow-right:before {
content: "\f061";
}
.icon-arrow-up:before {
content: "\f062";
}
.icon-arrow-down:before {
content: "\f063";
}
.icon-mail-forward:before,
.icon-share-alt:before {
content: "\f064";
}
.icon-resize-full:before {
content: "\f065";
}
.icon-resize-small:before {
content: "\f066";
}
.icon-plus:before {
content: "\f067";
}
.icon-minus:before {
content: "\f068";
}
.icon-asterisk:before {
content: "\f069";
}
.icon-exclamation-sign:before {
content: "\f06a";
}
.icon-gift:before {
content: "\f06b";
}
.icon-leaf:before {
content: "\f06c";
}
.icon-fire:before {
content: "\f06d";
}
.icon-eye-open:before {
content: "\f06e";
}
.icon-eye-close:before {
content: "\f070";
}
.icon-warning-sign:before {
content: "\f071";
}
.icon-plane:before {
content: "\f072";
}
.icon-calendar:before {
content: "\f073";
}
.icon-random:before {
content: "\f074";
}
.icon-comment:before {
content: "\f075";
}
.icon-magnet:before {
content: "\f076";
}
.icon-chevron-up:before {
content: "\f077";
}
.icon-chevron-down:before {
content: "\f078";
}
.icon-retweet:before {
content: "\f079";
}
.icon-shopping-cart:before {
content: "\f07a";
}
.icon-folder-close:before {
content: "\f07b";
}
.icon-folder-open:before {
content: "\f07c";
}
.icon-resize-vertical:before {
content: "\f07d";
}
.icon-resize-horizontal:before {
content: "\f07e";
}
.icon-bar-chart:before {
content: "\f080";
}
.icon-twitter-sign:before {
content: "\f081";
}
.icon-facebook-sign:before {
content: "\f082";
}
.icon-camera-retro:before {
content: "\f083";
}
.icon-key:before {
content: "\f084";
}
.icon-gears:before,
.icon-cogs:before {
content: "\f085";
}
.icon-comments:before {
content: "\f086";
}
.icon-thumbs-up-alt:before {
content: "\f087";
}
.icon-thumbs-down-alt:before {
content: "\f088";
}
.icon-star-half:before {
content: "\f089";
}
.icon-heart-empty:before {
content: "\f08a";
}
.icon-signout:before {
content: "\f08b";
}
.icon-linkedin-sign:before {
content: "\f08c";
}
.icon-pushpin:before {
content: "\f08d";
}
.icon-external-link:before {
content: "\f08e";
}
.icon-signin:before {
content: "\f090";
}
.icon-trophy:before {
content: "\f091";
}
.icon-github-sign:before {
content: "\f092";
}
.icon-upload-alt:before {
content: "\f093";
}
.icon-lemon:before {
content: "\f094";
}
.icon-phone:before {
content: "\f095";
}
.icon-unchecked:before,
.icon-check-empty:before {
content: "\f096";
}
.icon-bookmark-empty:before {
content: "\f097";
}
.icon-phone-sign:before {
content: "\f098";
}
.icon-twitter:before {
content: "\f099";
}
.icon-facebook:before {
content: "\f09a";
}
.icon-github:before {
content: "\f09b";
}
.icon-unlock:before {
content: "\f09c";
}
.icon-credit-card:before {
content: "\f09d";
}
.icon-rss:before {
content: "\f09e";
}
.icon-hdd:before {
content: "\f0a0";
}
.icon-bullhorn:before {
content: "\f0a1";
}
.icon-bell:before {
content: "\f0a2";
}
.icon-certificate:before {
content: "\f0a3";
}
.icon-hand-right:before {
content: "\f0a4";
}
.icon-hand-left:before {
content: "\f0a5";
}
.icon-hand-up:before {
content: "\f0a6";
}
.icon-hand-down:before {
content: "\f0a7";
}
.icon-circle-arrow-left:before {
content: "\f0a8";
}
.icon-circle-arrow-right:before {
content: "\f0a9";
}
.icon-circle-arrow-up:before {
content: "\f0aa";
}
.icon-circle-arrow-down:before {
content: "\f0ab";
}
.icon-globe:before {
content: "\f0ac";
}
.icon-wrench:before {
content: "\f0ad";
}
.icon-tasks:before {
content: "\f0ae";
}
.icon-filter:before {
content: "\f0b0";
}
.icon-briefcase:before {
content: "\f0b1";
}
.icon-fullscreen:before {
content: "\f0b2";
}
.icon-group:before {
content: "\f0c0";
}
.icon-link:before {
content: "\f0c1";
}
.icon-cloud:before {
content: "\f0c2";
}
.icon-beaker:before {
content: "\f0c3";
}
.icon-cut:before {
content: "\f0c4";
}
.icon-copy:before {
content: "\f0c5";
}
.icon-paperclip:before,
.icon-paper-clip:before {
content: "\f0c6";
}
.icon-save:before {
content: "\f0c7";
}
.icon-sign-blank:before {
content: "\f0c8";
}
.icon-reorder:before {
content: "\f0c9";
}
.icon-list-ul:before {
content: "\f0ca";
}
.icon-list-ol:before {
content: "\f0cb";
}
.icon-strikethrough:before {
content: "\f0cc";
}
.icon-underline:before {
content: "\f0cd";
}
.icon-table:before {
content: "\f0ce";
}
.icon-magic:before {
content: "\f0d0";
}
.icon-truck:before {
content: "\f0d1";
}
.icon-pinterest:before {
content: "\f0d2";
}
.icon-pinterest-sign:before {
content: "\f0d3";
}
.icon-google-plus-sign:before {
content: "\f0d4";
}
.icon-google-plus:before {
content: "\f0d5";
}
.icon-money:before {
content: "\f0d6";
}
.icon-caret-down:before {
content: "\f0d7";
}
.icon-caret-up:before {
content: "\f0d8";
}
.icon-caret-left:before {
content: "\f0d9";
}
.icon-caret-right:before {
content: "\f0da";
}
.icon-columns:before {
content: "\f0db";
}
.icon-sort:before {
content: "\f0dc";
}
.icon-sort-down:before {
content: "\f0dd";
}
.icon-sort-up:before {
content: "\f0de";
}
.icon-envelope:before {
content: "\f0e0";
}
.icon-linkedin:before {
content: "\f0e1";
}
.icon-rotate-left:before,
.icon-undo:before {
content: "\f0e2";
}
.icon-legal:before {
content: "\f0e3";
}
.icon-dashboard:before {
content: "\f0e4";
}
.icon-comment-alt:before {
content: "\f0e5";
}
.icon-comments-alt:before {
content: "\f0e6";
}
.icon-bolt:before {
content: "\f0e7";
}
.icon-sitemap:before {
content: "\f0e8";
}
.icon-umbrella:before {
content: "\f0e9";
}
.icon-paste:before {
content: "\f0ea";
}
.icon-lightbulb:before {
content: "\f0eb";
}
.icon-exchange:before {
content: "\f0ec";
}
.icon-cloud-download:before {
content: "\f0ed";
}
.icon-cloud-upload:before {
content: "\f0ee";
}
.icon-user-md:before {
content: "\f0f0";
}
.icon-stethoscope:before {
content: "\f0f1";
}
.icon-suitcase:before {
content: "\f0f2";
}
.icon-bell-alt:before {
content: "\f0f3";
}
.icon-coffee:before {
content: "\f0f4";
}
.icon-food:before {
content: "\f0f5";
}
.icon-file-text-alt:before {
content: "\f0f6";
}
.icon-building:before {
content: "\f0f7";
}
.icon-hospital:before {
content: "\f0f8";
}
.icon-ambulance:before {
content: "\f0f9";
}
.icon-medkit:before {
content: "\f0fa";
}
.icon-fighter-jet:before {
content: "\f0fb";
}
.icon-beer:before {
content: "\f0fc";
}
.icon-h-sign:before {
content: "\f0fd";
}
.icon-plus-sign-alt:before {
content: "\f0fe";
}
.icon-double-angle-left:before {
content: "\f100";
}
.icon-double-angle-right:before {
content: "\f101";
}
.icon-double-angle-up:before {
content: "\f102";
}
.icon-double-angle-down:before {
content: "\f103";
}
.icon-angle-left:before {
content: "\f104";
}
.icon-angle-right:before {
content: "\f105";
}
.icon-angle-up:before {
content: "\f106";
}
.icon-angle-down:before {
content: "\f107";
}
.icon-desktop:before {
content: "\f108";
}
.icon-laptop:before {
content: "\f109";
}
.icon-tablet:before {
content: "\f10a";
}
.icon-mobile-phone:before {
content: "\f10b";
}
.icon-circle-blank:before {
content: "\f10c";
}
.icon-quote-left:before {
content: "\f10d";
}
.icon-quote-right:before {
content: "\f10e";
}
.icon-spinner:before {
content: "\f110";
}
.icon-circle:before {
content: "\f111";
}
.icon-mail-reply:before,
.icon-reply:before {
content: "\f112";
}
.icon-github-alt:before {
content: "\f113";
}
.icon-folder-close-alt:before {
content: "\f114";
}
.icon-folder-open-alt:before {
content: "\f115";
}
.icon-expand-alt:before {
content: "\f116";
}
.icon-collapse-alt:before {
content: "\f117";
}
.icon-smile:before {
content: "\f118";
}
.icon-frown:before {
content: "\f119";
}
.icon-meh:before {
content: "\f11a";
}
.icon-gamepad:before {
content: "\f11b";
}
.icon-keyboard:before {
content: "\f11c";
}
.icon-flag-alt:before {
content: "\f11d";
}
.icon-flag-checkered:before {
content: "\f11e";
}
.icon-terminal:before {
content: "\f120";
}
.icon-code:before {
content: "\f121";
}
.icon-reply-all:before {
content: "\f122";
}
.icon-mail-reply-all:before {
content: "\f122";
}
.icon-star-half-full:before,
.icon-star-half-empty:before {
content: "\f123";
}
.icon-location-arrow:before {
content: "\f124";
}
.icon-crop:before {
content: "\f125";
}
.icon-code-fork:before {
content: "\f126";
}
.icon-unlink:before {
content: "\f127";
}
.icon-question:before {
content: "\f128";
}
.icon-info:before {
content: "\f129";
}
.icon-exclamation:before {
content: "\f12a";
}
.icon-superscript:before {
content: "\f12b";
}
.icon-subscript:before {
content: "\f12c";
}
.icon-eraser:before {
content: "\f12d";
}
.icon-puzzle-piece:before {
content: "\f12e";
}
.icon-microphone:before {
content: "\f130";
}
.icon-microphone-off:before {
content: "\f131";
}
.icon-shield:before {
content: "\f132";
}
.icon-calendar-empty:before {
content: "\f133";
}
.icon-fire-extinguisher:before {
content: "\f134";
}
.icon-rocket:before {
content: "\f135";
}
.icon-maxcdn:before {
content: "\f136";
}
.icon-chevron-sign-left:before {
content: "\f137";
}
.icon-chevron-sign-right:before {
content: "\f138";
}
.icon-chevron-sign-up:before {
content: "\f139";
}
.icon-chevron-sign-down:before {
content: "\f13a";
}
.icon-html5:before {
content: "\f13b";
}
.icon-css3:before {
content: "\f13c";
}
.icon-anchor:before {
content: "\f13d";
}
.icon-unlock-alt:before {
content: "\f13e";
}
.icon-bullseye:before {
content: "\f140";
}
.icon-ellipsis-horizontal:before {
content: "\f141";
}
.icon-ellipsis-vertical:before {
content: "\f142";
}
.icon-rss-sign:before {
content: "\f143";
}
.icon-play-sign:before {
content: "\f144";
}
.icon-ticket:before {
content: "\f145";
}
.icon-minus-sign-alt:before {
content: "\f146";
}
.icon-check-minus:before {
content: "\f147";
}
.icon-level-up:before {
content: "\f148";
}
.icon-level-down:before {
content: "\f149";
}
.icon-check-sign:before {
content: "\f14a";
}
.icon-edit-sign:before {
content: "\f14b";
}
.icon-external-link-sign:before {
content: "\f14c";
}
.icon-share-sign:before {
content: "\f14d";
}
.icon-compass:before {
content: "\f14e";
}
.icon-collapse:before {
content: "\f150";
}
.icon-collapse-top:before {
content: "\f151";
}
.icon-expand:before {
content: "\f152";
}
.icon-euro:before,
.icon-eur:before {
content: "\f153";
}
.icon-gbp:before {
content: "\f154";
}
.icon-dollar:before,
.icon-usd:before {
content: "\f155";
}
.icon-rupee:before,
.icon-inr:before {
content: "\f156";
}
.icon-yen:before,
.icon-jpy:before {
content: "\f157";
}
.icon-renminbi:before,
.icon-cny:before {
content: "\f158";
}
.icon-won:before,
.icon-krw:before {
content: "\f159";
}
.icon-bitcoin:before,
.icon-btc:before {
content: "\f15a";
}
.icon-file:before {
content: "\f15b";
}
.icon-file-text:before {
content: "\f15c";
}
.icon-sort-by-alphabet:before {
content: "\f15d";
}
.icon-sort-by-alphabet-alt:before {
content: "\f15e";
}
.icon-sort-by-attributes:before {
content: "\f160";
}
.icon-sort-by-attributes-alt:before {
content: "\f161";
}
.icon-sort-by-order:before {
content: "\f162";
}
.icon-sort-by-order-alt:before {
content: "\f163";
}
.icon-thumbs-up:before {
content: "\f164";
}
.icon-thumbs-down:before {
content: "\f165";
}
.icon-youtube-sign:before {
content: "\f166";
}
.icon-youtube:before {
content: "\f167";
}
.icon-xing:before {
content: "\f168";
}
.icon-xing-sign:before {
content: "\f169";
}
.icon-youtube-play:before {
content: "\f16a";
}
.icon-dropbox:before {
content: "\f16b";
}
.icon-stackexchange:before {
content: "\f16c";
}
.icon-instagram:before {
content: "\f16d";
}
.icon-flickr:before {
content: "\f16e";
}
.icon-adn:before {
content: "\f170";
}
.icon-bitbucket:before {
content: "\f171";
}
.icon-bitbucket-sign:before {
content: "\f172";
}
.icon-tumblr:before {
content: "\f173";
}
.icon-tumblr-sign:before {
content: "\f174";
}
.icon-long-arrow-down:before {
content: "\f175";
}
.icon-long-arrow-up:before {
content: "\f176";
}
.icon-long-arrow-left:before {
content: "\f177";
}
.icon-long-arrow-right:before {
content: "\f178";
}
.icon-apple:before {
content: "\f179";
}
.icon-windows:before {
content: "\f17a";
}
.icon-android:before {
content: "\f17b";
}
.icon-linux:before {
content: "\f17c";
}
.icon-dribbble:before {
content: "\f17d";
}
.icon-skype:before {
content: "\f17e";
}
.icon-foursquare:before {
content: "\f180";
}
.icon-trello:before {
content: "\f181";
}
.icon-female:before {
content: "\f182";
}
.icon-male:before {
content: "\f183";
}
.icon-gittip:before {
content: "\f184";
}
.icon-sun:before {
content: "\f185";
}
.icon-moon:before {
content: "\f186";
}
.icon-archive:before {
content: "\f187";
}
.icon-bug:before {
content: "\f188";
}
.icon-vk:before {
content: "\f189";
}
.icon-weibo:before {
content: "\f18a";
}
.icon-renren:before {
content: "\f18b";
}
// edX: Certificates - Shame
// ====================
// shame file - used for any bad-form/orphaned scss that knowingly violate edX FED architecture/standards (http://csswizardry.com/2013/04/shame-css)
// edX: Certificates - Graphics
// ====================
// sprites, background images, decorative elements are placed/defined here
// edX: Certificates - Animations // ------------------------------
// ==================== // Open edX Certificates: Animations
// fade in // fade in
@include keyframes(fadeIn) { @include keyframes(fadeIn) {
...@@ -21,10 +21,6 @@ ...@@ -21,10 +21,6 @@
@include animation(fadeIn $tmg-f2 linear 1); @include animation(fadeIn $tmg-f2 linear 1);
} }
// ====================
// fade in + up // fade in + up
@include keyframes(fadeInUp) { @include keyframes(fadeInUp) {
0% { 0% {
...@@ -43,10 +39,6 @@ ...@@ -43,10 +39,6 @@
@include animation(fadeInUp $tmg-f2 linear 1); @include animation(fadeInUp $tmg-f2 linear 1);
} }
// ====================
// fade in + down // fade in + down
@include keyframes(fadeInDown) { @include keyframes(fadeInDown) {
0% { 0% {
...@@ -65,10 +57,6 @@ ...@@ -65,10 +57,6 @@
@include animation(fadeInDown $tmg-f2 linear 1); @include animation(fadeInDown $tmg-f2 linear 1);
} }
// ====================
// fade out // fade out
@include keyframes(fadeOut) { @include keyframes(fadeOut) {
0% { 0% {
...@@ -89,157 +77,11 @@ ...@@ -89,157 +77,11 @@
@include animation(fadeOut $tmg-f2 linear 1); @include animation(fadeOut $tmg-f2 linear 1);
} }
// ====================
// slide in left
@include keyframes(slideInLeft) {
0% {
opacity: 0;
transform: translateX(-($anim-distance-offviewport));
}
100% {
transform: translateX(0);
}
}
// canned animation - use if you want out of the box/non-customized anim
%anim-slideInLeft {
@include animation(slideInLeft $tmg-f2 linear 1);
}
// ====================
// slide in right
@include keyframes(slideInRight) {
0% {
opacity: 0;
transform: translateX($anim-distance-offviewport);
}
100% {
transform: translateX(0);
}
}
// canned animation - use if you want out of the box/non-customized anim
%anim-slideInRight {
@include animation(slideInRight $tmg-f2 linear 1);
}
// ====================
// slide in down
@include keyframes(slideInDown) {
0% {
opacity: 0;
transform: translateY(-($anim-distance-offviewport));
}
100% {
transform: translateY(0);
}
}
// canned animation - use if you want out of the box/non-customized anim
%anim-slideInDown {
@include animation(slideInDown $tmg-f2 linear 1);
}
// ====================
// slide in up
@include keyframes(slideInUp) {
0% {
opacity: 0;
transform: translateY($anim-distance-offviewport);
}
100% {
transform: translateY(0);
}
}
// canned animation - use if you want out of the box/non-customized anim
%anim-slideInUp {
@include animation(slideInUp $tmg-f2 linear 1);
}
// ====================
// slide out left
@include keyframes(slideOutLeft) {
0% {
transform: translateX(0);
}
100% {
opacity: 0;
transform: translateX(-($anim-distance-offviewport));
}
}
// canned animation - use if you want out of the box/non-customized anim
%anim-slideOutLeft {
@include animation(slideOutLeft $tmg-f2 linear 1);
}
// ====================
// slide out right
@include keyframes(slideOutRight) {
0% {
transform: translateX(0);
}
100% {
opacity: 0;
transform: translateX($anim-distance-offviewport);
}
}
// canned animation - use if you want out of the box/non-customized anim
%anim-slideOutRight {
@include animation(slideOutRight $tmg-f2 linear 1);
}
// ====================
// slide out up
@include keyframes(slideOutUp) {
0% {
transform: translateY(0);
}
100% {
opacity: 0;
transform: translateY(-($anim-distance-offviewport));
}
}
// canned animation - use if you want out of the box/non-customized anim // canned animation - use if you want out of the box/non-customized anim
%anim-slideOutUp { %anim-slideOutUp {
@include animation(slideOutUp $tmg-f2 linear 1); @include animation(slideOutUp $tmg-f2 linear 1);
} }
// ====================
// rotate up // rotate up
@include keyframes(rotateUp) { @include keyframes(rotateUp) {
0% { 0% {
...@@ -323,9 +165,6 @@ ...@@ -323,9 +165,6 @@
@include animation(rotateCCW $tmg-s1 linear infinite); @include animation(rotateCCW $tmg-s1 linear infinite);
} }
// ====================
// bounce in // bounce in
@include keyframes(bounceIn) { @include keyframes(bounceIn) {
0% { 0% {
...@@ -371,10 +210,6 @@ ...@@ -371,10 +210,6 @@
@include animation(bounceOut $tmg-f1 ease-in-out 1); @include animation(bounceOut $tmg-f1 ease-in-out 1);
} }
// ====================
// flash // flash
@include keyframes(flash) { @include keyframes(flash) {
0%, 50%, 100% {opacity: 1.0;} 0%, 50%, 100% {opacity: 1.0;}
...@@ -386,10 +221,6 @@ ...@@ -386,10 +221,6 @@
@include animation(flash $tmg-f1 ease-in-out 1); @include animation(flash $tmg-f1 ease-in-out 1);
} }
// ====================
// shake // shake
@include keyframes(shake) { @include keyframes(shake) {
0%, 100% {transform: translateX(0);} 0%, 100% {transform: translateX(0);}
...@@ -402,10 +233,6 @@ ...@@ -402,10 +233,6 @@
@include animation(shake $tmg-f1 ease-in-out 1); @include animation(shake $tmg-f1 ease-in-out 1);
} }
// ====================
// bounce // bounce
@include keyframes(bounce) { @include keyframes(bounce) {
0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
...@@ -418,10 +245,6 @@ ...@@ -418,10 +245,6 @@
@include animation(shake $tmg-f1 ease-in-out 1); @include animation(shake $tmg-f1 ease-in-out 1);
} }
// ====================
// bounce // bounce
@include keyframes(bounce) { @include keyframes(bounce) {
0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
......
// edX: Certificates - Fonts // ------------------------------
// ==================== // Open edX Certificates: Fonts
// import from google fonts - Open Sans // import from google fonts - Open Sans
// (http://www.google.com/fonts/specimen/Open+Sans) // (http://www.google.com/fonts/specimen/Open+Sans)
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700); @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700);
// ------------------------------
// Open edX Certificates: Graphics
// sprites, background images, decorative elements are placed/defined here
// edX: Certificates - Base // ------------------------------
// ==================== // Open edX Certificates: Reset
// basic
html, body { html, body {
height: 100%; height: 100%;
} }
...@@ -15,9 +14,6 @@ body { ...@@ -15,9 +14,6 @@ body {
@extend %t-copy-base; @extend %t-copy-base;
} }
// ====================
// base: layout
[class^="wrapper-"] { [class^="wrapper-"] {
@extend %wrapper !optional; @extend %wrapper !optional;
padding: 0; padding: 0;
...@@ -27,15 +23,10 @@ body { ...@@ -27,15 +23,10 @@ body {
@extend %ui-text-sr; @extend %ui-text-sr;
} }
// ====================
// base: view
.wrapper-view { .wrapper-view {
background: $bg-view; background: $bg-view;
} }
// ====================
[class^="content-"]{ [class^="content-"]{
a { a {
...@@ -43,9 +34,6 @@ body { ...@@ -43,9 +34,6 @@ body {
} }
} }
// ====================
// base: elements
html, body, div, span, applet, object, iframe, html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, a, abbr, acronym, address, big, cite, code,
......
// edX: Certificates - Typography // ------------------------------
// ==================== // Open edX Certificates: Typogrpahy
// (6, 7, 8, 9, 10, 11, 12, 14, 16, 18, 21, 24, 36, 48, 60, 72)
// ====================
// misc // misc
%t-weight0 { %t-weight0 {
...@@ -26,8 +22,6 @@ ...@@ -26,8 +22,6 @@
font-weight: 700; font-weight: 700;
} }
// ====================
// headings/titles // headings/titles
%t-title-1, %t-title-2, %t-title-3, %t-title-4, %t-title-5, %t-title-5, %t-title-6, %t-title-7, %t-title-8, %t-title-9 { %t-title-1, %t-title-2, %t-title-3, %t-title-4, %t-title-5, %t-title-5, %t-title-6, %t-title-7, %t-title-8, %t-title-9 {
font-family: $f-sans-serif; font-family: $f-sans-serif;
...@@ -88,8 +82,6 @@ ...@@ -88,8 +82,6 @@
@include lh(10); @include lh(10);
} }
// ====================
// copy // copy
%t-copy { %t-copy {
font-family: $f-sans-serif; font-family: $f-sans-serif;
...@@ -137,15 +129,11 @@ ...@@ -137,15 +129,11 @@
@include lh(10); @include lh(10);
} }
// ====================
// code // code
%t-code { %t-code {
font-family: $f-monospace; font-family: $f-monospace;
} }
// ====================
// actions/labels // actions/labels
%t-action1 { %t-action1 {
@include font-size(24); @include font-size(24);
...@@ -172,8 +160,6 @@ ...@@ -172,8 +160,6 @@
@include lh(12); @include lh(12);
} }
// ====================
// icons // icons
%t-icon { %t-icon {
......
// edX: Certificates - Controls // ------------------------------
// ==================== // Open edX Certificates: Controls
// archetype: buttons // archetype: buttons
%btn { %btn {
...@@ -90,8 +90,6 @@ ...@@ -90,8 +90,6 @@
} }
} }
// ====================
// links - subtle // links - subtle
%link-subtle { %link-subtle {
@include transition(color $tmg-f1 ease-in-out); @include transition(color $tmg-f1 ease-in-out);
...@@ -115,7 +113,3 @@ ...@@ -115,7 +113,3 @@
border-color: $color-link-focus; border-color: $color-link-focus;
} }
} }
// ====================
// archetype: modal/dialogue controls
// edX: Certificates - Footer // ------------------------------
// ==================== // Open edX Certificates: Footer
.wrapper-footer { .wrapper-footer {
padding: 0 ($baseline-h*2); padding: 0 ($baseline-h*2);
......
// edX: Certificates - Header // ------------------------------
// ==================== // Open edX Certificates: Header
// grid/layout // grid/layout
.wrapper-header { .wrapper-header {
......
// edX: Certificates - Navigation // ------------------------------
// ==================== // Open edX Certificates: Navigation
// general // general
%nav { %nav {
......
// edX: Certificates - IE-specific styling // ------------------------------
// ==================== // Open edX Certificates: IE-Specific Styling
// less than IE10 // less than IE10
.lt-ie10 { .lt-ie10 {
......
// edX: Certificates - Print-centric styling // ------------------------------
// ==================== // Open edX Certificates: Print-Specific Styling
// print - general // print - general
@include media(print) { @include media(print) {
......
// ------------------------------
// Open edX Certificates: Main Style Compile
// About: Sass compile for Open edX certificates. This does not contain styles for other Open edX products/experiences (e.g. account/onboarding).
// ------------------------------
// #VENDOR
// ------------------------------
@import '../vendor/bourbon/bourbon';
@import '../vendor/neat/neat';
@import '../vendor/normalize/normalize';
// ------------------------------
// #UTILITIES
// ------------------------------
@import 'utilities/variables';
@import 'utilities/mixins';
// ------------------------------
// #BASE
// ------------------------------
@import 'base/fonts';
@import 'base/graphics';
@import 'base/anims';
@import 'base/typography';
@import 'base/reset';
// ------------------------------
// #COMPONENTS
// ------------------------------
@import 'components/controls';
@import 'components/navigation';
@import 'components/header';
@import 'components/footer';
// ------------------------------
// #VIEWS
// ------------------------------
@import 'views/certificate';
@import 'views/valid';
@import 'views/invalid';
@import 'views/validate';
// ------------------------------
// #CONTEXTS
// ------------------------------
@import 'contexts/print';
@import 'contexts/ie';
// ------------------------------
// #SHAME
// ------------------------------
@import 'utilities/shame';
// edX: Certificates - Style Compilation
// ====================
// BASE - libs and resets *do not edit*
@import 'utilities/bourbon/bourbon'; // http://bourbon.io
@import 'utilities/neat/neat'; // http://neat.bourbon.io
// Utilities and Assets
// ====================
// BASE - utilities
@import 'utilities/variables'; // settings/values/placeholders
@import 'utilities/mixins'; // re-usable utility and non-standalone rules
// BASE - assets
@import 'assets/fonts'; // imported/used fonts
@import 'assets/graphics'; // sprites, basic img/figure/svg styling
@import 'assets/anims'; // css-based animations
// General, Elements, and Views
// ====================
// BASE - foundation
@import 'base';
// BASE - elements
@import 'elements/typography'; // font sizes/scale and applied/canned definitions
@import 'elements/controls'; // buttons, link styles, sliders, etc.
@import 'elements/navigation'; // all archetypes of navigation
@import 'elements/header'; // view/app headers
@import 'elements/footer'; // view/app footers
// BASE - specific views/areas of app
@import 'views/certificate'; // certificate/achievement view
@import 'views/valid'; // valid certificate/achievement view
@import 'views/invalid'; // invvalid certificate view
@import 'views/validate'; // DIY validation
// BASE - contextual
@import 'contexts/print'; // basic print styling
@import 'contexts/ie'; // ie-specific styling
// BASE - misc.
@import 'shame'; // shame file - used for any bad-form/orphaned scss
// edX: Certificates - Mixins & Extends // ------------------------------
// ==================== // Open edX Certificates: Mixins
// utility - font sizing // utility - font sizing
@mixin font-size($sizeValue: 16){ @mixin font-size($sizeValue: 16){
...@@ -38,8 +38,6 @@ ...@@ -38,8 +38,6 @@
} }
} }
// ====================
// UI - wrapper elements // UI - wrapper elements
%ui-wrapper { %ui-wrapper {
@include clearfix(); @include clearfix();
...@@ -47,8 +45,6 @@ ...@@ -47,8 +45,6 @@
width: 100%; width: 100%;
} }
// ====================
// UI - lists // UI - lists
%ui-no-list { %ui-no-list {
list-style: none; list-style: none;
...@@ -99,8 +95,6 @@ ...@@ -99,8 +95,6 @@
outline: none; outline: none;
} }
// ====================
// UI - depth levels // UI - depth levels
%ui-depth0 { z-index: 0; } %ui-depth0 { z-index: 0; }
%ui-depth1 { z-index: 10; } %ui-depth1 { z-index: 10; }
...@@ -109,8 +103,6 @@ ...@@ -109,8 +103,6 @@
%ui-depth4 { z-index: 10000; } %ui-depth4 { z-index: 10000; }
%ui-depth5 { z-index: 100000; } %ui-depth5 { z-index: 100000; }
// ====================
// UI - transitions // UI - transitions
%trans-size { %trans-size {
@include transition(width 0.25s ease-in-out, height 0.25s ease-in-out); @include transition(width 0.25s ease-in-out, height 0.25s ease-in-out);
...@@ -120,8 +112,6 @@ ...@@ -120,8 +112,6 @@
@include transition(color 0.25s ease-in-out); @include transition(color 0.25s ease-in-out);
} }
// ====================
// UI - cosmetics - shadows // UI - cosmetics - shadows
%ui-shadow-up { %ui-shadow-up {
box-shadow: 0 -2px 2px 0 $shadow-d1; box-shadow: 0 -2px 2px 0 $shadow-d1;
......
// ------------------------------
// Open edX Certificates: Shame Styles
// About: used for any bad-form/orphaned scss that knowingly violate edX FED architecture/standards (http://csswizardry.com/2013/04/shame-css)
// edX: Certificates - Variables // ------------------------------
// ==================== // Open edX Certificates: Variables
// units // units
$baseline-v: 20px; // vertical baseline $baseline-v: 20px; // vertical baseline
$baseline-h: 20px; // horizontal baseline $baseline-h: 20px; // horizontal baseline
// ====================
// colors - basic // colors - basic
$black: rgb(10,10,10); // system black $black: rgb(10,10,10); // system black
$black-t: rgb(0,0,0); $black-t: rgb(0,0,0);
...@@ -97,15 +95,11 @@ $color-basic-achievement: $blue-l2; ...@@ -97,15 +95,11 @@ $color-basic-achievement: $blue-l2;
$color-greater-achievement: $blue; $color-greater-achievement: $blue;
$color-greatest-achievement: $blue-s1; $color-greatest-achievement: $blue-s1;
// ====================
// fonts // fonts
$f-serif: 'PT Serif', Cambria, Georgia, 'Times New Roman', Times, serif; $f-serif: 'PT Serif', Cambria, Georgia, 'Times New Roman', Times, serif;
$f-sans-serif: 'Open Sans','Helvetica Neue', Helvetica, Arial, sans-serif; $f-sans-serif: 'Open Sans','Helvetica Neue', Helvetica, Arial, sans-serif;
$f-monospace: 'Bitstream Vera Sans Mono', Consolas, Courier, monospace; $f-monospace: 'Bitstream Vera Sans Mono', Consolas, Courier, monospace;
// ====================
// grid // grid
@import "neat/neat-helpers"; @import "neat/neat-helpers";
...@@ -120,8 +114,6 @@ $bp-ds: new-breakpoint(min-width 500px max-width 759px 6); // small dis ...@@ -120,8 +114,6 @@ $bp-ds: new-breakpoint(min-width 500px max-width 759px 6); // small dis
$bp-dm: new-breakpoint(min-width 760px max-width 899px 12); // medium displays - make grid 12 columns $bp-dm: new-breakpoint(min-width 760px max-width 899px 12); // medium displays - make grid 12 columns
$bp-dl: new-breakpoint(min-width 900px 12); // large displays - make grid 12 columns $bp-dl: new-breakpoint(min-width 900px 12); // large displays - make grid 12 columns
// ====================
// timing - used for animation/transition mixin syncing // timing - used for animation/transition mixin syncing
$tmg-s3: 3.0s; $tmg-s3: 3.0s;
$tmg-s2: 2.0s; $tmg-s2: 2.0s;
...@@ -131,11 +123,6 @@ $tmg-f1: 0.50s; ...@@ -131,11 +123,6 @@ $tmg-f1: 0.50s;
$tmg-f2: 0.25s; $tmg-f2: 0.25s;
$tmg-f3: 0.125s; $tmg-f3: 0.125s;
// animation-based settings
$anim-distance-offviewport: ($baseline-h*100); // for larger/page-level animations
// ====================
// application: general actions // application: general actions
$color-primary: $blue-d1; $color-primary: $blue-d1;
$color-secondary: $blue-l1; $color-secondary: $blue-l1;
...@@ -163,8 +150,6 @@ $bordercolor-action-secondary-focus: saturate($color-secondary, 35%); ...@@ -163,8 +150,6 @@ $bordercolor-action-secondary-focus: saturate($color-secondary, 35%);
$color-action-secondary: tint($color-secondary, 90%); $color-action-secondary: tint($color-secondary, 90%);
$color-action-secondary-focus: tint($color-secondary, 95%); $color-action-secondary-focus: tint($color-secondary, 95%);
// ====================
// application: copy & headings // application: copy & headings
$color-heading: $gray-d3; $color-heading: $gray-d3;
...@@ -175,14 +160,10 @@ $color-copy: $gray-l1; ...@@ -175,14 +160,10 @@ $color-copy: $gray-l1;
$color-copy-lead: $gray-d2; $color-copy-lead: $gray-d2;
$color-copy-supplemental: $gray-l1; $color-copy-supplemental: $gray-l1;
// ====================
// application: states // application: states
$bg-selected: $blue-t1; $bg-selected: $blue-t1;
$color-selected: $blue-s1; $color-selected: $blue-s1;
// ====================
// application: view elements // application: view elements
$bg-view: $gray-l6; $bg-view: $gray-l6;
......
// ------------------------------
// Open edX Certificates: General Certificate/Achievement View
.view-certificate { .view-certificate {
background: $bg-view; background: $bg-view;
......
// edX: Certificates - View: Invalid Certificate // ------------------------------
// ==================== // Open edX Certificates: Invalid Certificate/Achievement View
.view-invalid-certificate { .view-invalid-certificate {
// accomplishment // accomplishment
......
// edX: Certificates - View: Valid Certificate // ------------------------------
// ==================== // Open edX Certificates: Valid Certificate/Achievement View
.view-valid-certificate { .view-valid-certificate {
// accomplishment // accomplishment
......
// edX: Certificates - View: DIY Validation // ------------------------------
// ==================== // Open edX Certificates: DIY Validation Instructions View
.view-validate-certificate { .view-validate-certificate {
// general // general
......
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/* ========================================================================== /**
HTML5 display definitions * 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* HTML5 display definitions
========================================================================== */ ========================================================================== */
/** /**
* Correct `block` display not defined in IE 8/9. * Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/ */
article, article,
...@@ -17,20 +39,24 @@ footer, ...@@ -17,20 +39,24 @@ footer,
header, header,
hgroup, hgroup,
main, main,
menu,
nav, nav,
section, section,
summary { summary {
display: block; display: block;
} }
/** /**
* Correct `inline-block` display not defined in IE 8/9. * 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/ */
audio, audio,
canvas, canvas,
progress,
video { video {
display: inline-block; display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
} }
/** /**
...@@ -39,46 +65,21 @@ video { ...@@ -39,46 +65,21 @@ video {
*/ */
audio:not([controls]) { audio:not([controls]) {
display: none; display: none;
height: 0; height: 0;
} }
/** /**
* Address `[hidden]` styling not present in IE 8/9. * Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE, Safari, and Firefox < 22. * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/ */
[hidden], [hidden],
template { template {
display: none; display: none;
}
/* ==========================================================================
Base
========================================================================== */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
} }
/* ========================================================================== /* Links
Links
========================================================================== */ ========================================================================== */
/** /**
...@@ -86,15 +87,7 @@ body { ...@@ -86,15 +87,7 @@ body {
*/ */
a { a {
background: transparent; background-color: transparent;
}
/**
* Address `outline` inconsistency between Chrome and other browsers.
*/
a:focus {
outline: thin dotted;
} }
/** /**
...@@ -103,56 +96,45 @@ a:focus { ...@@ -103,56 +96,45 @@ a:focus {
a:active, a:active,
a:hover { a:hover {
outline: 0; outline: 0;
} }
/* ========================================================================== /* Text-level semantics
Typography
========================================================================== */ ========================================================================== */
/** /**
* Address variable `h1` font-size and margin within `section` and `article` * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
* contexts in Firefox 4+, Safari 5, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Address styling not present in IE 8/9, Safari 5, and Chrome.
*/ */
abbr[title] { abbr[title] {
border-bottom: 1px dotted; border-bottom: 1px dotted;
} }
/** /**
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/ */
b, b,
strong { strong {
font-weight: bold; font-weight: bold;
} }
/** /**
* Address styling not present in Safari 5 and Chrome. * Address styling not present in Safari and Chrome.
*/ */
dfn { dfn {
font-style: italic; font-style: italic;
} }
/** /**
* Address differences between Firefox and other browsers. * Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/ */
hr { h1 {
-moz-box-sizing: content-box; font-size: 2em;
box-sizing: content-box; margin: 0.67em 0;
height: 0;
} }
/** /**
...@@ -160,36 +142,8 @@ hr { ...@@ -160,36 +142,8 @@ hr {
*/ */
mark { mark {
background: #ff0; background: #ff0;
color: #000; color: #000;
}
/**
* Correct font family set oddly in Safari 5 and Chrome.
*/
code,
kbd,
pre,
samp {
font-family: monospace, serif;
font-size: 1em;
}
/**
* Improve readability of pre-formatted text in all browsers.
*/
pre {
white-space: pre-wrap;
}
/**
* Set consistent quote types.
*/
q {
quotes: "\201C" "\201D" "\2018" "\2019";
} }
/** /**
...@@ -197,7 +151,7 @@ q { ...@@ -197,7 +151,7 @@ q {
*/ */
small { small {
font-size: 80%; font-size: 80%;
} }
/** /**
...@@ -206,111 +160,123 @@ small { ...@@ -206,111 +160,123 @@ small {
sub, sub,
sup { sup {
font-size: 75%; font-size: 75%;
line-height: 0; line-height: 0;
position: relative; position: relative;
vertical-align: baseline; vertical-align: baseline;
} }
sup { sup {
top: -0.5em; top: -0.5em;
} }
sub { sub {
bottom: -0.25em; bottom: -0.25em;
} }
/* ========================================================================== /* Embedded content
Embedded content
========================================================================== */ ========================================================================== */
/** /**
* Remove border when inside `a` element in IE 8/9. * Remove border when inside `a` element in IE 8/9/10.
*/ */
img { img {
border: 0; border: 0;
} }
/** /**
* Correct overflow displayed oddly in IE 9. * Correct overflow not hidden in IE 9/10/11.
*/ */
svg:not(:root) { svg:not(:root) {
overflow: hidden; overflow: hidden;
} }
/* ========================================================================== /* Grouping content
Figures
========================================================================== */ ========================================================================== */
/** /**
* Address margin not present in IE 8/9 and Safari 5. * Address margin not present in IE 8/9 and Safari.
*/ */
figure { figure {
margin: 0; margin: 1em 40px;
} }
/* ========================================================================== /**
Forms * Address differences between Firefox and other browsers.
========================================================================== */ */
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/** /**
* Define consistent border, margin, and padding. * Contain overflow in all browsers.
*/ */
fieldset { pre {
border: 1px solid #c0c0c0; overflow: auto;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
} }
/** /**
* 1. Correct `color` not being inherited in IE 8/9. * Address odd `em`-unit font size rendering in all browsers.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/ */
legend { code,
border: 0; /* 1 */ kbd,
padding: 0; /* 2 */ pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
} }
/* Forms
========================================================================== */
/** /**
* 1. Correct font family not being inherited in all browsers. * Known limitation: by default, Chrome and Safari on OS X allow very limited
* 2. Correct font size not being inherited in all browsers. * styling of `select`, unless a `border` property is set.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. */
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/ */
button, button,
input, input,
optgroup,
select, select,
textarea { textarea {
font-family: inherit; /* 1 */ color: inherit; /* 1 */
font-size: 100%; /* 2 */ font: inherit; /* 2 */
margin: 0; /* 3 */ margin: 0; /* 3 */
} }
/** /**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in * Address `overflow` set to `hidden` in IE 8/9/10/11.
* the UA stylesheet.
*/ */
button, button {
input { overflow: visible;
line-height: normal;
} }
/** /**
* Address inconsistent `text-transform` inheritance for `button` and `select`. * Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values. * All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox 4+ and Opera. * Correct `select` style inheritance in Firefox.
*/ */
button, button,
select { select {
text-transform: none; text-transform: none;
} }
/** /**
...@@ -325,8 +291,8 @@ button, ...@@ -325,8 +291,8 @@ button,
html input[type="button"], /* 1 */ html input[type="button"], /* 1 */
input[type="reset"], input[type="reset"],
input[type="submit"] { input[type="submit"] {
-webkit-appearance: button; /* 2 */ -webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */ cursor: pointer; /* 3 */
} }
/** /**
...@@ -335,65 +301,115 @@ input[type="submit"] { ...@@ -335,65 +301,115 @@ input[type="submit"] {
button[disabled], button[disabled],
html input[disabled] { html input[disabled] {
cursor: default; cursor: default;
} }
/** /**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10. * 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10. * 2. Remove excess padding in IE 8/9/10.
*/ */
input[type="checkbox"], input[type="checkbox"],
input[type="radio"] { input[type="radio"] {
box-sizing: border-box; /* 1 */ box-sizing: border-box; /* 1 */
padding: 0; /* 2 */ padding: 0; /* 2 */
} }
/** /**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. * Fix the cursor style for Chrome's increment/decrement buttons. For certain
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome * `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
* (include `-moz` to future-proof). * (include `-moz` to future-proof).
*/ */
input[type="search"] { input[type="search"] {
-webkit-appearance: textfield; /* 1 */ -webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box; -moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */ -webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box; box-sizing: content-box;
} }
/** /**
* Remove inner padding and search cancel button in Safari 5 and Chrome * Remove inner padding and search cancel button in Safari and Chrome on OS X.
* on OS X. * Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/ */
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; -webkit-appearance: none;
} }
/** /**
* Remove inner padding and border in Firefox 4+. * Define consistent border, margin, and padding.
*/ */
button::-moz-focus-inner, fieldset {
input::-moz-focus-inner { border: 1px solid #c0c0c0;
border: 0; margin: 0 2px;
padding: 0; padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
} }
/** /**
* 1. Remove default vertical scrollbar in IE 8/9. * Remove default vertical scrollbar in IE 8/9/10/11.
* 2. Improve readability and alignment in all browsers.
*/ */
textarea { textarea {
overflow: auto; /* 1 */ overflow: auto;
vertical-align: top; /* 2 */ }
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold;
} }
/* ========================================================================== /* Tables
Tables
========================================================================== */ ========================================================================== */
/** /**
...@@ -401,6 +417,11 @@ textarea { ...@@ -401,6 +417,11 @@ textarea {
*/ */
table { table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
}
td,
th {
padding: 0;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment