labels css

This commit is contained in:
Laurent Lepinay
2015-07-10 15:59:41 +02:00
parent d968fda207
commit 2763800bee
7 changed files with 25 additions and 4 deletions

4
dist/css/print.css vendored
View File

@@ -459,6 +459,10 @@
.swagger-section .swagger-ui-wrap .required { .swagger-section .swagger-ui-wrap .required {
font-weight: bold; font-weight: bold;
} }
.swagger-section .swagger-ui-wrap .editor_holder {
font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
font-size: 0.9em;
}
.swagger-section .swagger-ui-wrap .editor_holder label { .swagger-section .swagger-ui-wrap .editor_holder label {
font-weight: normal!important; font-weight: normal!important;
/* JSONEditor uses bold by default for all labels, we revert that back to normal to not give the impression that by default fields are required */ /* JSONEditor uses bold by default for all labels, we revert that back to normal to not give the impression that by default fields are required */

4
dist/css/screen.css vendored
View File

@@ -459,6 +459,10 @@
.swagger-section .swagger-ui-wrap .required { .swagger-section .swagger-ui-wrap .required {
font-weight: bold; font-weight: bold;
} }
.swagger-section .swagger-ui-wrap .editor_holder {
font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
font-size: 0.9em;
}
.swagger-section .swagger-ui-wrap .editor_holder label { .swagger-section .swagger-ui-wrap .editor_holder label {
font-weight: normal!important; font-weight: normal!important;
/* JSONEditor uses bold by default for all labels, we revert that back to normal to not give the impression that by default fields are required */ /* JSONEditor uses bold by default for all labels, we revert that back to normal to not give the impression that by default fields are required */

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -459,6 +459,10 @@
.swagger-section .swagger-ui-wrap .required { .swagger-section .swagger-ui-wrap .required {
font-weight: bold; font-weight: bold;
} }
.swagger-section .swagger-ui-wrap .editor_holder {
font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
font-size: 0.9em;
}
.swagger-section .swagger-ui-wrap .editor_holder label { .swagger-section .swagger-ui-wrap .editor_holder label {
font-weight: normal!important; font-weight: normal!important;
/* JSONEditor uses bold by default for all labels, we revert that back to normal to not give the impression that by default fields are required */ /* JSONEditor uses bold by default for all labels, we revert that back to normal to not give the impression that by default fields are required */

View File

@@ -459,6 +459,10 @@
.swagger-section .swagger-ui-wrap .required { .swagger-section .swagger-ui-wrap .required {
font-weight: bold; font-weight: bold;
} }
.swagger-section .swagger-ui-wrap .editor_holder {
font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
font-size: 0.9em;
}
.swagger-section .swagger-ui-wrap .editor_holder label { .swagger-section .swagger-ui-wrap .editor_holder label {
font-weight: normal!important; font-weight: normal!important;
/* JSONEditor uses bold by default for all labels, we revert that back to normal to not give the impression that by default fields are required */ /* JSONEditor uses bold by default for all labels, we revert that back to normal to not give the impression that by default fields are required */

View File

@@ -361,9 +361,14 @@
} }
/* JSONEditor specific styling */ /* JSONEditor specific styling */
.editor_holder label { .editor_holder {
font-weight:normal!important; /* JSONEditor uses bold by default for all labels, we revert that back to normal to not give the impression that by default fields are required */ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
font-size: 0.9em;
label {
font-weight:normal!important; /* JSONEditor uses bold by default for all labels, we revert that back to normal to not give the impression that by default fields are required */
}
} }
.editor_holder label.required { .editor_holder label.required {
font-weight:bold!important; font-weight:bold!important;
} }