Commit a1ba9737 by Brian Talbot

studio - sass cleanup: further revisions and box-sizing all elements for consistency

parent 06b118ae
// studio - base styling // studio - base styling
// ==================== // ====================
// basic reset // basic setup
html { html {
font-size: 62.5%; font-size: 62.5%;
overflow-y: scroll; overflow-y: scroll;
......
// studio - utilities - reset // studio - utilities - reset
// ==================== // ====================
* {
@include box-sizing(border-box);
}
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,
...@@ -21,7 +25,7 @@ time, mark, audio, video { ...@@ -21,7 +25,7 @@ time, mark, audio, video {
font: inherit; font: inherit;
vertical-align: baseline; vertical-align: baseline;
} }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { footer, header, hgroup, menu, nav, section {
display: block; display: block;
...@@ -41,12 +45,6 @@ q:before, q:after { ...@@ -41,12 +45,6 @@ q:before, q:after {
content: none; content: none;
} }
/* remember to define visible focus styles!
:focus {
outline: ?????;
} */
/* remember to highlight inserts somehow! */
ins { ins {
text-decoration: none; text-decoration: none;
} }
...@@ -59,10 +57,11 @@ table { ...@@ -59,10 +57,11 @@ table {
border-spacing: 0; border-spacing: 0;
} }
/* Reset styles to remove ui-lightness jquery ui theme // ====================
from the tabs component (used in the add component problem tab menu)
*/ // grandfathered styles
// reset styles to remove ui-lightness jquery ui theme from the tabs component (used in the add component problem tab menu)
.ui-tabs { .ui-tabs {
padding: 0; padding: 0;
white-space: normal; white-space: normal;
...@@ -121,10 +120,7 @@ from the tabs component (used in the add component problem tab menu) ...@@ -121,10 +120,7 @@ from the tabs component (used in the add component problem tab menu)
padding: 0; padding: 0;
} }
/* reapplying the tab styles from unit.scss after // reapplying the tab styles from unit.scss after removing jquery ui ui-lightness styling
removing jquery ui ui-lightness styling
*/
.problem-type-tabs { .problem-type-tabs {
border:none; border:none;
list-style-type: none; list-style-type: none;
...@@ -149,26 +145,4 @@ removing jquery ui ui-lightness styling ...@@ -149,26 +145,4 @@ removing jquery ui ui-lightness styling
border: 0px; border: 0px;
} }
} }
/*
li {
float:left;
display:inline-block;
text-align:center;
width: auto;
//@include linear-gradient(top, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0));
//background-color: tint($lightBluishGrey, 20%);
//@include box-shadow(0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 -1px 0 rgba(0, 0, 0, 0.2) inset);
opacity:.8;
&:hover {
opacity:1;
}
&.current {
border: 0px;
//@include active;
opacity:1;
}
}
*/
} }
\ No newline at end of file
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