Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*** Overall page ***/
- body {
- font-size: 11px /* IDEInspectorBasicStringProperty.xib */;
- /* Prevent the user from selecting most of the page. */
- -webkit-user-select: none; user-select: none;
- }
- /*** Common elements ***/
- p {
- margin: 0;
- margin-bottom: 5px;
- }
- p:last-child {
- margin-bottom: 0;
- }
- pre, code {
- font-size: 11px;
- }
- a { color: rgb(9, 61, 146); text-decoration: none; }
- a:hover, a:hover span { color: rgb(9, 61, 146); text-decoration: underline; }
- a:active { color: rgb(9, 61, 146); text-decoration: none; }
- /* apple.com site does not explicitly define visited link properties, but we do here */
- a:visited { color: #003366; text-decoration: none; }
- a:visited:hover, a:visited:hover span { color: #003366; text-decoration: underline; }
- td, th {
- padding: 0;
- }
- tr {
- vertical-align: top;
- }
- th[scope=row] {
- font-weight: normal;
- text-align: right;
- }
- figure > pre {
- margin-left: -40px;
- margin-right: -40px;
- }
- /* Forcefully broken camel case words */
- span.camelCase, span.camelCase > span {
- display: inline-block;
- }
- /*** Inspector-like slices ***/
- #slices {
- border-collapse: collapse;
- /* Restrict the table to the page width even when a long word may put pressure on the table to expand. */
- table-layout: fixed;
- width: 100%;
- }
- .slice > th {
- width: 90px;
- padding-right: 11px;
- color: #A1A1A1;
- cursor: default;
- }
- .slice > td {
- color: #000;
- word-wrap: break-word;
- /* Let the user select actual content. */
- -webkit-user-select: text; user-select: text;
- }
- .slice > * {
- padding-bottom: 10px;
- }
- .slice:last-child > * {
- padding-bottom: 0;
- }
- /*** Abstract slice ***/
- html.buildSetting #Abstract > td {
- white-space: pre-wrap;
- }
- /*** Parameters slice (table in popover, definition list in inspector) ***/
- .parameter > * {
- padding-bottom: 5px;
- }
- .parameter:last-child > * {
- padding-bottom: 0;
- }
- .parameter > th[scope="row"] {
- text-align: left;
- }
- .parameter > td {
- padding-left: 12px;
- }
- #Parameters > td > table {
- border-collapse: collapse;
- }
- #Parameters dl {
- margin: 0;
- }
- #Parameters dd {
- margin: 0;
- margin-bottom: 5px;
- padding: 0;
- }
- #Parameters dd:last-child {
- margin: 0;
- }
- /*** Other slices ***/
- /* Declaration */
- pre.declaration {
- margin: 0;
- white-space: pre-wrap;
- }
- html.deprecated pre.declaration, html.deprecated pre.declaration span.camelCase {
- color: red;
- }
- html.deprecated pre.declaration, html.deprecated pre.declaration span {
- text-decoration: line-through;
- }
- html.deprecated pre.declaration, html.deprecated pre.declaration span {
- color: -webkit-text;
- }
- /* Hide Declaration slices for kinds of symbols that tend to have verbose declarations. */
- html.kind-Class #Declaration,
- html.kind-Protocol #Declaration {
- display: none;
- }
- /* "Deprecated" in Availability slice */
- strong.warning {
- color: red;
- font-weight: normal;
- }
- /* "MyDocument : NSDocument" */
- #TokenHierarchy > td {
- color: rgb(108, 108, 108);
- font-weight: bold;
- }
- /* Remove the Name slice. */
- #TokenName {
- display: none;
- }
- #TokenScope {
- display: none;
- }
- /* Code listings */
- pre:not(.declaration) {
- word-wrap: normal;
- overflow-x: auto;
- width: auto;
- background-color: rgb(222, 222, 222) /* background2Color */;
- border: 1px solid rgb(153, 153, 153) /* headerSliceTopStrokeColor = headerSliceBottomStrokeColor */;
- padding: 4px;
- }
- .parameter > td pre {
- white-space: pre-wrap;
- }
- /* Tables */
- .slice:not(#Parameters) > td > table,
- .parameter table {
- border-collapse: collapse;
- margin: 8px auto;
- }
- .slice:not(#Parameters) > td > table td,
- .parameter table td {
- border: 1px solid rgb(153, 153, 153) /* headerSliceTopStrokeColor = headerSliceBottomStrokeColor */;
- padding: 4px;
- }
- /*** Inline, comma-delimited lists ***/
- #RelatedAPI ul,
- #RelatedDocuments ul,
- #RelatedSampleCode ul {
- list-style-type: none;
- margin: 0;
- padding: 0;
- }
- #RelatedAPI li,
- #RelatedDocuments li,
- #RelatedSampleCode li {
- display: inline;
- }
- #RelatedAPI li:after,
- #RelatedDocuments li:after,
- #RelatedSampleCode li:after {
- content:", ";
- }
- #RelatedAPI li:last-child:after,
- #RelatedDocuments li:last-child:after,
- #RelatedSampleCode li:last-child:after {
- content: none;
- }
- /*** Quick Help messages (indexing, no results, etc.) ***/
- html.message {
- height: 80px;
- }
- /* Vertically center the message contents within the page, with or without the search link. */
- html.message > body {
- text-align: center;
- max-height: 64px;
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- display: -webkit-box;
- -webkit-box-pack: center;
- -webkit-box-align: center;
- }
- #badge {
- display: block;
- cursor: default;
- margin-left: auto;
- margin-right: auto;
- }
- #badge > svg {
- display: inline-block;
- white-space: nowrap;
- width: 100%;
- }
- /* The “Search Documentation” link block */
- #actions {
- list-style-type: none;
- margin: 0;
- margin-top: 6px;
- padding: 0;
- }
- /*** Inspector ***/
- html.Inspector {
- /* Prevent nested scroll views. */
- overflow-y: hidden;
- line-height: 14px;
- }
- html.Inspector:not(.message) > body {
- margin-left: 0;
- margin-top: 7px;
- }
- /* Use the blackish label color that other inspectors in the IDE do. */
- html.Inspector .slice > th {
- color: rgb(51, 51, 51) /* inspectorSliverLabelColor */;
- width: 77px /* IDESliverLabelSize.width - IDEInspectorSliverLabelXOrigin + 1 */;
- font-size: 10px /* inspectorSliverLabelFont */;
- padding-left: 3px /* IDEInspectorSliverLabelXOrigin */;
- padding-right: 0;
- }
- html.Inspector .slice > td {
- padding-left: 6px /* IDEInspectorRightPadding + 1 */;
- }
- html.Inspector .slice > * {
- padding-bottom: 5px;
- }
- html.Inspector .slice:last-child > * {
- padding-bottom: 0;
- }
- html.Inspector figure,
- html.Inspector figure > pre {
- margin-left: 0;
- margin-right: 0;
- }
- /* Support for folded contents. */
- .expandable-section > .expand-button {
- display: none;
- }
- .expandable-section > .expand-button ~ label {
- display: block;
- text-indent: 10%;
- color: rgb(9, 61, 146);
- text-decoration: none;
- cursor: pointer;
- }
- .expandable-section > .expand-button ~ label:hover {
- text-decoration: underline;
- }
- .expandable-section > .expand-button:checked ~ label {
- display: none;
- }
- .expandable-section > .expand-button ~ .collapsed-content {
- display: none;
- }
- .expandable-section > .expand-button:checked ~ .collapsed-content {
- display: initial;
- }
- .special-section {
- margin-bottom: 7px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement