Elastic: Simplified some css rules

This commit is contained in:
Aleksander Machniak 2019-03-26 09:49:04 +01:00
parent e13bdd55a7
commit a99b0de248
4 changed files with 20 additions and 24 deletions

View file

@ -21,7 +21,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
.menu.listing li { .menu {
a.calendarlink:before { a.calendarlink:before {
.font-icon-regular(@fa-var-calendar); .font-icon-regular(@fa-var-calendar);
} }
@ -36,12 +36,14 @@
content: @fa-var-cube; content: @fa-var-cube;
} }
a.button.today:before { a.button {
.font-icon-regular(@fa-var-calendar); &.today:before {
} .font-icon-regular(@fa-var-calendar);
}
a.button.date:before { &.date:before {
.font-icon-regular(@fa-var-calendar-alt); .font-icon-regular(@fa-var-calendar-alt);
}
} }
.listing { .listing {

View file

@ -21,7 +21,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
.menu.listing li { .menu {
a.tags:before { a.tags:before {
content: @fa-var-tags; content: @fa-var-tags;
} }
@ -36,6 +36,7 @@
#taglist { #taglist {
li { li {
padding: 0 .5rem; padding: 0 .5rem;
&:before { &:before {
&:extend(.font-icon-class); &:extend(.font-icon-class);
content: @fa-var-tag; content: @fa-var-tag;

View file

@ -22,7 +22,7 @@
*/ */
.menu li { .menu {
a.tasklist:before, a.tasklist:before,
a.tasklistlink:before, a.tasklistlink:before,
a.taskaddlink:before { a.taskaddlink:before {

View file

@ -279,8 +279,8 @@ html.touch .listing {
} }
} }
.menu.listing li { .menu {
&.search { li.search {
padding: .25rem .5rem; padding: .25rem .5rem;
.input-group { .input-group {
@ -300,12 +300,13 @@ html.touch .listing {
} }
} }
a.history { button.btn {
&:before { &.save.notify:before {
&:extend(.font-icon-class); content: @fa-var-envelope;
content: @fa-var-history; }
display: inline;
float: none; &.print:before {
content: @fa-var-print;
} }
} }
@ -375,14 +376,6 @@ a.history {
} }
} }
button.btn.save.notify:before {
content: @fa-var-envelope;
}
button.btn.print:before {
content: @fa-var-print;
}
.formcontent.text-only .faded * { .formcontent.text-only .faded * {
color: @color-black-shade-text; color: @color-black-shade-text;
} }