diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-10-27 00:23:23 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-10-27 00:32:47 +0200 |
commit | eace50704310d4a1e8386d092242efa6d3d81d91 (patch) | |
tree | 7b6cd1f403ad55d5038b98265e5bd7cfeb476302 /apps/comments/css | |
parent | 7f58c41015dc152b04569d795389b4b0df8e3672 (diff) | |
download | nextcloud-server-eace50704310d4a1e8386d092242efa6d3d81d91.tar.gz nextcloud-server-eace50704310d4a1e8386d092242efa6d3d81d91.zip |
apply our theming
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/comments/css')
-rw-r--r-- | apps/comments/css/autocomplete.scss | 77 | ||||
-rw-r--r-- | apps/comments/css/vendor/At.js/jquery.atwho.min.css | 1 |
2 files changed, 77 insertions, 1 deletions
diff --git a/apps/comments/css/autocomplete.scss b/apps/comments/css/autocomplete.scss new file mode 100644 index 00000000000..10e56f15420 --- /dev/null +++ b/apps/comments/css/autocomplete.scss @@ -0,0 +1,77 @@ +/** + * based upon apps/comments/js/vendor/At.js/dist/css/jquery.atwho.css, + * only changed colors and font-weight + */ + +.atwho-view { + position:absolute; + top: 0; + left: 0; + display: none; + margin-top: 18px; + background: $color-main-background; + color: $color-main-text; + border: 1px solid $color-border; + border-radius: 3px; + box-shadow: 0 0 5px $color-box-shadow; + min-width: 120px; + z-index: 11110 !important; +} + +.atwho-view .atwho-header { + padding: 5px; + margin: 5px; + cursor: pointer; + border-bottom: solid 1px $color-border; + color: $color-main-text; + font-size: 11px; + font-weight: bold; +} + +.atwho-view .atwho-header .small { + color: $color-main-text; + float: right; + padding-top: 2px; + margin-right: -5px; + font-size: 12px; + font-weight: normal; +} + +.atwho-view .atwho-header:hover { + cursor: default; +} + +.atwho-view .cur { + background: $color-primary; + color: $color-primary-text; +} +.atwho-view .cur small { + color: $color-primary-text; +} +.atwho-view strong { + color: $color-main-text; + font-weight: normal; +} +.atwho-view .cur strong { + color: $color-primary-text; + font-weight: normal; +} +.atwho-view ul { + /* width: 100px; */ + list-style:none; + padding:0; + margin:auto; + max-height: 200px; + overflow-y: auto; +} +.atwho-view ul li { + display: block; + padding: 5px 10px; + border-bottom: 1px solid $color-border; + cursor: pointer; +} +.atwho-view small { + font-size: smaller; + color: $color-main-text; + font-weight: normal; +} diff --git a/apps/comments/css/vendor/At.js/jquery.atwho.min.css b/apps/comments/css/vendor/At.js/jquery.atwho.min.css deleted file mode 100644 index f770dc73b3f..00000000000 --- a/apps/comments/css/vendor/At.js/jquery.atwho.min.css +++ /dev/null @@ -1 +0,0 @@ -.atwho-view{position:absolute;top:0;left:0;display:none;margin-top:18px;background:#fff;color:#000;border:1px solid #DDD;border-radius:3px;box-shadow:0 0 5px rgba(0,0,0,.1);min-width:120px;z-index:11110!important}.atwho-view .atwho-header{padding:5px;margin:5px;cursor:pointer;border-bottom:solid 1px #eaeff1;color:#6f8092;font-size:11px;font-weight:700}.atwho-view .atwho-header .small{color:#6f8092;float:right;padding-top:2px;margin-right:-5px;font-size:12px;font-weight:400}.atwho-view .atwho-header:hover{cursor:default}.atwho-view .cur{background:#36F;color:#fff}.atwho-view .cur small{color:#fff}.atwho-view strong{color:#36F}.atwho-view .cur strong{color:#fff;font:700}.atwho-view ul{list-style:none;padding:0;margin:auto;max-height:200px;overflow-y:auto}.atwho-view ul li{display:block;padding:5px 10px;border-bottom:1px solid #DDD;cursor:pointer}.atwho-view small{font-size:smaller;color:#777;font-weight:400}
\ No newline at end of file |