aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components/container/WeekSelector.scss
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-03-21 15:32:21 +0100
committerNoah Loomans <noahloomans@gmail.com>2018-03-21 15:32:21 +0100
commit2d54f8c7a6ee92bc51dd26244517d18ee7958490 (patch)
treefbb1f1062e18c9a2ed626d7cde0234bdc5149b11 /src/client/react/components/container/WeekSelector.scss
parentb2e406c37d0241d132e6fa99cc1387c92a624e0b (diff)
Add scss back into the mix
Diffstat (limited to 'src/client/react/components/container/WeekSelector.scss')
-rw-r--r--src/client/react/components/container/WeekSelector.scss40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/client/react/components/container/WeekSelector.scss b/src/client/react/components/container/WeekSelector.scss
new file mode 100644
index 0000000..dd71fea
--- /dev/null
+++ b/src/client/react/components/container/WeekSelector.scss
@@ -0,0 +1,40 @@
+.WeekSelector {
+ display: flex;
+ padding: 8px;
+ padding-bottom: 0;
+ background-color: #F44336;
+ color: white;
+ align-items: center;
+
+ .text {
+ flex-grow: 1;
+ text-align: center;
+ }
+
+ button {
+ background-color: initial;
+ border: initial;
+ color: inherit;
+ padding: 8px;
+ border-radius: 4px;
+
+ svg {
+ font-size: 2em;
+ }
+
+ &:focus {
+ background-color: #D32F2F;
+ outline: none;
+ }
+
+ &:active {
+ background-color: #B81111;
+ outline: none;
+ }
+
+ &::-moz-focus-inner {
+ /* Remove the dotted line outline from Firefox */
+ border: 0;
+ }
+ }
+}