Skip to content

Commit

Permalink
Merge pull request #23 from nextcloud/datepicker/headers-style-fixes
Browse files Browse the repository at this point in the history
Datepicker headers, time, date and scroll style fixes
  • Loading branch information
skjnldsv authored Sep 11, 2018
2 parents 1d3da7c + 3aeb1c5 commit bf4eed1
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 15 deletions.
8 changes: 4 additions & 4 deletions dist/ncvuecomponents.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ncvuecomponents.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 18 additions & 8 deletions src/components/DatetimePicker/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
> a {
&:hover {
color: var(--color-main-text);
background-color: var(--color-background-darker);
}
&.mx-current-month,
&.mx-current-year {
padding: 5px 10px;
border-radius: 30px;
}
}
}
Expand All @@ -67,7 +73,7 @@
color: var(--color-text-lighter);
background-color: var(--color-background-darker);
opacity: .5;
}
}
}
}

Expand All @@ -94,17 +100,21 @@
}

.mx-time-list {
padding: 5px;
li {
display: flex;
justify-content: center;
}
&::-webkit-scrollbar {
width: 8px;
height: 8px;
width: 5px;
height: 5px;
}
&::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.05);
border-radius: 10px;
box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
background-color: var(--color-background-darker);
border-radius: var(--border-radius);
box-shadow: none;
}

&:hover::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.2);
background-color: var(--color-background-darker);
}
}

0 comments on commit bf4eed1

Please sign in to comment.