-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move respec-complement.css to custom and shadow (#502)
- Loading branch information
Showing
6 changed files
with
48 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
index.html?specStatus=WD;shortName=custom-elements;useExperimentalStyles=false respec | ||
custom-element-reactions.svg | ||
respec-complement.css | ||
|
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,44 @@ | ||
/* | ||
* From https://resources.whatwg.org/standard.css | ||
* Styles used in https://resources.whatwg.org/dfn.js | ||
*/ | ||
body.dfnEnabled dfn { cursor: pointer; } | ||
.dfnPanel { | ||
display: inline; | ||
position: absolute; | ||
z-index: 35; | ||
height: auto; | ||
width: auto; | ||
padding: 0.5em 0.75em; | ||
font: small Helvetica Neue, sans-serif, Droid Sans Fallback; | ||
background: #DDDDDD; | ||
color: black; | ||
border: outset 0.2em; | ||
} | ||
.dfnPanel * { margin: 0; padding: 0; font: inherit; text-indent: 0; } | ||
.dfnPanel :link, .dfnPanel :visited { color: black; } | ||
.dfnPanel p:not(.spec-link) { font-weight: bolder; } | ||
.dfnPanel * + p { margin-top: 0.25em; } | ||
.dfnPanel li { list-style-position: inside; } | ||
|
||
/* Additional fixes */ | ||
.dfnPanel a[href] { border-bottom: none; } | ||
.dfnPanel a[href]:hover { border-bottom: 1px solid #707070; } | ||
|
||
/* | ||
* From https://resources.whatwg.org/standard.css | ||
*/ | ||
.brief { margin-top: 1em; margin-bottom: 1em; line-height: 1.1; } | ||
.brief > li { margin: 0; padding: 0; } | ||
.brief > li > p, .brief > li > ol, .brief > li > ul, .brief > li > dl { | ||
margin-top: 0; | ||
margin-bottom: 0; | ||
padding-top: 0; | ||
padding-bottom: 0; | ||
} | ||
|
||
/* | ||
* From https://resources.whatwg.org/standard.css | ||
*/ | ||
.element { background: #EEFFEE; color: black; margin: 0 0 1em -0.15em; padding: 0 1em 0.25em 1em; } | ||
.element:not(:hover) > dt > :link, .element:not(:hover) > dt > :visited { color: inherit; text-decoration: none; } |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
index.html?specStatus=WD;shortName=shadow-dom respec | ||
respec-complement.css |
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