Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvement: fontawesome, next part of icons #1418

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion css/style.css

Large diffs are not rendered by default.

129 changes: 109 additions & 20 deletions css/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -1055,6 +1055,25 @@ li.lms-ui-suggestion-item {
}
}

.lms-ui-icon-noaccess {
.fa-icon;
.far;
.lms-ui-icon;
&:before {
content: @fa-var-times;
color:red;
}
}

.lms-ui-icon-division {
.fa-icon;
.far;
.lms-ui-icon;
&:before {
content: @fa-var-building;
}
}

.lms-ui-icon-options,
.lms-ui-icon-option {
.fa-icon;
Expand Down Expand Up @@ -1172,6 +1191,7 @@ li.lms-ui-suggestion-item {
}

.lms-ui-icon-fileupload,
.lms-ui-icon-attach,
.lms-ui-icon-upload {
.fa-icon;
.fas;
Expand Down Expand Up @@ -1344,6 +1364,16 @@ li.lms-ui-suggestion-item {
}
}

.lms-ui-icon-count {
.fa-icon;
.fas;
.lms-ui-icon;
&:before {
content: @fa-var-calculator;
color: dimgrey;
}
}

.lms-ui-icon-unread {
.fa-icon;
.fas;
Expand Down Expand Up @@ -1439,6 +1469,17 @@ li.lms-ui-suggestion-item {
content: @fa-var-toggle-on;
}
}

.lms-ui-icon-error {
.fa-icon;
.fas;
.lms-ui-icon;
&:before {
color: red;
content: @fa-var-exclamation-circle;
}
}

.lms-ui-icon-plug {
.fa-icon;
.fas;
Expand All @@ -1461,9 +1502,7 @@ li.lms-ui-suggestion-item {
.fa-icon;
.fas;
.lms-ui-icon;
-webkit-transform: rotate(180deg); /* to support Safari and Android browser */
-ms-transform: rotate(180deg); /* to support IE 9 */
transform: rotate(180deg);
.rotate-180;
&:before {
content: @fa-var-toggle-on;
color: darkorange;
Expand All @@ -1479,6 +1518,15 @@ li.lms-ui-suggestion-item {
}
}

.lms-ui-icon-permissions {
.fa-icon;
.fas;
.lms-ui-icon;
&:before {
content: @fa-var-gavel;
}
}

.lms-ui-icon-verifier {
.fa-icon;
.fas;
Expand All @@ -1488,6 +1536,16 @@ li.lms-ui-suggestion-item {
}
}

.lms-ui-icon-help {
.fa-icon;
.fas;
.lms-ui-icon;
&:before {
content: @fa-var-hands-helping;
color: green;
}
}

.lms-ui-icon-deadline {
.fa-icon;
.fas;
Expand All @@ -1507,7 +1565,8 @@ li.lms-ui-suggestion-item {
}
}

.lms-ui-icon-uptime {
.lms-ui-icon-uptime,
.lms-ui-icon-time {
.fa-icon;
.fas;
.lms-ui-icon;
Expand All @@ -1517,11 +1576,6 @@ li.lms-ui-suggestion-item {
}
}

.lms-ui-icon-content {
width: 2em;
text-align: center;
}

.lms-ui-icon-categories {
.fa-icon;
.fas;
Expand All @@ -1546,7 +1600,7 @@ li.lms-ui-suggestion-item {
.fas;
.lms-ui-icon;
&:before {
content: @fa-var-audio-description;
content: @fa-var-info-circle;
color: darkslateblue;
}
}
Expand Down Expand Up @@ -1579,6 +1633,7 @@ li.lms-ui-suggestion-item {
.lms-ui-icon;
&:before {
content: @fa-var-hdd;
color: mediumslateblue;
}
}

Expand Down Expand Up @@ -1634,16 +1689,6 @@ li.lms-ui-suggestion-item {
}
}

.lms-ui-icon-netdev {
.fa-icon;
.fas;
.lms-ui-icon;
&:before {
color: mediumslateblue;
content: @fa-var-hdd;
}
}

.lms-ui-icon-subject {
.fa-icon;
.fas;
Expand Down Expand Up @@ -1978,6 +2023,16 @@ li.lms-ui-suggestion-item {
}
}

.lms-ui-icon-notification {
.fa-icon;
.fas;
.lms-ui-icon;
&:before {
color: darkred;
content: @fa-var-crow;
}
}

.lms-ui-icon-documentation {
.fa-icon;
.fas;
Expand All @@ -1998,6 +2053,16 @@ li.lms-ui-suggestion-item {
}
}

.lms-ui-icon-login {
.fa-icon;
.fas;
.lms-ui-icon;
&:before {
color: darkred;
content: @fa-var-male;
}
}

button,a,div {
&.lms-ui-button-netnode {
& > i {
Expand Down Expand Up @@ -2417,6 +2482,23 @@ table.lmsbox.lms-ui-background-cycle > tbody tr {
}
}

.lmsbox .lms-ui-box-cell {
display: flex;
align-items: center;
}
.lmsbox .lms-ui-box-cell > :not(:last-child) {
margin-right: 0.5em;
}

.lmsbox .lms-ui-box-cell > *:first-child {
text-align: center;
width: 4em;
}

.lmsbox .lms-ui-box-cell > *:not(:first-child) {
text-align: left;
}

.lms-ui-rtmessage-deleted {
&.light {
background-color: @red-light;
Expand Down Expand Up @@ -2634,6 +2716,13 @@ td.multiselect {
writing-mode: lr-tb;
}

.rotate-180 {
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-o-transform: rotate(180deg);
writing-mode: lr-tb;
}

/*
jQuery-UI
*/
Expand Down
12 changes: 6 additions & 6 deletions templates/default/account/accountadd.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <H1>{$layout.pagetitle}</H1>
<THEAD>
<TR>
<TD width="1%">
<img src="img/account.gif" alt="">
<i class="lms-ui-icon-login"></i>
</TD>
<TD width="1%">
<B>{trans("Login:")}</B>
Expand Down Expand Up @@ -53,7 +53,7 @@ <H1>{$layout.pagetitle}</H1>
</TR>
<TR>
<TD width="1%">
<img src="img/customer.gif" alt="">
<i class="lms-ui-icon-customer"></i>
</TD>
<TD width="1%">
<B>{trans("Owner:")}</B>
Expand All @@ -80,7 +80,7 @@ <H1>{$layout.pagetitle}</H1>
</TR>
<TR>
<TD width="1%">
<img src="img/home.gif" alt="">
<i class="lms-ui-icon-location"></i>
</TD>
<TD width="1%" nowrap>
<B>{trans("Homedir:")}</B>
Expand All @@ -91,7 +91,7 @@ <H1>{$layout.pagetitle}</H1>
</TR>
<TR>
<TD width="1%">
<img src="img/calendar.gif" alt="">
<i class="lms-ui-icon-timetable"></i>
</TD>
<TD width="1%" nowrap>
<B>{trans("Expiration date:")}</B>
Expand Down Expand Up @@ -150,7 +150,7 @@ <H1>{$layout.pagetitle}</H1>
<TABLE width="100%" cellpadding="3">
<TR>
<TD width="1%">
<img src="img/account.gif" alt="">
<i class="lms-ui-icon-login"></i>
</TD>
<TD width="1%">
<B>{trans("Type/Quota:")}</B>
Expand All @@ -173,7 +173,7 @@ <H1>{$layout.pagetitle}</H1>
</TR>
<TR>
<TD width="1%">
<img src="img/info.gif" alt="">
<i class="lms-ui-icon-description"></i>
</TD>
<TD width="19%" colspan="2">
<textarea name="account[description]" rows="5" cols="50" {tip text="Enter additional information (optional)"}>{$account.description}</textarea>
Expand Down
12 changes: 6 additions & 6 deletions templates/default/account/accountedit.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <H1>{$layout.pagetitle}</H1>
<THEAD>
<TR>
<TD width="1%">
<img src="img/account.gif" alt="">
<i class="lms-ui-icon-login"></i>
</TD>
<TD width="1%">
<B>{trans("Login:")}</B>
Expand Down Expand Up @@ -53,7 +53,7 @@ <H1>{$layout.pagetitle}</H1>
</TR>
<TR>
<TD width="1%">
<img src="img/customer.gif" alt="">
<i class="lms-ui-icon-customer"></i>
</TD>
<TD width="1%">
<B>{trans("Owner:")}</B>
Expand All @@ -80,7 +80,7 @@ <H1>{$layout.pagetitle}</H1>
</TR>
<TR>
<TD width="1%">
<img src="img/home.gif" alt="">
<i class="lms-ui-icon-location"></i>
</TD>
<TD width="1%" nowrap>
<B>{trans("Homedir:")}</B>
Expand All @@ -91,7 +91,7 @@ <H1>{$layout.pagetitle}</H1>
</TR>
<TR>
<TD width="1%">
<img src="img/calendar.gif" alt="">
<i class="lms-ui-icon-timetable"></i>
</TD>
<TD width="1%" nowrap>
<B>{trans("Expiration date:")}</B>
Expand Down Expand Up @@ -128,7 +128,7 @@ <H1>{$layout.pagetitle}</H1>
<TABLE width="100%" cellpadding="3">
<TR>
<TD width="1%">
<img src="img/account.gif" alt="">
<i class="lms-ui-icon-login"></i>
</TD>
<TD width="1%">
<B>{trans("Type/Quota:")}</B>
Expand All @@ -151,7 +151,7 @@ <H1>{$layout.pagetitle}</H1>
</TR>
<TR>
<TD width="1%">
<img src="img/info.gif" alt="">
<i class="lms-ui-icon-description"></i>
</TD>
<TD width="99%" colspan="2">
<textarea name="account[description]" rows="5" cols="50" {tip text="Enter additional information (optional)"}>{$account.description}</textarea>
Expand Down
Loading