_reset.scss 3.09 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
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;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
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;
}

/* remember to define visible focus styles! 
:focus {
	outline: ?????;
} */

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
}

/* Reset styles to remove ui-lightness jquery ui theme 
from the tabs component (used in the add component problem tab menu) 
*/

.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;
}

75

76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
.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;
92 93 94 95 96 97
}

.ui-tabs .ui-tabs-nav li {
	margin: 0;
	padding: 0;
	border: none;
98 99
	top: 0;
	margin: 0;
100 101 102
	float: none; 
	border-top-left-radius: 0;
	border-top-right-radius: 0;
103 104 105 106 107 108 109 110 111 112
}

.ui-tabs-nav {

	li {
		top: 0;
		margin: 0;
	}
	a {
		float: none;
113
		font-weight: normal;
114 115
	}
}
116

117 118 119 120 121 122 123 124 125
.ui-tabs .ui-tabs-panel {
	padding: 0;
}

/* reapplying the tab styles from unit.scss after 
removing jquery ui ui-lightness styling 
*/

.problem-type-tabs {
126
	border:none;
127 128 129 130 131
	list-style-type: none;
	width: 100%;
	@include linear-gradient(top, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0));
	//background-color: $lightBluishGrey;
	@include box-shadow(0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 -1px 0 rgba(0, 0, 0, 0.2) inset);
132
	
133 134 135 136
	li:first-child {
		margin-left: 20px;
	}
	li {
137 138
		opacity: .8;

139
		&:ui-state-active {
140 141
			background-color: rgba(255, 255, 255, .3);
			opacity: 1;
142
			font-weight: 400;
143 144 145 146
		}
		a:focus {
			outline: none;
			border: 0px;
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
		}
	}
/*
	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;
		}
	}
*/
171
}