ng-configcat-publicapi-ui 5.0.5 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,7 @@
17
17
  @include meta.load-css("./css/button.scss");
18
18
  @include meta.load-css("./css/snackbar.scss");
19
19
  @include meta.load-css("./css/icon.scss");
20
+ @include meta.load-css("./css/variation.scss");
20
21
 
21
22
  html {
22
23
  overflow: -moz-scrollbars-vertical;
@@ -128,10 +129,30 @@ html {
128
129
 
129
130
  code.highlight {
130
131
  font-size: 12px;
132
+ line-height: 1.5em;
131
133
  padding: 2px 5px;
132
134
  border-radius: 5px;
133
135
  color: var(--text-color);
134
136
  background-color: var(--code-highlight-background-color);
137
+
138
+ &.copyable-like {
139
+ background-color: var(--copyable-background-color);
140
+ border: 1px solid var(--copyable-border-color);
141
+ border-radius: 4px;
142
+
143
+ &.small {
144
+ padding: 0 5px;
145
+ }
146
+ }
147
+ }
148
+
149
+ &[data-theme="dark"] {
150
+ code.highlight {
151
+ &.copyable-like {
152
+ background-color: var(--copyable-background-color-darker);
153
+ border: 1px solid var(--copyable-border-color-darker);
154
+ }
155
+ }
135
156
  }
136
157
 
137
158
  .dedicated-warning {