Moz selection colors
This commit is contained in:
@@ -1,8 +1,3 @@
|
|||||||
/*
|
|
||||||
The purpose of the conflict resoltion modal is to present two versions of a conflicted item,
|
|
||||||
and allow the user to choose which to keep (or to keep both.)
|
|
||||||
*/
|
|
||||||
|
|
||||||
class PrivilegesAuthModal {
|
class PrivilegesAuthModal {
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|||||||
@@ -135,7 +135,6 @@ class AuthManager extends SFAuthManager {
|
|||||||
|
|
||||||
let contentTypePredicate = new SFPredicate("content_type", "=", prefsContentType);
|
let contentTypePredicate = new SFPredicate("content_type", "=", prefsContentType);
|
||||||
this.singletonManager.registerSingleton([contentTypePredicate], (resolvedSingleton) => {
|
this.singletonManager.registerSingleton([contentTypePredicate], (resolvedSingleton) => {
|
||||||
// console.log("Loaded existing user prefs", resolvedSingleton.uuid);
|
|
||||||
this.userPreferences = resolvedSingleton;
|
this.userPreferences = resolvedSingleton;
|
||||||
this.userPreferencesDidChange();
|
this.userPreferencesDidChange();
|
||||||
}, (valueCallback) => {
|
}, (valueCallback) => {
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ class SingletonManager {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
If an item alternates its uuid on registration, singletonHandlers might need to update
|
If an item alternates its uuid on registration, singletonHandlers might need to update
|
||||||
their local refernece to the object, since the object reference will change on uuid alternation
|
their local reference to the object, since the object reference will change on uuid alternation
|
||||||
*/
|
*/
|
||||||
modelManager.addModelUuidChangeObserver("singleton-manager", (oldModel, newModel) => {
|
modelManager.addModelUuidChangeObserver("singleton-manager", (oldModel, newModel) => {
|
||||||
for(var handler of this.singletonHandlers) {
|
for(var handler of this.singletonHandlers) {
|
||||||
|
|||||||
@@ -74,8 +74,8 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
::-moz-selection {
|
::-moz-selection {
|
||||||
background: var(--sn-stylekit-text-selection-color) !important; /* WebKit/Blink Browsers */
|
background: var(--sn-stylekit-info-color) !important;
|
||||||
color: white;
|
color: var(--sn-stylekit-info-contrast-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
|
|||||||
Reference in New Issue
Block a user