_reset.scss 2.89 KB
Newer Older
1 2 3
// studio - utilities - reset
// ====================

4
// not ready for this yet, but this should be done as things get cleaner
5 6 7
// * {
// 	@include box-sizing(border-box);
// }
8

Brian Talbot committed
9 10 11 12 13
// better text rendering/kerning through SVG
* {
	text-rendering: optimizeLegibility;
}

14 15 16 17 18 19 20 21 22
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,
Brian Talbot committed
23
article, aside, canvas, details, figcaption, figure,
24 25 26 27 28 29 30 31 32 33
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
34

35 36 37 38
html,body {
  height: 100%;
}

Brian Talbot committed
39
article, aside, details, figcaption, figure,
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
68 69
}

70 71 72
abbr[title] {
	border-bottom: none;
	text-decoration: none;
73
	cursor: help;
74 75
}

76 77 78
// ====================

// grandfathered styles
79

80
// reset styles to remove ui-lightness jquery ui theme from the tabs component (used in the add component problem tab menu)
81 82 83 84 85 86 87 88 89 90 91 92
.ui-tabs {
	padding: 0;
	white-space: normal;
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-left, ui-corner-top, .ui-corner-br, .ui-corner-right {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	border-top-right-radius: 0;
	border-top-left-radius: 0;
}

93

94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
.ui-widget-content {
	border: 0;
	background: none;
}
.ui-widget {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
}

.ui-widget-header {
	border:none;
	background: none;
}

.ui-tabs .ui-tabs-nav {
	padding: 0;
110 111 112 113 114 115
}

.ui-tabs .ui-tabs-nav li {
	margin: 0;
	padding: 0;
	border: none;
116 117
	top: 0;
	margin: 0;
Brian Talbot committed
118
	float: none;
119 120
	border-top-left-radius: 0;
	border-top-right-radius: 0;
121 122 123 124 125 126 127 128 129 130
}

.ui-tabs-nav {

	li {
		top: 0;
		margin: 0;
	}
	a {
		float: none;
131
		font-weight: normal;
132 133
	}
}
134

135 136 137 138
.ui-tabs .ui-tabs-panel {
	padding: 0;
}

Brian Talbot committed
139
// reapplying the tab styles from unit.scss after removing jquery ui ui-lightness styling
140
.problem-type-tabs {
141
	border:none;
142 143 144 145
	list-style-type: none;
	width: 100%;
	@include linear-gradient(top, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0));
	//background-color: $lightBluishGrey;
146
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 -1px 0 rgba(0, 0, 0, 0.2) inset;
Brian Talbot committed
147

148 149 150 151
	li:first-child {
		margin-left: 20px;
	}
	li {
152
		opacity: 0.8;
153

154
		&:ui-state-active {
155
			background-color: rgba(255, 255, 255, .3);
156
			opacity: 1.0;
157
			font-weight: 400;
158 159 160 161
		}
		a:focus {
			outline: none;
			border: 0px;
162 163
		}
	}
Brian Talbot committed
164
}