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

Commit

Permalink
Fix #5 and include mixing in Essentials for further future optimizati…
Browse files Browse the repository at this point in the history
…on (Essential bootswatch maybe?)
  • Loading branch information
David Bezemer committed Aug 11, 2014
1 parent 1abcb60 commit 4afabf6
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 15 deletions.
4 changes: 4 additions & 0 deletions less/alternative.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

// Import the bootstrap variables and mixins
@import "bootstrap/variables";
@import "bootstrap/mixins";

// Import the essential variables
@import "essential/variables";

Expand Down
3 changes: 2 additions & 1 deletion less/essential.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

// Import the bootstrap variables
// Import the bootstrap variables and mixins
@import "bootstrap/variables";
@import "bootstrap/mixins";

// Import the essential variables
@import "essential/variables";
Expand Down
4 changes: 2 additions & 2 deletions less/essential/alternative/alternative1.less
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ body.essential-colours-alternative1 {
// Caption for text below images.
.carousel-caption {
background-color: ~"[[setting:alternativethemecolor1]]";
opacity: 0.75;
.opacity(.75);
h4, p {
color: #eee; // TODO in settings.
}
Expand All @@ -219,7 +219,7 @@ body.essential-colours-alternative1 {
.carousel-indicators {
li {
background: ~"[[setting:alternativethemecolor1]]";
opacity: 0.75;
.opacity(.75);
}
.active {
background-color: ~"[[setting:alternativethemehovercolor1]]";
Expand Down
4 changes: 2 additions & 2 deletions less/essential/alternative/alternative2.less
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ body.essential-colours-alternative2 {
// Caption for text below images.
.carousel-caption {
background-color: ~"[[setting:alternativethemecolor2]]";
opacity: 0.75;
.opacity(.75);
h4, p {
color: #eee; // TODO in settings.
}
Expand All @@ -220,7 +220,7 @@ body.essential-colours-alternative2 {
.carousel-indicators {
li {
background: ~"[[setting:alternativethemecolor2]]";
opacity: 0.75;
.opacity(.75);
}
.active {
background-color: ~"[[setting:alternativethemehovercolor2]]";
Expand Down
4 changes: 2 additions & 2 deletions less/essential/alternative/alternative3.less
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ body.essential-colours-alternative3 {
// Caption for text below images.
.carousel-caption {
background-color: ~"[[setting:alternativethemecolor3]]";
opacity: 0.75;
.opacity(.75);
h4, p {
color: #eee; // TODO in settings.
}
Expand All @@ -220,7 +220,7 @@ body.essential-colours-alternative3 {
.carousel-indicators {
li {
background: ~"[[setting:alternativethemecolor3]]";
opacity: 0.75;
.opacity(.75);
}
.active {
background-color: ~"[[setting:alternativethemehovercolor3]]";
Expand Down
5 changes: 2 additions & 3 deletions less/moodle/course.less
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@

.dimmed {
img.activityicon {
opacity: 0.5;
filter: alpha(opacity=50);
.opacity(.5);
}
}
}
Expand Down Expand Up @@ -317,7 +316,7 @@
margin-top: 0;
}
.course-content ul li.section.hidden {
opacity: 0.5;
.opacity(.5);
}
.course-content ul.topics li.section .content,
.course-content ul.weeks li.section .content {
Expand Down
2 changes: 1 addition & 1 deletion less/moodle/filemanager.less
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
}

.fp-viewbar.disabled a {
opacity: .45;
.opacity(.45);
background: none;
cursor: default;
}
Expand Down
2 changes: 1 addition & 1 deletion style/alternative.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion style/essential-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion style/essential.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion style/moodle.css

Large diffs are not rendered by default.

1 comment on commit 4afabf6

@gjb2048
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Please sign in to comment.