Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a1ba9737
Commit
a1ba9737
authored
Mar 16, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - sass cleanup: further revisions and box-sizing all elements for consistency
parent
06b118ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
38 deletions
+11
-38
cms/static/sass/_base.scss
+1
-1
cms/static/sass/_reset.scss
+10
-37
No files found.
cms/static/sass/_base.scss
View file @
a1ba9737
// 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
;
...
...
cms/static/sass/_reset.scss
View file @
a1ba9737
// 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment