@internetarchive/ia-book-actions 0.0.19-2 → 0.0.19-3
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.
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@ export default css`
|
|
|
20
20
|
.primary,
|
|
21
21
|
.secondary {
|
|
22
22
|
position: relative;
|
|
23
|
-
background: var(--white);
|
|
23
|
+
background-color: var(--white, #fff);
|
|
24
24
|
border-radius: 5px;
|
|
25
25
|
margin: 0 3px;
|
|
26
26
|
}
|
|
@@ -115,6 +115,9 @@ export default css`
|
|
|
115
115
|
display: inline-block;
|
|
116
116
|
vertical-align: middle;
|
|
117
117
|
}
|
|
118
|
+
.secondary .ia-button.exit-admin {
|
|
119
|
+
background-color: var(--primaryBGColor);
|
|
120
|
+
}
|
|
118
121
|
.purchase small {
|
|
119
122
|
display: block;
|
|
120
123
|
font-size: 1rem;
|
|
@@ -51,8 +51,8 @@ export class CollapsibleActionGroup extends ActionsHandler {
|
|
|
51
51
|
|
|
52
52
|
updated(changed) {
|
|
53
53
|
if (
|
|
54
|
-
(changed.has('width')
|
|
55
|
-
|
|
54
|
+
(changed.has('width') || changed.has('disabled')) &&
|
|
55
|
+
this.isBelowTabletContainer
|
|
56
56
|
) {
|
|
57
57
|
this.resetActions();
|
|
58
58
|
}
|
|
@@ -226,7 +226,7 @@ export default class ActionsConfig {
|
|
|
226
226
|
text: message,
|
|
227
227
|
url: URLHelper.getBackHref(),
|
|
228
228
|
target: '_self',
|
|
229
|
-
className: '
|
|
229
|
+
className: 'exit-admin',
|
|
230
230
|
analyticsEvent: {
|
|
231
231
|
category: this.analyticsCategories.adminAccess,
|
|
232
232
|
action: this.analyticsActions.doneBorrowing,
|