Skip to content

Commit 25cb114

Browse files
committed
Remove focus from Already Enrolled Button
1 parent c669e05 commit 25cb114

File tree

2 files changed

+27
-19
lines changed

2 files changed

+27
-19
lines changed

tutorindigo/templates/indigo/lms/static/sass/courseware/_about.scss

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -94,25 +94,34 @@
9494
@include media-breakpoint-up(md) {
9595
margin: -50px 0 0;
9696
}
97+
span {
98+
&.register {
99+
&.disabled {
100+
display: inline-block;
101+
vertical-align: top;
102+
padding: 7px 14px;
103+
color: #374151;
104+
border-radius: 6px;
105+
background: #fff;
106+
font-size: 16px;
107+
line-height: 24px;
108+
font-weight: 500;
109+
text-decoration: none !important;
110+
border: 1px solid #D1D5DB;
111+
margin-right: 20px;
112+
@include media-breakpoint-up(md) {
113+
padding: 12px 24px;
114+
}
115+
116+
&:hover {
117+
opacity: 1;
118+
}
119+
}
120+
}
121+
}
122+
97123
a {
98124
text-decoration: none !important;
99-
span {
100-
display: inline-block;
101-
vertical-align: top;
102-
padding: 7px 14px;
103-
color: #374151;
104-
border-radius: 6px;
105-
background: #fff;
106-
font-size: 16px;
107-
line-height: 24px;
108-
font-weight: 500;
109-
text-decoration: none !important;
110-
border: 1px solid #D1D5DB;
111-
margin-right: 20px;
112-
@include media-breakpoint-up(md) {
113-
padding: 12px 24px;
114-
}
115-
}
116125
}
117126
a.register, a strong, >span.register, a.add-to-cart {
118127
display: inline-block;

tutorindigo/templates/indigo/lms/templates/courseware/course_about.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,11 @@ <h1>
8585
</div>
8686
<div class="main-cta">
8787
%if user.is_authenticated and registered:
88+
<span class="register disabled">${_("Already Enrolled")}</span>
8889
%if show_courseware_link:
8990
<a href="${course_target}">
9091
%endif
91-
9292
<span class="register disabled">${_("Already Enrolled")}</span>
93-
9493
%if show_courseware_link:
9594
<strong>${_("View Course")}</strong>
9695
</a>

0 commit comments

Comments
 (0)