-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: mark deprecated items in module template
- Loading branch information
1 parent
5df07eb
commit 6208865
Showing
2 changed files
with
78 additions
and
73 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,88 +1,93 @@ | ||
.api-section { | ||
position: relative; | ||
|
||
pre { | ||
white-space: pre-wrap; | ||
position: relative; | ||
|
||
pre { | ||
white-space: pre-wrap; | ||
} | ||
|
||
table.api-table { | ||
min-width: 680px; | ||
|
||
thead th { | ||
color: white; | ||
font-size: 16px; | ||
background-color: $pink; | ||
border-radius: 4px 4px 0 0; | ||
text-transform: none; | ||
padding: 8px 24px; | ||
} | ||
|
||
table.api-table { | ||
min-width: 680px; | ||
|
||
thead th { | ||
color: white; | ||
font-size: 16px; | ||
background-color: $pink; | ||
border-radius: 4px 4px 0 0; | ||
text-transform: none; | ||
padding: 8px 24px; | ||
} | ||
|
||
tbody { | ||
pre { | ||
white-space: normal; | ||
margin: 4px; | ||
padding: 4px 16px; | ||
} | ||
|
||
td, th { | ||
padding: 0; | ||
} | ||
|
||
th { | ||
max-width: 150px; | ||
} | ||
} | ||
|
||
tbody { | ||
pre { | ||
white-space: normal; | ||
margin: 4px; | ||
padding: 4px 16px; | ||
} | ||
|
||
td, | ||
th { | ||
padding: 0; | ||
} | ||
|
||
th { | ||
max-width: 150px; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.api-body { | ||
max-width: 1200px; | ||
|
||
max-width: 1200px; | ||
|
||
table { | ||
|
||
th { | ||
text-transform: none; | ||
font-size: 16px; | ||
font-weight: bold; | ||
} | ||
|
||
tr { | ||
border-bottom: 1px solid $lightgray; | ||
} | ||
|
||
td { | ||
vertical-align: middle; | ||
} | ||
table { | ||
th { | ||
text-transform: none; | ||
font-size: 16px; | ||
font-weight: bold; | ||
} | ||
|
||
hr { | ||
margin: 16px 0; | ||
} | ||
tr { | ||
border-bottom: 1px solid $lightgray; | ||
} | ||
|
||
tr:last-child { | ||
border-bottom: none; | ||
} | ||
td { | ||
vertical-align: middle; | ||
} | ||
|
||
&.item-table { | ||
td { | ||
padding: 32px; | ||
} | ||
} | ||
hr { | ||
margin: 16px 0; | ||
} | ||
|
||
&.list-table { | ||
td { | ||
padding: 16px 24px; | ||
} | ||
} | ||
tr:last-child { | ||
border-bottom: none; | ||
} | ||
|
||
/* used to target the short description */ | ||
> p:nth-child(2) { | ||
border-left: 5px solid $pink; | ||
font-size: 1rem; | ||
line-height: 1.25; | ||
padding-left: .5rem; | ||
&.item-table { | ||
td { | ||
padding: 32px; | ||
} | ||
} | ||
|
||
&.list-table { | ||
td { | ||
padding: 16px 24px; | ||
} | ||
} | ||
} | ||
|
||
/* used to target the short description */ | ||
> p:nth-child(2) { | ||
border-left: 5px solid $pink; | ||
font-size: 1rem; | ||
line-height: 1.25; | ||
padding-left: 0.5rem; | ||
} | ||
|
||
.export-list { | ||
a { | ||
&.deprecated { | ||
text-decoration: line-through; | ||
} | ||
} | ||
} | ||
} | ||
} |
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