diff --git a/skins/elastic/styles/widgets/buttons.less b/skins/elastic/styles/widgets/buttons.less index 826cc7fd9..8c4b64924 100644 --- a/skins/elastic/styles/widgets/buttons.less +++ b/skins/elastic/styles/widgets/buttons.less @@ -45,11 +45,10 @@ a.button { /* font-icons */ +a.button.icon, button.btn { &:before { &:extend(.font-icon-class); - display: inline-block; - float: none; } &.submit:before, &.save:before { @@ -86,12 +85,6 @@ button.btn { &.mark:before { /* TODO: "Mark all as read" icon */ } -} - -a.button.icon { - &:before { - &:extend(.font-icon-class); - } &.toolbar-menu-button:before { content: @fa-var-ellipsis-v; } @@ -107,6 +100,16 @@ a.button.icon { &.remove:before { content: @fa-var-close; } +} + +button.btn { + &:before { + display: inline-block; + float: none; + } +} + +a.button.icon { &.dropdown:before { content: @fa-var-caret-down; font-size: 1em; diff --git a/skins/elastic/styles/widgets/forms.less b/skins/elastic/styles/widgets/forms.less index 69fab950f..f409aa671 100644 --- a/skins/elastic/styles/widgets/forms.less +++ b/skins/elastic/styles/widgets/forms.less @@ -49,16 +49,14 @@ html.ie .propform { .formcontent { padding: 1em; - .row { + td.row { margin-right: 0; /* without these the form is too wide causing horizontal scrollbar appearence */ margin-left: 0; } - .row .input-group { + + .row.form-check { padding-right: 0; /* without these e.g. inputs in compose screen are not aligned properly */ - padding-left: 0; - } - tr.row.form-check { @media screen and (min-width: 576px) { display: flex; /* https://github.com/twbs/bootstrap/issues/22348 */ } @@ -116,6 +114,42 @@ html.ie .propform { td.editfield { width: 99%; /* TODO */ } +/*** Files upload widget with list of files, upload form and drop area ***/ + +.file-upload { + /* TODO */ + + padding: 1em 1em 12em; + margin: 1em; + background-color: #f4f4f4; + + .upload-form { + text-align: center; + padding-bottom: 1em; + } + + .hint { + margin-bottom: .5rem; + } + + .attachmentslist { + padding: 0; + list-style: none; + + li { + display: block; + padding-bottom: .5em; + } + } + + &.droptarget { + &.hover { + } + &.active { + } + } +} + /*** Smart recipient input field ***/ diff --git a/skins/elastic/templates/compose.html b/skins/elastic/templates/compose.html index 383ea4a4a..db3f04a43 100644 --- a/skins/elastic/templates/compose.html +++ b/skins/elastic/templates/compose.html @@ -38,6 +38,66 @@ + +
+
+
+
+ +
+

+ +
+ +
+ +
+
+ + +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ + + +
+ +
+ +
+
+ +
+
+

+
+ + +
+ + +
+
+
+

@@ -82,7 +142,7 @@
-
+

@@ -129,54 +189,17 @@
- +
+ +
- -
-

- - - - - - - - - - - - - - - - - - - - - - - - -
-
-

-
- - -
- - -