Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Commit

Permalink
V2.9.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Jul 11, 2015
1 parent 3632aee commit 83ea5da
Show file tree
Hide file tree
Showing 17 changed files with 456 additions and 182 deletions.
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ can be really useful in visualising the issue along with any files you consider
New in 2.9.0.5
==============
- FIX: Forum submit area background colour for alternative colours.
- FIX: More navbar and breadcrumb colour fixes.
- FIX: More navbar, breadcrumb and block colour fixes.
- NEW: Added new user preference link to 'Preferences' sub-menu.
- NEW: Added alternative icon color setting.

Expand Down
80 changes: 57 additions & 23 deletions less/essential/alternative/alternative1.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@
color: inherit;
}
&:hover, &:focus {
color: ~"[[setting:alternativethemecolor1]]";
color: ~"[[setting:alternativethemenavcolor1]]";
}
}
&:after {
border-left: 30px solid ~"[[setting:alternativethemecolor1]]";;
}
&:hover {
color: ~"[[setting:alternativethemecolor1]]";
background-color: ~"[[setting:alternativethemenavcolor1]]";
color: ~"[[setting:alternativethemenavcolor1]]";
background-color: ~"[[setting:alternativethemehovercolor1]]";
}
&:hover:after {
border-left-color: ~"[[setting:alternativethemenavcolor1]]";
border-left-color: ~"[[setting:alternativethemehovercolor1]]";
}
&:first-of-type {
&:hover, &:focus {
a:before {
color: ~"[[setting:alternativethemecolor1]]";
color: ~"[[setting:alternativethemenavcolor1]]";
}
}
}
Expand Down Expand Up @@ -84,9 +84,12 @@
}

#page-header {
h1#title, #headerlogo {
h1#title {
color: ~"[[setting:alternativethemecolor1]]";
}
#headerlogo {
color: ~"[[setting:alternativethemeiconcolor1]]";
}
}

#headerlogo {
Expand All @@ -98,8 +101,8 @@
color: ~"[[setting:alternativethemenavcolor1]]";
background-color: ~"[[setting:alternativethemecolor1]]";
&:hover {
color: ~"[[setting:alternativethemecolor1]]";
background-color: ~"[[setting:alternativethemenavcolor1]]";
color: ~"[[setting:alternativethemenavcolor1]]";
background-color: ~"[[setting:alternativethemehovercolor1]]";
}
}
}
Expand All @@ -122,7 +125,7 @@
.nav > li > a {
color: ~"[[setting:alternativethemenavcolor1]]";
i {
color: ~"[[setting:alternativethemenavcolor1]]";
color: inherit;
}
&:hover {
background-color: ~"[[setting:alternativethemehovercolor1]]";
Expand All @@ -135,7 +138,7 @@
color: ~"[[setting:alternativethemenavcolor1]]";
border-left-color: ~"[[setting:alternativethemecolor1]]";
i {
color: ~"[[setting:alternativethemenavcolor1]]";
color: inherit;
}
&:hover {
color: ~"[[setting:alternativethemenavcolor1]]";
Expand All @@ -153,11 +156,11 @@
color: ~"[[setting:alternativethemenavcolor1]]";
background-color: ~"[[setting:alternativethemecolor1]]";
i {
color: ~"[[setting:alternativethemenavcolor1]]";
color: ~"[[setting:alternativethemeiconcolor1]]";
}
}
i {
color: ~"[[setting:alternativethemecolor1]]";
color: ~"[[setting:alternativethemeiconcolor1]]";
}
}
li.dropdown-submenu:hover > a {
Expand Down Expand Up @@ -194,7 +197,7 @@
color: ~"[[setting:alternativethemenavcolor1]]";
background-color: ~"[[setting:alternativethemehovercolor1]]";
i {
color: ~"[[setting:alternativethemenavcolor1]]";
color: ~"[[setting:alternativethemeiconcolor1]]";
}
}
}
Expand Down Expand Up @@ -303,7 +306,7 @@
.header .title h2 {
color: ~"[[setting:alternativethemetextcolor1]]";
&:before {
color: ~"[[setting:alternativethemecolor1]]";
color: ~"[[setting:alternativethemeiconcolor1]]";
}
}
.icon {
Expand Down Expand Up @@ -334,7 +337,7 @@
}

