Skip to content

Commit

Permalink
Fix some oversights in date-time picker panel.
Browse files Browse the repository at this point in the history
  • Loading branch information
aminomancer committed Nov 1, 2022
1 parent 7e5976c commit d8fa786
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 13 deletions.
14 changes: 8 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ module.exports = {
"prettier/prettier": [
"error",
{
"endOfLine": "auto",
"arrowParens": "avoid",
"printWidth": 80,
"tabWidth": 2,
"trailingComma": "es5",
"quoteProps": "preserve",
endOfLine: "auto",
arrowParens: "avoid",
printWidth: 80,
tabWidth: 2,
trailingComma: "es5",
quoteProps: "preserve",
},
],
},
Expand All @@ -64,6 +64,8 @@ module.exports = {
{
files: ["*@aminomancer/**", "extensions/**"],
env: { webextensions: true },
globals: { XPCNativeWrapper: true },
rules: { complexity: "off", "no-console": "off" },
},
{
// All .eslintrc.js files are in the node environment, so turn that
Expand Down
28 changes: 22 additions & 6 deletions uc-popups.css
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,7 @@ panel[type="autocomplete-richlistbox"]
--arrowpanel-border-color: inherit !important;
}

@-moz-document url-prefix("chrome://global/content/timepicker.xhtml"),
url-prefix("chrome://global/content/datepicker.xhtml") {
@-moz-document url-prefix("chrome://global/content/timepicker.xhtml"), url-prefix("chrome://global/content/datepicker.xhtml") {
body {
background-color: var(--arrowpanel-background) !important;
color: var(--font-color) !important;
Expand All @@ -601,20 +600,37 @@ panel[type="autocomplete-richlistbox"]
--in-content-page-background: var(--toolbar-bgcolor) !important;
--font-color: var(--uc-content-page-color) !important;
--fill-color: var(--arrowpanel-dimmed) !important;
--selected-fill-color: var(--in-content-link-color) !important;
--today-fill-color: var(--arrowpanel-dimmed-further) !important;
--disabled-fill-color: transparent !important;
--border: none !important;
--border-active-color: var(--in-content-link-color-hover) !important;
--today-fill-color: var(--lwt-toolbar-field-color) !important;
--selected-fill-color: var(--in-content-link-color) !important;
--selected-font-color: var(--uc-parent-primary-button-text-color) !important;
--button-fill-color-active: var(--in-content-link-color) !important;
--weekend-font-color: var(--urlbar-popup-action-color) !important;
--today-fill-color: var(--arrowpanel-dimmed-further) !important;
--date-picker-item-height: 28px !important;
--date-picker-item-height: 29px !important;
}

* {
scrollbar-width: none !important;
}

.days-viewport {
height: 14.6rem !important;
}

.days-view > .out-of-range,
.days-view > .off-step {
pointer-events: none !important;
background: none !important;
opacity: 0.5 !important;
color: var(--uc-menu-disabled-color) !important;
}

.calendar-container .days-view > div::before {
display: revert !important;
}

.month-year {
color: var(--font-color) !important;
height: var(--date-picker-item-height) !important;
Expand Down
2 changes: 1 addition & 1 deletion uc-unified-extensions.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#unified-extensions-button {
/*! display: none !important; */
display: none !important;
}

#unified-extensions-view > .panel-subview-body {
Expand Down

0 comments on commit d8fa786

Please sign in to comment.