You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
roundcubemail/skins/elastic/styles/widgets/toolbar.less

255 lines
5.3 KiB
Plaintext

/**
* Roundcube webmail styles for the Elastic skin
*
* Copyright (c) 2017, The Roundcube Dev Team
*
* The contents are subject to the Creative Commons Attribution-ShareAlike
* License. It is allowed to copy, distribute, transmit and to adapt the work
* by keeping credits to the original autors in the README file.
* See http://creativecommons.org/licenses/by-sa/3.0/ for details.
*/
/*** Toolbar widget ***/
.toolbar {
a {
text-decoration: none;
cursor: pointer !important; /* TODO: re-consider .listing class use on toolbar */
}
a.button {
padding: 0 0.3em;
display: inline-block;
&:before {
&:extend(.font-icon-class);
display: inline;
float: none;
}
&.reply:before {
content: @fa-var-mail-reply;
}
&.reply-all:before {
content: @fa-var-mail-reply-all;
}
&.forward:before {
content: @fa-var-mail-forward;
}
&.delete:before {
content: @fa-var-trash-o;
}
&.markmessage:before {
content: @fa-var-tag;
}
&.more:before {
content: @fa-var-ellipsis-h;
}
&.dropdown:before {
content: @fa-var-caret-down;
}
&.settings:before {
content: @fa-var-cog;
}
&.move:before {
content: @fa-var-arrows;
}
&.print:before {
content: @fa-var-print;
}
&.search:before {
content: @fa-var-search;
}
&.upload:before,
&.import:before {
content: @fa-var-upload;
}
&.download:before,
&.export:before {
content: @fa-var-download;
}
&.compose:before {
content: @fa-var-edit;
}
&.archive:before {
content: @fa-var-archive;
}
&.enigma:before,
&.encrypt:before {
content: @fa-var-lock;
}
&.firstpage:before {
content: @fa-var-fast-backward;
}
&.prevpage:before {
content: @fa-var-backward;
}
&.nextpage:before {
content: @fa-var-forward;
}
&.lastpage:before {
content: @fa-var-fast-forward;
}
&.send:before {
content: @fa-var-paper-plane;
}
&.back:before {
content: @fa-var-arrow-left;
}
&.closewin:before {
content: @fa-var-window-close;
}
&.save:before {
content: @fa-var-floppy-o;
}
&.attach:before {
content: @fa-var-paperclip;
}
&.spellcheck:before {
content: @fa-var-magic; /* TODO */
}
&.signature:before {
content: @fa-var-at; /* TODO */
}
&.responses:before {
content: @fa-var-comment;
}
span.inner {
display: none;
}
}
.dropbutton {
a.button:first-child {
padding-right: 0;
}
a.button.dropdown {
font-size: 70%;
padding-left: 0;
}
}
& > .spacer {
display: inline-block;
width: 1.2em;
}
}
.popupmenu.toolbar.listing {
.dropbutton {
display: flex;
a.button:first-child {
overflow: hidden;
text-overflow: ellipsis;
margin-right: 0.5em;
flex: 1;
}
a.button.dropdown {
font-size: 100%;
cursor: pointer;
&:before {
content: @fa-var-angle-right;
}
span.inner {
display: none;
}
}
}
.spacer {
height: 1px;
display: block;
}
}
.toolbarmenu li {
&.separator {
/* TODO */
}
a {
opacity: 0.5;
&.active {
opacity: 1;
&:hover {
color: @color-toolbarmenu-hover;
background-color: @color-toolbarmenu-hover-background;
}
}
}
&:last-child {
border-bottom: none;
}
a:before {
&:extend(.font-icon-class);
}
a.print:before {
content: @fa-var-print;
}
a.copy:before {
content: @fa-var-copy;
}
a.move:before {
content: @fa-var-arrows;
}
a.source:before {
content: @fa-var-flask;
}
a.download:before {
content: @fa-var-download;
}
a.extwin:before {
content: @fa-var-external-link;
}
a.edit:before {
content: @fa-var-edit; /* TODO: edit.asnew */
}
8 years ago
a.rename:before {
content: @fa-var-pencil; /* TODO: better icon? */
}
a.read:before {
content: @fa-var-star-o;
}
a.unread:before {
content: @fa-var-star;
}
a.flag:before {
content: @fa-var-flag;
}
a.unflag:before {
content: @fa-var-flag-o;
}
a.filterlink:before {
content: @fa-var-filter;
}
}
@media screen and (min-width: (@screen-width-small + 1px)) {
ul.toolbar {
margin: 0;
flex: 1;
text-align: right;
}
ul.toolbar > li {
display: inline-block;
}
}
@media screen and (max-width: @screen-width-small) {
ul.toolbar a.button .inner {
display: inline;
}
}