Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
3ee0ed9e
Commit
3ee0ed9e
authored
11 years ago
by
Brian Talbot
Browse files
Options
Downloads
Plain Diff
Merge pull request #2016 from edx/bug/btalbot/mktg-regbutton
edx.org - reduces padding on course listing register buttons
parents
ea4a8cf2
e4b5d21b
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lms/static/sass/_shame.scss
+2
-1
2 additions, 1 deletion
lms/static/sass/_shame.scss
lms/templates/mktg_iframe.html
+3
-1
3 additions, 1 deletion
lms/templates/mktg_iframe.html
with
5 additions
and
2 deletions
lms/static/sass/_shame.scss
+
2
−
1
View file @
3ee0ed9e
...
...
@@ -13,8 +13,9 @@
// button elements - not a better place to put these, sadly
.btn
{
@include
box-sizing
(
'border-box'
);
display
:
block
;
padding
:
$baseline
/
2
$baseline
*
2
.5
;
padding
:
$baseline
/
2
;
text-transform
:
lowercase
;
color
:
$white
;
letter-spacing
:
0
.1rem
;
...
...
This diff is collapsed.
Click to expand it.
lms/templates/mktg_iframe.html
+
3
−
1
View file @
3ee0ed9e
...
...
@@ -28,7 +28,9 @@
<!-- repeated button styles needed for IE (copied from _shame.scss) -->
<style
type=
"text/css"
media=
"screen"
>
.view-partial-mktgregister
{
background
:
transparent
}
.view-partial-mktgregister
.wrapper-view
{
overflow
:
hidden
}
.view-partial-mktgregister
.btn
,
.view-partial-mktgregister
.btn-primary
,
.view-partial-mktgregister
.action.action-register
,
.view-partial-mktgregister
.btn-secondary
,
.view-partial-mktgregister
.action.is-registered
,
.view-partial-mktgregister
.btn-tertiary
,
.view-partial-mktgregister
.action.isnot-open
{
display
:
block
;
padding
:
10px
50px
;
text-transform
:
lowercase
;
color
:
#fff
;
letter-spacing
:
0.1rem
;
cursor
:
pointer
;
text-align
:
center
;
border
:
none
!important
;
text-decoration
:
none
;
text-shadow
:
none
;
letter-spacing
:
0.1rem
;
font-size
:
17px
;
font-weight
:
300
;
box-shadow
:
0
!important
}
.view-partial-mktgregister
.btn
strong
,
.view-partial-mktgregister
.btn-primary
strong
,
.view-partial-mktgregister
.action.action-register
strong
,
.view-partial-mktgregister
.btn-secondary
strong
,
.view-partial-mktgregister
.action.is-registered
strong
,
.view-partial-mktgregister
.btn-tertiary
strong
,
.view-partial-mktgregister
.action.isnot-open
strong
{
font-weight
:
400
}
.view-partial-mktgregister
.btn-primary
,
.view-partial-mktgregister
.action.action-register
{
background-color
:
#4697ec
;
background-image
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
color-stop
(
5%
,
#4697ec
),
color-stop
(
95%
,
#4880bb
));
background-image
:
-webkit-linear-gradient
(
top
,
#4697ec
5%
,
#4880bb
95%
);
background-image
:
-moz-linear-gradient
(
top
,
#4697ec
5%
,
#4880bb
95%
);
background-image
:
-ms-linear-gradient
(
top
,
#4697ec
5%
,
#4880bb
95%
);
background-image
:
-o-linear-gradient
(
top
,
#4697ec
5%
,
#4880bb
95%
);
background-image
:
linear-gradient
(
top
,
#4697ec
5%
,
#4880bb
95%
)}
.view-partial-mktgregister
.btn-secondary
,
.view-partial-mktgregister
.action.is-registered
{
background-color
:
#999
;
background-image
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
color-stop
(
5%
,
#999
),
color-stop
(
95%
,
#666
));
background-image
:
-webkit-linear-gradient
(
top
,
#999
5%
,
#666
95%
);
background-image
:
-moz-linear-gradient
(
top
,
#999
5%
,
#666
95%
);
background-image
:
-ms-linear-gradient
(
top
,
#999
5%
,
#666
95%
);
background-image
:
-o-linear-gradient
(
top
,
#999
5%
,
#666
95%
);
background-image
:
linear-gradient
(
top
,
#999
5%
,
#666
95%
)}
.view-partial-mktgregister
.btn-tertiary
,
.view-partial-mktgregister
.action.isnot-open
{
background
:
#e6f5fc
;
color
:
#5597dd
}
.view-partial-mktgregister
.list-actions
{
list-style
:
none
;
margin
:
0
;
padding
:
0
}
.view-partial-mktgregister
.list-actions
.item
{
margin
:
0
}
.view-partial-mktgregister
.action.isnot-open
{
pointer-events
:
none
!important
;
outline
:
none
}
.view-partial-mktgregister
{
background
:
transparent
}
.view-partial-mktgregister
.wrapper-view
{
overflow
:
hidden
}
.view-partial-mktgregister
.btn
,
.view-partial-mktgregister
.btn-primary
,
.view-partial-mktgregister
.action.action-register
,
.view-partial-mktgregister
.btn-secondary
,
.view-partial-mktgregister
.btn-tertiary
,
.view-partial-mktgregister
.action.isnot-open
{
display
:
block
;
padding
:
10px
;
text-transform
:
lowercase
;
color
:
#fff
;
letter-spacing
:
0.1rem
;
cursor
:
pointer
;
text-align
:
center
;
border
:
none
!important
;
text-decoration
:
none
;
text-shadow
:
none
;
letter-spacing
:
0.1rem
;
font-size
:
17px
;
font-weight
:
300
;
box-shadow
:
0
!important
}
.view-partial-mktgregister
.btn
strong
,
.view-partial-mktgregister
.btn-primary
strong
,
.view-partial-mktgregister
.action.action-register
strong
,
.view-partial-mktgregister
.btn-secondary
strong
,
.view-partial-mktgregister
.btn-tertiary
strong
,
.view-partial-mktgregister
.action.isnot-open
strong
{
font-weight
:
400
;
text-transform
:
none
}
.view-partial-mktgregister
.btn-primary
,
.view-partial-mktgregister
.action.action-register
{
background-color
:
#4697ec
;
background-image
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
color-stop
(
5%
,
#4697ec
),
color-stop
(
95%
,
#4880bb
));
background-image
:
-webkit-linear-gradient
(
top
,
#4697ec
5%
,
#4880bb
95%
);
background-image
:
-moz-linear-gradient
(
top
,
#4697ec
5%
,
#4880bb
95%
);
background-image
:
-ms-linear-gradient
(
top
,
#4697ec
5%
,
#4880bb
95%
);
background-image
:
-o-linear-gradient
(
top
,
#4697ec
5%
,
#4880bb
95%
);
background-image
:
linear-gradient
(
top
,
#4697ec
5%
,
#4880bb
95%
)}
.view-partial-mktgregister
.btn-secondary
{
background-color
:
#999
;
background-image
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
color-stop
(
5%
,
#999
),
color-stop
(
95%
,
#666
));
background-image
:
-webkit-linear-gradient
(
top
,
#999
5%
,
#666
95%
);
background-image
:
-moz-linear-gradient
(
top
,
#999
5%
,
#666
95%
);
background-image
:
-ms-linear-gradient
(
top
,
#999
5%
,
#666
95%
);
background-image
:
-o-linear-gradient
(
top
,
#999
5%
,
#666
95%
);
background-image
:
linear-gradient
(
top
,
#999
5%
,
#666
95%
)}
.view-partial-mktgregister
.btn-tertiary
,
.view-partial-mktgregister
.action.isnot-open
{
background
:
#e6f5fc
;
color
:
#5597dd
}
.view-partial-mktgregister
.list-actions
{
list-style
:
none
;
margin
:
0
;
padding
:
0
}
.view-partial-mktgregister
.list-actions
.item
{
margin
:
0
}
.view-partial-mktgregister
.action.isnot-open
{
pointer-events
:
none
!important
;
outline
:
none
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment