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
37b42941
Commit
37b42941
authored
Aug 25, 2016
by
Chris Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AC-570 courseware search contrast enhancement
parent
5c01e745
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
22 deletions
+26
-22
cms/static/sass/partials/_variables.scss
+1
-1
common/test/test-theme/cms/static/sass/partials/_variables.scss
+1
-1
lms/static/js/fixtures/search/course_search_form.html
+1
-3
lms/static/sass/partials/base/_variables.scss
+1
-1
lms/static/sass/search/_search.scss
+21
-13
lms/templates/courseware/courseware.html
+1
-3
No files found.
cms/static/sass/partials/_variables.scss
View file @
37b42941
...
...
@@ -42,7 +42,7 @@ $transparent: rgba(0,0,0,0); // used when color value is needed for UI width/tra
// +Colors - UXPL new pattern library colors
// ====================
$uxpl-blue-base
:
rgb
(
0
,
117
,
180
);
// wcag2a compliant
$uxpl-blue-hover-active
:
rgb
(
41
,
145
,
195
);
// wcag2a compliant
$uxpl-blue-hover-active
:
rgb
(
6
,
86
,
131
);
// wcag2a compliant
$uxpl-green-base
:
rgb
(
0
,
129
,
0
);
// wcag2a compliant
$uxpl-green-hover-active
:
rgb
(
0
,
155
,
0
);
// wcag2a compliant
...
...
common/test/test-theme/cms/static/sass/partials/_variables.scss
View file @
37b42941
...
...
@@ -88,7 +88,7 @@ $blue-t2: rgba($blue, 0.50);
$blue-t3
:
rgba
(
$blue
,
0
.75
);
$uxpl-blue-base
:
rgb
(
0
,
117
,
180
);
// wcag2a compliant
$uxpl-blue-hover-active
:
rgb
(
41
,
145
,
195
);
// wcag2a compliant
$uxpl-blue-hover-active
:
rgb
(
6
,
86
,
131
);
// wcag2a compliant
$uxpl-green-base
:
rgb
(
0
,
129
,
0
);
// wcag2a compliant
$uxpl-green-hover-active
:
rgb
(
0
,
155
,
0
);
// wcag2a compliant
...
...
lms/static/js/fixtures/search/course_search_form.html
View file @
37b42941
...
...
@@ -2,9 +2,7 @@
<form>
<label
for=
"course-search-input"
class=
"sr"
>
Course Search
</label>
<input
id=
"course-search-input"
type=
"text"
class=
"search-field"
/>
<button
type=
"submit"
class=
"search-button"
>
search
<span
class=
"icon fa fa-search"
aria-hidden=
"true"
></span>
</button>
<button
type=
"submit"
class=
"search-button"
>
Search
</button>
<button
type=
"button"
class=
"cancel-button"
title=
"Clear search"
>
<span
class=
"icon fa fa-remove"
aria-hidden=
"true"
></span>
</button>
...
...
lms/static/sass/partials/base/_variables.scss
View file @
37b42941
...
...
@@ -160,7 +160,7 @@ $blue-t2: rgba($blue, 0.50);
$blue-t3
:
rgba
(
$blue
,
0
.75
);
$uxpl-blue-base
:
rgb
(
0
,
117
,
180
);
// wcag2a compliant
$uxpl-blue-hover-active
:
rgb
(
41
,
145
,
195
);
// wcag2a compliant
$uxpl-blue-hover-active
:
rgb
(
6
,
86
,
131
);
// wcag2a compliant
$uxpl-green-base
:
rgb
(
0
,
129
,
0
);
// wcag2a compliant
$uxpl-green-hover-active
:
rgb
(
0
,
155
,
0
);
// wcag2a compliant
...
...
lms/static/sass/search/_search.scss
View file @
37b42941
...
...
@@ -13,30 +13,39 @@
top
:
5px
;
width
:
100%
;
border-radius
:
4px
;
background
:
$white-t1
;
&
.is-active
{
background
:
$white
;
}
background
:
$white
;
}
.search-button
,
.cancel-button
,
.search-button
:hover
,
.cancel-button
:hover
{
@extend
%t-icon6
;
.search-button
,
.cancel-button
,
.search-button
:hover
,
.cancel-button
:hover
{
@extend
%t-regular
;
@include
box-sizing
(
border-box
);
@include
right
(
12px
);
@include
right
(
0
);
display
:
block
;
position
:
absolute
;
top
:
0
;
border
:
none
;
background
:
transparent
;
padding
:
0
;
border-radius
:
0
;
@include
border-top-right-radius
(
3px
);
@include
border-bottom-right-radius
(
3px
);
background
:
$uxpl-blue-base
;
padding
:
0
10px
;
height
:
35px
;
color
:
$
gray-l1
;
color
:
$
white
;
box-shadow
:
none
;
line-height
:
3
5
px
;
line-height
:
3
3
px
;
text-shadow
:
none
;
text-transform
:
none
;
&
:hover
,
&
:focus
,
&
:active
{
background
:
$uxpl-blue-hover-active
;
box-shadow
:
none
;
border
:
none
;
}
}
.cancel-button
{
...
...
@@ -171,4 +180,3 @@
}
}
}
lms/templates/courseware/courseware.html
View file @
37b42941
...
...
@@ -126,9 +126,7 @@ ${HTML(fragment.foot_html())}
<label
for=
"course-search-input"
class=
"sr"
>
${_('Course Search')}
</label>
<div
class=
"search-field-wrapper"
>
<input
id=
"course-search-input"
type=
"text"
class=
"search-field"
/>
<button
type=
"submit"
class=
"search-button"
>
${_('search')}
<span
class=
"icon fa fa-search"
aria-hidden=
"true"
></span>
</button>
<button
type=
"submit"
class=
"search-button"
>
${_('Search')}
</button>
<button
type=
"button"
class=
"cancel-button"
title=
"${_('Clear search')}"
>
<span
class=
"icon fa fa-remove"
aria-hidden=
"true"
></span>
</button>
...
...
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