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
8b77111d
Commit
8b77111d
authored
May 08, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Studio: more styling changes
typography, SASS, imports
parent
5d783d33
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
21 deletions
+34
-21
cms/static/sass/_base.scss
+31
-0
cms/static/sass/_mixins-inherited.scss
+2
-0
cms/static/sass/elements/_system-feedback.scss
+1
-1
common/static/sass/_mixins.scss
+0
-20
No files found.
cms/static/sass/_base.scss
View file @
8b77111d
...
...
@@ -166,6 +166,37 @@ h1 {
font-weight
:
600
;
}
// typography - primary content
.content-secondary
{
.section-header
{
color
:
$gray-d3
;
.subtitle
{
color
:
$gray-l2
;
}
}
.content-header
{
color
:
$gray-d3
;
.subtitle
{
color
:
$gray-l2
;
}
}
.content-header
{
color
:
$gray-d3
;
.subtitle
{
color
:
$gray-l2
;
}
}
}
// ====================
// typography - loose headings (BT: needs to be removed once html is clean)
.title-1
{
@extend
.t-title3
;
margin-bottom
:
(
$baseline
*
1
.5
);
...
...
cms/static/sass/_mixins-inherited.scss
View file @
8b77111d
// studio - utilities - INHERITED mixins and extends
// NOTE: these are older/poorly architected mixins that we want to move away from using or refactor in the future.
// They are still referenced when styliing current interface elements and as such need to be preserved for the time being.
// talbs: we need to slowly ween ourselves off of these
// ====================
// inherited - vertical and horizontal centering
...
...
cms/static/sass/elements/_system-feedback.scss
View file @
8b77111d
...
...
@@ -111,7 +111,6 @@
.nav-actions
.action-primary
{
@include
green-button
();
@include
font-size
(
12
);
// needed due to bad button mixins for now
border-color
:
$green-d2
;
}
...
...
@@ -423,6 +422,7 @@
}
.action-secondary
{
@extend
.t-action4
;
}
}
...
...
common/static/sass/_mixins.scss
View file @
8b77111d
...
...
@@ -26,26 +26,6 @@
@include
size
(
$size
);
}
// ====================
// mixins - image-replacement hidden text
@mixin
text-hide
()
{
text-indent
:
100%
;
white-space
:
nowrap
;
overflow
:
hidden
;
}
// mixins - hidden elems - screenreaders
@mixin
text-sr
()
{
border
:
0
;
clip
:
rect
(
0
0
0
0
);
height
:
1px
;
margin
:
-1px
;
overflow
:
hidden
;
padding
:
0
;
position
:
absolute
;
width
:
1px
;
}
// ====================
...
...
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