forked from liferay/yui3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish StyleSheet examples: forgot new files.
- Loading branch information
Showing
8 changed files
with
2,171 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,158 @@ | ||
|
||
/* Style for a "Recommendation" */ | ||
|
||
/* | ||
Copyright 1997-2003 W3C (MIT, ERCIM, Keio). All Rights Reserved. | ||
The following software licensing rules apply: | ||
http://www.w3.org/Consortium/Legal/copyright-software */ | ||
|
||
/* $Id: base.css,v 1.25 2006/04/18 08:42:53 bbos Exp $ */ | ||
|
||
body { | ||
padding: 2em 1em 2em 70px; | ||
margin: 0; | ||
font-family: sans-serif; | ||
color: black; | ||
background: white; | ||
background-position: top left; | ||
background-attachment: fixed; | ||
background-repeat: no-repeat; | ||
} | ||
:link { color: #00C; background: transparent } | ||
:visited { color: #609; background: transparent } | ||
a:active { color: #C00; background: transparent } | ||
|
||
a:link img, a:visited img { border-style: none } /* no border on img links */ | ||
|
||
a img { color: white; } /* trick to hide the border in Netscape 4 */ | ||
@media all { /* hide the next rule from Netscape 4 */ | ||
a img { color: inherit; } /* undo the color change above */ | ||
} | ||
|
||
th, td { /* ns 4 */ | ||
font-family: sans-serif; | ||
} | ||
|
||
h1, h2, h3, h4, h5, h6 { text-align: left } | ||
/* background should be transparent, but WebTV has a bug */ | ||
h1, h2, h3 { color: #005A9C; background: white } | ||
h1 { font: 170% sans-serif } | ||
h2 { font: 140% sans-serif } | ||
h3 { font: 120% sans-serif } | ||
h4 { font: bold 100% sans-serif } | ||
h5 { font: italic 100% sans-serif } | ||
h6 { font: small-caps 100% sans-serif } | ||
|
||
.hide { display: none } | ||
|
||
div.head { margin-bottom: 1em } | ||
div.head h1 { margin-top: 2em; clear: both } | ||
div.head table { margin-left: 2em; margin-top: 2em } | ||
|
||
p.copyright { font-size: small } | ||
p.copyright small { font-size: small } | ||
|
||
a:hover { background: #ffa } | ||
|
||
pre { margin-left: 2em } | ||
/* | ||
p { | ||
margin-top: 0.6em; | ||
margin-bottom: 0.6em; | ||
} | ||
*/ | ||
dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */ | ||
dt { font-weight: bold } | ||
|
||
pre, code { font-family: monospace } /* navigator 4 requires this */ | ||
|
||
ul.toc, ol.toc { | ||
list-style: disc; /* Mac NS has problem with 'none' */ | ||
list-style: none; | ||
} | ||
|
||
@media aural { | ||
h1, h2, h3 { stress: 20; richness: 90 } | ||
.hide { speak: none } | ||
p.copyright { volume: x-soft; speech-rate: x-fast } | ||
dt { pause-before: 20% } | ||
pre { speak-punctuation: code } | ||
} | ||
|
||
|
||
|
||
body { | ||
background-image: url(http://www.w3.org/StyleSheets/TR/logo-REC); | ||
} | ||
|
||
/* | ||
* Style sheet for the HTML 4.0 specification | ||
* $Id: default.css,v 1.13 1999/03/08 17:25:02 ijacobs Exp $ | ||
*/ | ||
|
||
div.example { | ||
width: 100%; | ||
color: black; | ||
} | ||
div.dtd-example { | ||
width: 100%; | ||
color: black; | ||
} | ||
tt.example { | ||
color: maroon; | ||
margin-left: 1em; | ||
} | ||
pre { | ||
color: maroon; | ||
margin-left: 1em; | ||
} | ||
div.dtd-fragment { | ||
width: 100%; | ||
border: none; | ||
background-color: #eee; | ||
} | ||
pre.dtd-fragment { | ||
margin-left: 0; | ||
} | ||
pre.dtd { | ||
color: black; | ||
margin-left: 0; | ||
} | ||
div.illegal-example { | ||
width: 100%; | ||
color: red; | ||
border: solid red; | ||
} | ||
div.illegal-example p { | ||
color: black; | ||
} | ||
div.deprecated-example { | ||
width: 100%; | ||
color: red; | ||
border: solid rgb(255,165,0); /* orange */ | ||
} | ||
div.deprecated-example p { | ||
color: black; | ||
} | ||
div.note { | ||
color: green; | ||
margin-left: 1em; | ||
} | ||
p.note { | ||
color: green; | ||
margin-left: 1em; | ||
} | ||
ul.toc { | ||
list-style-type: none; | ||
} | ||
|
||
a.normref { | ||
color : red; | ||
} | ||
|
||
a.informref { | ||
color : green; | ||
} | ||
|
||
DIV.subtoc {padding: 1em; border: solid thin; margin: 1em 0; | ||
background: #ddd} |
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,4 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" class="yui3-loading"> | ||
{{>layout_content}} | ||
</html> |
57 changes: 57 additions & 0 deletions
57
src/stylesheet/docs/partials/stylesheet-theme-css.mustache
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,57 @@ | ||
<style> | ||
/* For supporting browsers, the overlay is rendered semi-transparent with | ||
* fancy rounded corners */ | ||
.yui3-overlay { | ||
background: rgba(128,128,128,0.3); | ||
-moz-border-radius: 10px; | ||
-webkit-border-radius: 10px; | ||
border-radius: 10px; | ||
padding: 7px; | ||
cursor: move; | ||
} | ||
.yui3-overlay-content { | ||
background: rgba(205,205,205,0.3); | ||
-moz-border-radius: 10px; | ||
-webkit-border-radius: 10px; | ||
border-radius: 10px; | ||
padding: 1px; | ||
} | ||
.yui3-overlay form { | ||
background: #f2fbff url(gradient-promo.png) repeat-x scroll 0 0; | ||
border: 2px solid #fff; | ||
-moz-border-radius: 10px; | ||
-webkit-border-radius: 10px; | ||
border-radius: 10px; | ||
margin: 0; | ||
padding: 0; | ||
font-size: 13px; | ||
} | ||
.yui3-overlay fieldset { | ||
border: 1px solid #cde; | ||
-moz-border-radius: 10px; | ||
-webkit-border-radius: 10px; | ||
border-radius: 10px; | ||
margin: 0; | ||
padding: 20px; | ||
} | ||
.yui3-overlay h3 { | ||
border-bottom: 2px solid #fff; | ||
color: #479; | ||
background: transparent; | ||
margin: 0; | ||
font-size: 175%; | ||
} | ||
.yui3-overlay label { | ||
display: block; | ||
margin: 1.3em 0 0.5ex; | ||
font-weight: bold; | ||
color: #003; | ||
} | ||
.yui3-overlay p { | ||
margin: 2em 0 0; | ||
} | ||
/* override the move cursor for the Slider */ | ||
.yui3-overlay .yui3-slider:hover { | ||
cursor: default; | ||
} | ||
</style> |
Oops, something went wrong.