diff --git a/.eslintrc.yml b/.eslintrc.yml index 2172f25..97f4500 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -13,7 +13,6 @@ globals: rules: # Intentional exceptions to Airbnb rules: no-alert: off # currently used in the UI - no-plusplus: [error, allowForLoopAfterthoughts: true] no-underscore-dangle: [error, allow: [__REDUX_DEVTOOLS_EXTENSION_COMPOSE__]] no-unused-vars: [error, argsIgnorePattern: "^_" ] react/jsx-no-target-blank: off @@ -24,7 +23,6 @@ rules: no-restricted-globals: warn react/no-find-dom-node: warn react/prop-types: off # TODO: #123 - react/require-default-props: warn # TODO: #118 accessibility jsx-a11y/anchor-is-valid: off diff --git a/public/css/app.css b/public/css/app.css index 4ac4fa5..8d64b62 100755 --- a/public/css/app.css +++ b/public/css/app.css @@ -343,7 +343,7 @@ span.label { margin: 0.3rem 0.2em; } -.button.label:hover:not(.no-hover) { +.button.label:hover:not(.disabled):not(.no-hover) { background-color: #14679e; color: #fefefe; cursor: pointer; @@ -354,13 +354,13 @@ span.label { } .add-edit-filters .button.label, -.add-edit-filters .button.label:not(.selected):not(.no-hover):hover { +.add-edit-filters .button.label:not(.selected):not(.disabled):not(.no-hover):hover { background-color: #14679e !important; color: #fefefe !important; } .add-edit-filters .button.label:not(.selected), -.add-edit-filters .button.label.selected:not(.no-hover):hover { +.add-edit-filters .button.label.selected:not(.disabled):not(.no-hover):hover { background-color: white !important; border-color: #14679e !important; color: #14679e !important; diff --git a/src/__test__/__snapshots__/add-edit-page.test.jsx.snap b/src/__test__/__snapshots__/add-edit-page.test.jsx.snap new file mode 100644 index 0000000..f8f9379 --- /dev/null +++ b/src/__test__/__snapshots__/add-edit-page.test.jsx.snap @@ -0,0 +1,706 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`AddEditEventPage admin 1`] = ` +
+ +

+ + Add Event +

+
+
+ +
+
+ +
+
+
+ +
+
+ + + + +
+
+
+ +
+
+
+
+