| 1 |
@use '../common/theme'; |
| 2 |
|
| 3 |
.snippet-editor-sidebar { |
| 4 |
.button-large { |
| 5 |
block-size: 48px; |
| 6 |
} |
| 7 |
|
| 8 |
.row-actions { |
| 9 |
display: flex; |
| 10 |
|
| 11 |
.button { |
| 12 |
background: none; |
| 13 |
border: none; |
| 14 |
} |
| 15 |
} |
| 16 |
|
| 17 |
.delete-button { |
| 18 |
color: #cc1818; |
| 19 |
|
| 20 |
&:hover { |
| 21 |
color: #9e1313; |
| 22 |
} |
| 23 |
|
| 24 |
&:focus { |
| 25 |
color: #710d0d; |
| 26 |
border-color: #710d0d; |
| 27 |
} |
| 28 |
} |
| 29 |
|
| 30 |
.help-tooltip { |
| 31 |
margin-block: 0; |
| 32 |
margin-inline: 5px auto; |
| 33 |
} |
| 34 |
|
| 35 |
.box { |
| 36 |
background-color: #fff; |
| 37 |
border: 1px solid #ccc; |
| 38 |
border-radius: 4px; |
| 39 |
padding: 1.5em; |
| 40 |
display: flex; |
| 41 |
flex-flow: column; |
| 42 |
gap: 1em; |
| 43 |
|
| 44 |
h4 { |
| 45 |
margin-block: 0.5em; |
| 46 |
margin-inline: 0; |
| 47 |
} |
| 48 |
|
| 49 |
.inline-form-field { |
| 50 |
display: flex; |
| 51 |
flex-flow: row wrap; |
| 52 |
align-items: center; |
| 53 |
gap: 5px; |
| 54 |
|
| 55 |
> :last-child { |
| 56 |
margin-inline-start: auto; |
| 57 |
} |
| 58 |
} |
| 59 |
|
| 60 |
.block-form-field { |
| 61 |
display: flex; |
| 62 |
flex-flow: column; |
| 63 |
gap: 4px; |
| 64 |
|
| 65 |
h4 { |
| 66 |
margin-block-end: 0; |
| 67 |
} |
| 68 |
} |
| 69 |
} |
| 70 |
|
| 71 |
h4 .badge { |
| 72 |
float: inline-end; |
| 73 |
|
| 74 |
+ .badge { |
| 75 |
margin-inline-end: 5px; |
| 76 |
} |
| 77 |
} |
| 78 |
|
| 79 |
.beta-badge { |
| 80 |
color: theme.$accent; |
| 81 |
border: 1px solid currentcolor; |
| 82 |
} |
| 83 |
|
| 84 |
.components-form-token-field { |
| 85 |
inline-size: 100%; |
| 86 |
} |
| 87 |
|
| 88 |
.generate-button { |
| 89 |
margin-inline-start: auto; |
| 90 |
} |
| 91 |
} |
| 92 |
|
| 93 |
.snippet-priority input { |
| 94 |
inline-size: 4em; |
| 95 |
} |
| 96 |
|
| 97 |
p.submit { |
| 98 |
display: flex; |
| 99 |
flex-flow: column; |
| 100 |
gap: 8px; |
| 101 |
margin-block-start: 17px; |
| 102 |
padding-block-start: 0; |
| 103 |
} |
| 104 |
|
| 105 |
.activation-switch-container label { |
| 106 |
display: flex; |
| 107 |
flex-flow: row; |
| 108 |
gap: 5px; |
| 109 |
justify-content: center; |
| 110 |
} |
| 111 |
|
| 112 |
.shortcode-tag-wrapper { |
| 113 |
background: #fff; |
| 114 |
min-block-size: 54px; |
| 115 |
display: flex; |
| 116 |
align-items: center; |
| 117 |
justify-content: space-between; |
| 118 |
padding: 10px; |
| 119 |
box-sizing: border-box; |
| 120 |
|
| 121 |
code { |
| 122 |
background: transparent; |
| 123 |
padding-inline: 0.5em; |
| 124 |
text-indent: -0.5em; |
| 125 |
} |
| 126 |
} |
| 127 |
|
| 128 |
.code-snippets-copy-text.button { |
| 129 |
display: flex; |
| 130 |
align-items: center; |
| 131 |
gap: 3px; |
| 132 |
|
| 133 |
.dashicons { |
| 134 |
block-size: 18px; |
| 135 |
inline-size: 18px; |
| 136 |
font-size: 18px; |
| 137 |
} |
| 138 |
|
| 139 |
.spinner-wrapper { |
| 140 |
block-size: 18px; |
| 141 |
inline-size: 18px; |
| 142 |
display: flex; |
| 143 |
align-items: center; |
| 144 |
} |
| 145 |
|
| 146 |
.components-spinner { |
| 147 |
block-size: 12px; |
| 148 |
} |
| 149 |
} |
| 150 |
|
| 151 |
.code-snippets-modal { |
| 152 |
p h4 { |
| 153 |
margin-block-start: 0; |
| 154 |
} |
| 155 |
} |
| 156 |
|