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
dff11d97
Unverified
Commit
dff11d97
authored
Oct 30, 2017
by
Harry Rein
Committed by
GitHub
Oct 30, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16379 from edx/HarryRein/responsive-account-settings
Responsive account settings page.
parents
588f3d9d
3498cc4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
4 deletions
+52
-4
lms/static/sass/views/_account-settings.scss
+52
-4
No files found.
lms/static/sass/views/_account-settings.scss
View file @
dff11d97
...
...
@@ -64,10 +64,10 @@
font-size
:
em
(
14
);
color
:
$gray
;
padding
:
5px
25px
23px
;
padding
:
$baseline
/
4
$baseline
*
1
.25
$baseline
;
display
:
inline-block
;
box-shadow
:
none
;
border
:
none
;
border
-bottom
:
4px
solid
transparent
;
border-radius
:
0
;
background
:
transparent
none
;
}
...
...
@@ -84,11 +84,24 @@
&
:hover
,
&
:focus
{
text-decoration
:
none
;
border-bottom
:
4px
solid
$courseware-border-bottom-color
!
important
;
border-bottom
-color
:
$courseware-border-bottom-color
;
}
&
.active
{
border-bottom
:
4px
solid
$black-t3
!
important
;
border-bottom-color
:
theme-color
(
"dark"
);
}
}
}
@include
media-breakpoint-down
(
md
)
{
border-bottom-color
:
transparent
;
.account-nav
{
display
:
flex
;
border-bottom
:
none
;
.account-nav-link
{
border-bottom
:
4px
solid
theme-color
(
"light"
);
}
}
}
...
...
@@ -338,6 +351,41 @@
border-bottom
:
none
;
margin-bottom
:
(
$baseline
*
2
);
}
// Responsive behavior
@include
media-breakpoint-down
(
md
)
{
.u-field-value
{
width
:
100%
;
}
.u-field-message
{
width
:
100%
;
padding
:
$baseline
/
2
0
;
.u-field-message-notification
{
position
:
relative
;
padding
:
0
;
}
}
.u-field-order
{
display
:
flex
;
flex-wrap
:
nowrap
;
u-field-order-number
,
u-field-order-date
,
u-field-order-price
,
u-field-order-link
,
{
width
:
auto
;
float
:
none
;
flex-grow
:
1
;
&
:first-of-type
{
flex-grow
:
2
;
}
}
}
}
}
.u-field-readonly
.u-field-value
{
...
...
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