diff --git a/skins/elastic/styles/styles.less b/skins/elastic/styles/styles.less index bc05b2b29..829c55b70 100644 --- a/skins/elastic/styles/styles.less +++ b/skins/elastic/styles/styles.less @@ -190,7 +190,6 @@ html.iframe body { @import "widgets/searchbar.less"; @import "widgets/lists.less"; @import "widgets/messagebody.less"; -@import "widgets/attachmentlist.less"; @import "widgets/googiespell.less"; diff --git a/skins/elastic/styles/widgets/attachmentlist.less b/skins/elastic/styles/widgets/attachmentlist.less deleted file mode 100644 index 4c3cb8a4c..000000000 --- a/skins/elastic/styles/widgets/attachmentlist.less +++ /dev/null @@ -1,96 +0,0 @@ -/* Attachments list */ - - -.attachmentslist li { - &:before { - &:extend(.font-icon-class); - content: @fa-var-file-o; - } - - &.txt:before, - &.text:before { - content: @fa-var-file-text-o; - } - - &.pdf:before { - content: @fa-var-file-pdf-o; - } - - &.odt:before, - &.doc:before, - &.docx:before, - &.msword:before { - content: @fa-var-file-word-o; - } - - &.ods:before, - &.xls:before, - &.xlsx:before, - &.msexcel:before { - content: @fa-var-file-excel-o; - } - - &.rar:before, - &.zip:before, - &.gz:before { - content: @fa-var-file-zip-o; - } - - &.image:before, - &.jpg:before, - &.jpeg:before, - &.png:before { - content: @fa-var-file-image-o; - } - - &.mp3:before, - &.audio:before { - content: @fa-var-file-audio-o; - } - - &.m4p:before, - &.video:before { - content: @fa-var-file-video-o; - } - - &.ics:before, - &.calendar:before { - /* TODO */ - } - - &.vcard:before { - content: @fa-var-vcard; - } - - &.html:before { - content: @fa-var-file-code-o; - } - - &.eml:before, - &.rfc822:before { - /* TODO */ - } - - &.odp:before, - &.otp:before, - &.ppt:before, - &.pptx:before, - &.ppsx:before, - &.vnd.mspowerpoint:before { - content: @fa-var-file-powerpoint-o; - } - - &.sig:before, - &.pgp-signature:before, - &.pkcs7-signature:before { - /* TODO */ - } - - &.application.asc:before { - /* TODO */ - } - - &.application.pgp-keys:before { - /* TODO */ - } -} diff --git a/skins/elastic/styles/widgets/buttons.less b/skins/elastic/styles/widgets/buttons.less index 34c430b57..3fbb8b539 100644 --- a/skins/elastic/styles/widgets/buttons.less +++ b/skins/elastic/styles/widgets/buttons.less @@ -74,6 +74,10 @@ a.button.icon.back-sidebar-button:before { a.button.icon.back-list-button:before { content: @fa-var-arrow-left; } +a.button.icon.dropdown:before { + content: @fa-var-caret-down; + font-size: 1em; +} a.button.icon > span.inner { display: none; } diff --git a/skins/elastic/styles/widgets/lists.less b/skins/elastic/styles/widgets/lists.less index 9ec970d8d..3d9c058eb 100644 --- a/skins/elastic/styles/widgets/lists.less +++ b/skins/elastic/styles/widgets/lists.less @@ -407,3 +407,105 @@ table.fixedcopy { content: @fa-var-flag-o; } } + +/* Attachments list */ + +.attachmentslist li { + display: inline-block; + + a.button { + float: right; + } + + &:before { + &:extend(.font-icon-class); + content: @fa-var-file-o; + } + + &.txt:before, + &.text:before { + content: @fa-var-file-text-o; + } + + &.pdf:before { + content: @fa-var-file-pdf-o; + } + + &.odt:before, + &.doc:before, + &.docx:before, + &.msword:before { + content: @fa-var-file-word-o; + } + + &.ods:before, + &.xls:before, + &.xlsx:before, + &.msexcel:before { + content: @fa-var-file-excel-o; + } + + &.rar:before, + &.zip:before, + &.gz:before { + content: @fa-var-file-zip-o; + } + + &.image:before, + &.jpg:before, + &.jpeg:before, + &.png:before { + content: @fa-var-file-image-o; + } + + &.mp3:before, + &.audio:before { + content: @fa-var-file-audio-o; + } + + &.m4p:before, + &.video:before { + content: @fa-var-file-video-o; + } + + &.ics:before, + &.calendar:before { + /* TODO */ + } + + &.vcard:before { + content: @fa-var-vcard; + } + + &.html:before { + content: @fa-var-file-code-o; + } + + &.eml:before, + &.rfc822:before { + /* TODO */ + } + + &.odp:before, + &.otp:before, + &.ppt:before, + &.pptx:before, + &.ppsx:before, + &.vnd.mspowerpoint:before { + content: @fa-var-file-powerpoint-o; + } + + &.sig:before, + &.pgp-signature:before, + &.pkcs7-signature:before { + /* TODO */ + } + + &.application.asc:before { + /* TODO */ + } + + &.application.pgp-keys:before { + /* TODO */ + } +} diff --git a/skins/elastic/styles/widgets/toolbar.less b/skins/elastic/styles/widgets/toolbar.less index 5b2638e91..b534bbf0a 100644 --- a/skins/elastic/styles/widgets/toolbar.less +++ b/skins/elastic/styles/widgets/toolbar.less @@ -161,6 +161,9 @@ a.edit:before { content: @fa-var-edit; /* TODO: edit.asnew */ } + a.rename:before { + content: @fa-var-pencil; /* TODO: better icon? */ + } a.read:before { content: @fa-var-star-o; } diff --git a/skins/elastic/templates/compose.html b/skins/elastic/templates/compose.html index 0cd6ee737..4921b7bfb 100644 --- a/skins/elastic/templates/compose.html +++ b/skins/elastic/templates/compose.html @@ -225,12 +225,12 @@ - -