summaryrefslogtreecommitdiff
path: root/assets/css/src
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-16 22:06:53 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-16 22:06:53 -0500
commit924949850322144036e281bf94fb8b88c42bbd74 (patch)
tree5e57db68f507849bb8c7a92574fbe6a3f319c009 /assets/css/src
parent4961805e0f8a8c3630ace144450fdd97048b3929 (diff)
Add file preview for Markdown and text files
Diffstat (limited to 'assets/css/src')
-rw-r--r--assets/css/src/files.css12
-rw-r--r--assets/css/src/task.css16
2 files changed, 11 insertions, 17 deletions
diff --git a/assets/css/src/files.css b/assets/css/src/files.css
index d21a5e08..a81b387b 100644
--- a/assets/css/src/files.css
+++ b/assets/css/src/files.css
@@ -14,7 +14,7 @@
border: 1px solid #efefef;
border-radius: 5px;
margin-bottom: 20px;
- box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.55);
+ box-shadow: 4px 2px 10px -6px rgba(0,0,0,0.55);
margin-right: 15px;
}
@@ -44,3 +44,13 @@
margin-top: 8px;
margin-bottom: 5px;
}
+
+.file-viewer {
+ position: relative;
+}
+
+.file-viewer img {
+ max-width: 95%;
+ max-height: 85%;
+ margin-top: 10px;
+}
diff --git a/assets/css/src/task.css b/assets/css/src/task.css
index 57acb52a..ed0486e8 100644
--- a/assets/css/src/task.css
+++ b/assets/css/src/task.css
@@ -205,22 +205,6 @@ span.task-board-date-overdue {
height: 300px;
}
-.task-file-viewer {
- position: relative;
-}
-
-.task-file-viewer img {
- max-width: 95%;
- max-height: 85%;
- margin-top: 10px;
-}
-
-.task-time-form {
- margin-top: 10px;
- margin-bottom: 25px;
- padding: 3px;
-}
-
.task-link-closed {
text-decoration: line-through;
}