summaryrefslogtreecommitdiffstats
path: root/core/css/inputs.scss
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-02-22 17:00:00 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-02-22 17:00:00 +0100
commit5c3672ae367f73a264d36d8f704acffb3ae5b406 (patch)
tree525f1646295a47c3a6a239a9d2e23c9e3cb33352 /core/css/inputs.scss
parent96e9173b73f88948dfe5715487b4ba112f07265e (diff)
downloadnextcloud-server-5c3672ae367f73a264d36d8f704acffb3ae5b406.tar.gz
nextcloud-server-5c3672ae367f73a264d36d8f704acffb3ae5b406.zip
Add vselect theming into server
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css/inputs.scss')
-rw-r--r--core/css/inputs.scss76
1 files changed, 76 insertions, 0 deletions
diff --git a/core/css/inputs.scss b/core/css/inputs.scss
index 00e0e47f9a8..31a573bd114 100644
--- a/core/css/inputs.scss
+++ b/core/css/inputs.scss
@@ -483,6 +483,82 @@ input {
}
}
+/* Vue v-select */
+.v-select {
+ margin: 3px 3px 3px 0;
+ display: inline-block;
+ .dropdown-toggle {
+ display: flex !important;
+ flex-wrap: wrap;
+ .selected-tag {
+ line-height: 20px;
+ padding-left: 5px;
+ background-image: none;
+ background-color: $color-main-background;
+ color: nc-lighten($color-main-text, 33%);
+ border: 1px solid nc-darken($color-main-background, 14%);
+ display: inline-flex;
+ align-items: center;
+ .close {
+ margin-left: 3px;
+ }
+ }
+ }
+ .dropdown-menu {
+ padding: 0;
+ li {
+ padding: 5px;
+ position: relative;
+ display: list-item;
+ background-color: transparent;
+ cursor: pointer;
+ color: nc-lighten($color-main-text, 33%);
+ a {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ height: 25px;
+ padding: 3px 7px 4px 2px;
+ margin: 0;
+ cursor: pointer;
+ min-height: 1em;
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ display: inline-flex;
+ align-items: center;
+ background-color: transparent !important;
+ color: inherit !important;
+ margin-left: 17px;
+ &::before {
+ content: ' ';
+ background-image: url('../img/actions/checkmark.svg?v=1');
+ background-repeat: no-repeat;
+ background-position: center;
+ min-width: 16px;
+ min-height: 16px;
+ display: block;
+ opacity: 0.5;
+ margin-right: 5px;
+ visibility: hidden;
+ }
+ }
+ &.highlight {
+ color: $color-main-text;
+ }
+ &.active > a {
+ background-color: nc-darken($color-main-background, 3%);
+ color: $color-main-text;
+ &::before {
+ visibility: visible;
+ }
+ }
+ }
+ }
+}
+
/* Progressbar */
progress {
display: block;