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
33d0302f
Commit
33d0302f
authored
Jun 26, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - proofs nav's flex grid widths/alignment
parent
f98f500c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
19 deletions
+8
-19
cms/static/sass/elements/_header.scss
+8
-19
No files found.
cms/static/sass/elements/_header.scss
View file @
33d0302f
...
...
@@ -11,6 +11,7 @@
padding
:
$baseline
;
header
.primary
{
@include
box-sizing
(
border-box
);
@include
clearfix
();
max-width
:
$fg-max-width
;
min-width
:
$fg-min-width
;
...
...
@@ -27,10 +28,6 @@
vertical-align
:
middle
;
}
.branding
,
.info-course
,
.nav-course
{
margin-right
:
$baseline
;
}
// basic layout - nav items
.nav-item
{
...
...
@@ -60,6 +57,10 @@
.title
{
@extend
.t-action2
;
&
:hover
{
@extend
.fake-link
;
}
.label
,
.icon-caret-down
{
}
...
...
@@ -103,7 +104,7 @@
}
.course-title
{
@extend
.t-
title7
;
@extend
.t-
action3
;
display
:
block
;
width
:
100%
;
overflow
:
hidden
;
...
...
@@ -131,11 +132,7 @@
.nav-item
{
.title
{
@extend
.t-action2
;
&
:hover
{
@extend
.fake-link
;
}
}
}
}
...
...
@@ -168,24 +165,19 @@
.branding
{
width
:
flex-grid
(
2
,
12
);
margin-right
:
flex-gutter
();
background
:
purple
;
}
.info-course
{
width
:
flex-grid
(
4
,
12
);
width
:
flex-grid
(
3
,
12
);
margin-right
:
flex-gutter
();
background
:
red
;
}
.nav-course
{
width
:
flex-grid
(
4
,
12
);
margin-right
:
flex-gutter
();
background
:
blue
;
}
.nav-account
{
width
:
flex-grid
(
2
,
12
);
background
:
green
;
width
:
flex-grid
(
3
,
12
);
}
}
...
...
@@ -196,12 +188,9 @@
.branding
{
width
:
flex-grid
(
2
,
12
);
margin-right
:
flex-gutter
();
background
:
purple
;
}
.nav-pitch
{
width
:
flex-grid
(
10
,
12
);
background
:
green
;
}
}
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