This repository has been archived by the owner on Dec 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New: Quiz 'Submit all and finish' text and background with hover sett…
…ings.
- Loading branch information
Showing
10 changed files
with
241 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* @group Quiz */ | ||
|
||
body.path-mod-quiz .submitbtns form[action$="processattempt.php"] input[type="submit"] { | ||
color: ~"[[setting:themequizsubmittextcolour]]"; | ||
|
||
text-shadow: none; | ||
background-color: ~"[[setting:themequizsubmitbackgroundcolour]]"; | ||
background-image: -moz-linear-gradient(bottom, ~"[[setting:themequizsubmitbackgroundcolourimage]]", ~"[[setting:themequizsubmitbackgroundcolourrgba]]"); // FF 3.6+ | ||
background-image: -webkit-gradient(linear, 0 100%, 0 0, from(~"[[setting:themequizsubmitbackgroundcolourimage]]"), to(~"[[setting:themequizsubmitbackgroundcolourrgba]]")); // Safari 4+, Chrome 2+ | ||
background-image: -webkit-linear-gradient(bottom, ~"[[setting:themequizsubmitbackgroundcolourimage]]", ~"[[setting:themequizsubmitbackgroundcolourrgba]]"); // Safari 5.1+, Chrome 10+ | ||
background-image: -o-linear-gradient(bottom, ~"[[setting:themequizsubmitbackgroundcolourimage]]", ~"[[setting:themequizsubmitbackgroundcolourrgba]]"); // Opera 11.10 | ||
background-image: linear-gradient(to top, ~"[[setting:themequizsubmitbackgroundcolourimage]]", ~"[[setting:themequizsubmitbackgroundcolourrgba]]"); // Standard, IE10 | ||
|
||
&:hover, &:focus, &:active, &.active, &.disabled, &[disabled] { | ||
color: ~"[[setting:themequizsubmittexthovercolour]]"; | ||
text-shadow: 0 1px 1px rgba(64, 64, 64, .75); | ||
background-color: ~"[[setting:themequizsubmitbackgroundhovercolour]]"; | ||
background-image: -moz-linear-gradient(bottom, ~"[[setting:themequizsubmitbackgroundhovercolourimage]]", ~"[[setting:themequizsubmitbackgroundhovercolourrgba]]"); // FF 3.6+ | ||
background-image: -webkit-gradient(linear, 0 100%, 0 0, from(~"[[setting:themequizsubmitbackgroundhovercolourimage]]"), to(~"[[setting:themequizsubmitbackgroundhovercolourrgba]]")); // Safari 4+, Chrome 2+ | ||
background-image: -webkit-linear-gradient(bottom, ~"[[setting:themequizsubmitbackgroundhovercolourimage]]", ~"[[setting:themequizsubmitbackgroundhovercolourrgba]]"); // Safari 5.1+, Chrome 10+ | ||
background-image: -o-linear-gradient(bottom, ~"[[setting:themequizsubmitbackgroundhovercolourimage]]", ~"[[setting:themequizsubmitbackgroundhovercolourrgba]]"); // Opera 11.10 | ||
background-image: linear-gradient(to top, ~"[[setting:themequizsubmitbackgroundhovercolourimage]]", ~"[[setting:themequizsubmitbackgroundhovercolourrgba]]"); // Standard, IE10 | ||
} | ||
} | ||
|
||
/* @end Quiz */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.