| 1 |
@import '../node_modules/@jcubic/tagger/tagger.css'; |
| 2 |
@import 'editor'; |
| 3 |
|
| 4 |
@import 'type-badges'; |
| 5 |
|
| 6 |
/** |
| 7 |
* Custom styling for the single snippet admin page |
| 8 |
*/ |
| 9 |
|
| 10 |
.form-table th { |
| 11 |
width: auto; |
| 12 |
} |
| 13 |
|
| 14 |
h2 { |
| 15 |
/* Provide some decent space between the fields and titles */ |
| 16 |
margin: 25px 0 15px 0; |
| 17 |
|
| 18 |
&:first-of-type { |
| 19 |
margin-top: 20px; |
| 20 |
} |
| 21 |
|
| 22 |
label { |
| 23 |
cursor: auto; |
| 24 |
} |
| 25 |
} |
| 26 |
|
| 27 |
.inactive-snippet, .active-snippet { |
| 28 |
#title { |
| 29 |
border-left-width: 4px; |
| 30 |
} |
| 31 |
} |
| 32 |
|
| 33 |
.active-snippet #title { |
| 34 |
border-left-color: #46b450; |
| 35 |
} |
| 36 |
|
| 37 |
.inactive-snippet #title { |
| 38 |
border-left-color: #bbb; |
| 39 |
} |
| 40 |
|
| 41 |
.erroneous-snippet #title { |
| 42 |
border-left-color: #dc3232; |
| 43 |
} |
| 44 |
|
| 45 |
#snippet-form { |
| 46 |
margin-top: 10px |
| 47 |
} |
| 48 |
|
| 49 |
/* Position the description heading on the same level as the editor buttons */ |
| 50 |
label[for='snippet_description']='snippet_description'] h3 div { |
| 51 |
position: absolute; |
| 52 |
} |
| 53 |
|
| 54 |
/* Add spacing in between the action buttons */ |
| 55 |
.button + .button { |
| 56 |
margin-left: .5em; |
| 57 |
} |
| 58 |
|
| 59 |
.submit-inline { |
| 60 |
float: right; |
| 61 |
} |
| 62 |
|
| 63 |
p.snippet-scope, .snippet-scope p { |
| 64 |
margin-top: 15px; |
| 65 |
} |
| 66 |
|
| 67 |
.snippet-scope label, |
| 68 |
.html-shortcode-options strong { |
| 69 |
display: inline-block; |
| 70 |
margin-right: 1.5em; |
| 71 |
} |
| 72 |
|
| 73 |
.below-editor { |
| 74 |
display: flex; |
| 75 |
justify-content: space-between; |
| 76 |
} |
| 77 |
|
| 78 |
.snippet-priority { |
| 79 |
|
| 80 |
label { |
| 81 |
font-weight: bold; |
| 82 |
cursor: help; |
| 83 |
font-size: 1.1em; |
| 84 |
padding-right: 0.5em; |
| 85 |
} |
| 86 |
|
| 87 |
input { |
| 88 |
width: 4em; |
| 89 |
} |
| 90 |
} |
| 91 |
|
| 92 |
.snippet-editor { |
| 93 |
position: relative; |
| 94 |
} |
| 95 |
|
| 96 |
.CodeMirror { |
| 97 |
width: 100%; |
| 98 |
} |
| 99 |
|
| 100 |
.wrap h2.nav-tab-wrapper { |
| 101 |
border-bottom: none; |
| 102 |
} |
| 103 |
|
| 104 |
.code-snippets-copy-text { |
| 105 |
color: inherit; |
| 106 |
} |
| 107 |
|
| 108 |
@import 'edit/tooltips'; |
| 109 |
@import 'edit/types'; |
| 110 |
@import 'edit/tags'; |
| 111 |
|