summaryrefslogtreecommitdiffstats
path: root/core/css/inputs.scss
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-10-17 23:09:18 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-10-22 14:14:33 +0200
commitdf0e72d8d9485a08d6d60261538d9d5a63aa266e (patch)
tree742fb9aeb06fabedf7d545348631717597be5e25 /core/css/inputs.scss
parentd1afbedc5fa34653e3019ab254d4ed7a8d046617 (diff)
downloadnextcloud-server-df0e72d8d9485a08d6d60261538d9d5a63aa266e.tar.gz
nextcloud-server-df0e72d8d9485a08d6d60261538d9d5a63aa266e.zip
contenteditable divs should look like textareas
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'core/css/inputs.scss')
-rw-r--r--core/css/inputs.scss8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/css/inputs.scss b/core/css/inputs.scss
index eb7d20cf8af..5143ec518ed 100644
--- a/core/css/inputs.scss
+++ b/core/css/inputs.scss
@@ -13,7 +13,7 @@
*/
/* Specifically override browser styles */
-input, textarea, select, button {
+input, textarea, select, button, div[contenteditable=true] {
font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
}
.select2-container-multi .select2-choices .select2-search-field input, .select2-search input, .ui-widget {
@@ -24,7 +24,8 @@ input, textarea, select, button {
select,
button,
input,
-textarea {
+textarea,
+div[contenteditable=true] {
width: 130px;
min-height: 32px;
box-sizing: border-box;
@@ -35,6 +36,7 @@ select,
button, .button,
input:not([type='range']),
textarea,
+div[contenteditable=true],
.pager li a {
margin: 3px 3px 3px 0;
padding: 7px 6px;
@@ -154,7 +156,7 @@ button, .button {
}
}
-textarea {
+textarea, div[contenteditable=true] {
color: nc-lighten($color-main-text, 33%);
cursor: text;
font-family: inherit;