Skip to content

Commit

Permalink
Item12192: color tweaks, jqbutton margins
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/branches/Release01x01@15778 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
ArthurClemens authored and ArthurClemens committed Oct 29, 2012
1 parent 60ca800 commit b635594
Show file tree
Hide file tree
Showing 4 changed files with 1,875 additions and 1,286 deletions.
30 changes: 18 additions & 12 deletions PatternSkin/data/System/PatternSkinElements.txt
Expand Up @@ -431,24 +431,30 @@ Using =%<nop>BUTTON{}%=
}% %CLEAR%</div>

=%<nop>BUTTON{class="simple"}%= %BR%
%BUTTON{"Simple button" class="simple"}%
%BUTTON{"Simple button" class="simple"}%%BUTTON{"Simple button" class="simple"}%

=%<nop>BUTTON{class="cyan"}%= %BR%
%BUTTON{"Simple button" class="cyan"}%
%BUTTON{"Cyan button" class="cyan"}%

=%<nop>BUTTON{class="red"}%= %BR%
%BUTTON{"Simple button" class="red"}%
%BUTTON{"Red button" class="red"}%

=%<nop>BUTTON{class="green"}%= %BR%
%BUTTON{"Simple button" class="green"}%

%BUTTON{"%MAKETEXT{"OK"}%" icon="tick" onclick="alert($(this).text());"}%
%BUTTON{"%MAKETEXT{"Cancel"}%" icon="cross" onclick="alert($(this).text());"}%
%BUTTON{"%MAKETEXT{"Info"}%" icon="information" onclick="alert($(this).text());"}%
%BUTTON{"%MAKETEXT{"Add"}%" icon="add" onclick="alert($(this).text());"}%
%BUTTON{"%MAKETEXT{"Delete"}%" icon="delete" onclick="alert($(this).text());"}%
%BUTTON{"%MAKETEXT{"Globe"}%" icon="world_key" onclick="alert('foo')"}%
<div class='clear'></div>
%BUTTON{"Green button" class="green"}%

%BUTTON{
"%MAKETEXT{"OK"}%" icon="tick" onclick="alert($(this).text());"
}%%BUTTON{
"%MAKETEXT{"Cancel"}%" icon="cross" onclick="alert($(this).text());"
}%%BUTTON{
"%MAKETEXT{"Info"}%" icon="information" onclick="alert($(this).text());"
}%%BUTTON{
"%MAKETEXT{"Add"}%" icon="add" onclick="alert($(this).text());"
}%%BUTTON{
"%MAKETEXT{"Delete"}%" icon="delete" onclick="alert($(this).text());"
}%%BUTTON{
"%MAKETEXT{"Globe"}%" icon="world_key" onclick="alert('foo')"
}%

---++ Re-created jQuery buttons
=.jqButton=
Expand Down
35 changes: 9 additions & 26 deletions PatternSkin/pub/System/PatternSkinTheme/colors_src.css
Expand Up @@ -76,36 +76,19 @@ h2, h3, h4, h5, h6 {
}

/* to override old Render.pm coded font color style */
:link:focus,
:visited:focus,
:link,
:visited,
:link:active,
:visited:active {
color:#06c;
background-color:transparent;
}
:link:hover,
:visited:hover {
color:#06c;
background-color:transparent;
background-image:none;
}
:link:hover img,
:visited:hover img {
background-color:transparent;
a,
.foswikiUnvisited a,
.foswikiUnvisited a:visited {
color: #06c;
text-decoration: none;
cursor: pointer;
}
a:visited {
color:#4c94db;
color: #4c94db;
}
a:hover {
color:#06c;
}
.foswikiUnvisited a:visited {
color:#06c;
}
.foswikiUnvisited a:hover {
color:#06c;
color: #06c;
text-decoration: underline;
}

/* Form elements */
Expand Down

0 comments on commit b635594

Please sign in to comment.