.service i {
color: ~"[[setting:alternativethemecolor1]]";
color: ~"[[setting:alternativethemeiconcolor1]]";
}

#page-footer {
Expand All @@ -360,10 +363,42 @@
background-color: ~"[[setting:alternativethemecolor1]]";
}

.tree_item.branch {
color: ~"[[setting:alternativethemeurlcolor1]]";
&:before {
color: ~"[[setting:alternativethemeiconcolor1]]";
p.tree_item {
&.leaf a {
> i {
color: ~"[[setting:alternativethemeiconcolor1]]";
}
&:hover, &:focus {
color: ~"[[setting:alternativethemehovercolor1]]";
> i {
color: inherit;
}
}
}
&.branch {
color: ~"[[setting:alternativethemeurlcolor1]]";
&:before {
color: ~"[[setting:alternativethemeiconcolor1]]";
}
&:hover, &:focus {
color: ~"[[setting:alternativethemehovercolor1]]";
&:before {
color: inherit;
}
a {
color: inherit;
}
}
&.emptybranch {
&:before {
color: ~"[[setting:alternativethemeiconcolor1]]";
}
&:hover, &:focus {
&:before {
color: ~"[[setting:alternativethemehovercolor1]]";
}
}
}
}
}

Expand All @@ -372,7 +407,7 @@
}

.afmatter i {
color: ~"[[setting:alternativethemecolor1]]";
color: ~"[[setting:alternativethemeiconcolor1]]";
}

.myprofileitem.picture:hover {
Expand Down Expand Up @@ -482,11 +517,10 @@
color: ~"[[setting:alternativethemeurlcolor1]]";
}
.menu a.menu-action,
p.tree_item.leaf a,
.course-item-actions a,
.actions a {
> i {
color: ~"[[setting:alternativethemecolor1]]";
color: ~"[[setting:alternativethemeiconcolor1]]";
}
&:hover {
> i {
Expand Down Expand Up @@ -548,7 +582,7 @@
.dropdown-menu > li > a:visited {
color: ~"[[setting:alternativethemenavcolor1]]";
i {
color: ~"[[setting:alternativethemecolor1]]";
color: inherit;
background-color: ~"[[setting:alternativethemenavcolor1]]";
border: 1px solid ~"[[setting:alternativethemenavcolor1]]";
border-radius: 3px;
Expand Down
81 changes: 57 additions & 24 deletions less/essential/alternative/alternative2.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@
color: inherit;
}
&:hover, &:focus {
color: ~"[[setting:alternativethemecolor2]]";
color: ~"[[setting:alternativethemenavcolor2]]";
}
}
&:after {
border-left: 30px solid ~"[[setting:alternativethemecolor2]]";;
}
&:hover {
color: ~"[[setting:alternativethemecolor2]]";
background-color: ~"[[setting:alternativethemenavcolor2]]";
color: ~"[[setting:alternativethemenavcolor2]]";
background-color: ~"[[setting:alternativethemehovercolor2]]";
}
&:hover:after {
border-left-color: ~"[[setting:alternativethemenavcolor2]]";
border-left-color: ~"[[setting:alternativethemehovercolor2]]";
}
&:first-of-type {
&:hover, &:focus {
a:before {
color: ~"[[setting:alternativethemecolor2]]";
color: ~"[[setting:alternativethemenavcolor2]]";
}
}
}
Expand Down Expand Up @@ -84,9 +84,12 @@
}

#page-header {
h1#title, #headerlogo {
h1#title {
color: ~"[[setting:alternativethemecolor2]]";
}
#headerlogo {
color: ~"[[setting:alternativethemeiconcolor2]]";
}
}

