Skip to content

Commit 4424e19

Browse files
committed
Latest amends from Hive theme
1 parent 0231bcc commit 4424e19

File tree

7 files changed

+48
-25
lines changed

7 files changed

+48
-25
lines changed

dist/textpattern/jquery-ui.css

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212

1313
/**
14-
* Hide jQuery UI text but still allow screen reader access.
14+
* Hide jQuery UI text but still allow screen reader access.
1515
*/
1616
.ui-helper-hidden-accessible {
1717
position: absolute;
@@ -618,7 +618,7 @@ a.ui-state-default:focus {
618618

619619
.ui-button:focus {
620620
border-color: #0066ff;
621-
outline: 0;
621+
outline: 2px solid transparent;
622622
}
623623

624624
/**
@@ -1041,7 +1041,6 @@ input.ui-button.ui-icon-notext .ui-icon {
10411041

10421042
.ui-datepicker td a.ui-state-active {
10431043
border-color: #96c0ff;
1044-
background-color: #e6f0ff;
10451044
}
10461045

10471046
.ui-datepicker td a.ui-state-highlight:hover {
@@ -1057,6 +1056,14 @@ input.ui-button.ui-icon-notext .ui-icon {
10571056
text-align: center;
10581057
}
10591058

1059+
.ui-datepicker td.ui-datepicker-today a {
1060+
background-color: #f7eedb;
1061+
}
1062+
1063+
.ui-datepicker td.ui-datepicker-current-day a {
1064+
background-color: #e6f0ff;
1065+
}
1066+
10601067
.ui-datepicker .ui-datepicker-buttonpane {
10611068
margin: 0.7em 0 0;
10621069
padding: 0 0.2em;
@@ -2039,7 +2046,8 @@ input.ui-button.ui-icon-notext .ui-icon {
20392046
.ui-state-error-text .ui-icon,
20402047
.error .ui-icon,
20412048
.error.ui-icon,
2042-
.destroy .ui-icon {
2049+
.destroy .ui-icon,
2050+
.destroy.ui-icon {
20432051
-webkit-filter: brightness(2) sepia(1) hue-rotate(-62deg) saturate(750%) brightness(65%);
20442052
filter: brightness(2) sepia(1) hue-rotate(-62deg) saturate(750%) brightness(65%);
20452053
}

dist/textpattern/jquery-ui.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 23 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/sass/modules/_button.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565

6666
&:focus {
6767
border-color: $color-link-focus;
68-
outline: 0;
68+
outline: 2px solid transparent; // Allows for repainting in high contrast modes.
6969
}
7070
}
7171

src/sass/modules/_core.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111

1212
/**
13-
* Hide jQuery UI text but still allow screen reader access.
13+
* Hide jQuery UI text but still allow screen reader access.
1414
*/
1515

1616
.ui-helper-hidden-accessible {

src/sass/modules/_datepicker.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@
165165

166166
a.ui-state-active {
167167
border-color: lighten($color-link, 42%);
168-
background-color: $color-selected;
169168
}
170169

171170
a.ui-state-highlight:hover {
@@ -180,6 +179,14 @@
180179
padding: 0.32em 0;
181180
text-align: center;
182181
}
182+
183+
&.ui-datepicker-today a {
184+
background-color: $color-warning-background;
185+
}
186+
187+
&.ui-datepicker-current-day a {
188+
background-color: $color-selected;
189+
}
183190
}
184191

185192
.ui-datepicker-buttonpane {

src/sass/modules/_icons.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@
100100
.ui-state-error-text .ui-icon,
101101
.error .ui-icon,
102102
.error.ui-icon,
103-
.destroy .ui-icon {
103+
.destroy .ui-icon,
104+
.destroy.ui-icon {
104105
filter: brightness(2) sepia(1) hue-rotate(-62deg) saturate(750%) brightness(65%);
105106
}
106107

0 commit comments

Comments
 (0)