#headerlogo {
Expand All @@ -98,8 +101,8 @@
color: ~"[[setting:alternativethemenavcolor2]]";
background-color: ~"[[setting:alternativethemecolor2]]";
&:hover {
color: ~"[[setting:alternativethemecolor2]]";
background-color: ~"[[setting:alternativethemenavcolor2]]";
color: ~"[[setting:alternativethemenavcolor2]]";
background-color: ~"[[setting:alternativethemehovercolor2]]";
}
}
}
Expand All @@ -122,7 +125,7 @@
.nav > li > a {
color: ~"[[setting:alternativethemenavcolor2]]";
i {
color: ~"[[setting:alternativethemenavcolor2]]";
color: inherit;
}
&:hover {
background-color: ~"[[setting:alternativethemehovercolor2]]";
Expand All @@ -135,7 +138,7 @@
color: ~"[[setting:alternativethemenavcolor2]]";
border-left-color: ~"[[setting:alternativethemecolor2]]";
i {
color: ~"[[setting:alternativethemenavcolor2]]";
color: inherit;
}
&:hover {
color: ~"[[setting:alternativethemenavcolor2]]";
Expand All @@ -153,11 +156,11 @@
color: ~"[[setting:alternativethemenavcolor2]]";
background-color: ~"[[setting:alternativethemecolor2]]";
i {
color: ~"[[setting:alternativethemenavcolor2]]";
color: ~"[[setting:alternativethemeiconcolor2]]";
}
}
i {
color: ~"[[setting:alternativethemecolor2]]";
color: ~"[[setting:alternativethemeiconcolor2]]";
}
}
li.dropdown-submenu:hover > a {
Expand Down Expand Up @@ -194,12 +197,11 @@
color: ~"[[setting:alternativethemenavcolor2]]";
background-color: ~"[[setting:alternativethemehovercolor2]]";
i {
color: ~"[[setting:alternativethemenavcolor2]]";
color: ~"[[setting:alternativethemeiconcolor2]]";
}
}
}
}

.nav > li > a {
border-left-color: ~"[[setting:alternativethemehovercolor2]]";
}
Expand Down Expand Up @@ -304,7 +306,7 @@
.header .title h2 {
color: ~"[[setting:alternativethemetextcolor2]]";
&:before {
color: ~"[[setting:alternativethemecolor2]]";
color: ~"[[setting:alternativethemeiconcolor2]]";
}
}
.icon {
Expand Down Expand Up @@ -335,7 +337,7 @@
}

.service i {
color: ~"[[setting:alternativethemecolor2]]";
color: ~"[[setting:alternativethemeiconcolor2]]";
}

#page-footer {
Expand All @@ -361,10 +363,42 @@
background-color: ~"[[setting:alternativethemecolor2]]";
}

.tree_item.branch {
color: ~"[[setting:alternativethemeurlcolor2]]";
&:before {
color: ~"[[setting:alternativethemeiconcolor2]]";
p.tree_item {
&.leaf a {
> i {
color: ~"[[setting:alternativethemeiconcolor2]]";
}
&:hover, &:focus {
color: ~"[[setting:alternativethemehovercolor2]]";
> i {
color: inherit;
}
}
}
&.branch {
color: ~"[[setting:alternativethemeurlcolor2]]";
&:before {
color: ~"[[setting:alternativethemeiconcolor2]]";
}
&:hover, &:focus {
color: ~"[[setting:alternativethemehovercolor2]]";
&:before {
color: inherit;
}
a {
color: inherit;
}
}
&.emptybranch {
&:before {
color: ~"[[setting:alternativethemeiconcolor2]]";
}
&:hover, &:focus {
&:before {
color: ~"[[setting:alternativethemehovercolor2]]";
}
}
}
}
}

Expand All @@ -373,7 +407,7 @@
}

.afmatter i {
color: ~"[[setting:alternativethemecolor2]]";
color: ~"[[setting:alternativethemeiconcolor2]]";
}

.myprofileitem.picture:hover {
Expand Down Expand Up @@ -483,11 +517,10 @@
color: ~"[[setting:alternativethemeurlcolor2]]";
}
.menu a.menu-action,
p.tree_item.leaf a,
.course-item-actions a,
.actions a {
> i {
color: ~"[[setting:alternativethemecolor2]]";
color: ~"[[setting:alternativethemeiconcolor2]]";
}
&:hover {
> i {
Expand Down Expand Up @@ -549,7 +582,7 @@
.dropdown-menu > li > a:visited {
color: ~"[[setting:alternativethemenavcolor2]]";
i {
color: ~"[[setting:alternativethemecolor2]]";
color: inherit;
background-color: ~"[[setting:alternativethemenavcolor2]]";
border: 1px solid ~"[[setting:alternativethemenavcolor2]]";
border-radius: 3px;
Expand Down
Loading

0 comments on commit 83ea5da

Please sign in to comment.