@internetarchive/bookreader 5.0.0-110 → 5.0.0-111

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.
@@ -2287,6 +2287,65 @@ ia-bookreader .BRtoolbar {
2287
2287
  display: none;
2288
2288
  }
2289
2289
 
2290
+ .br-select-menu__root {
2291
+ display: none;
2292
+ border-radius: 20px;
2293
+ background-color: #333;
2294
+ color-scheme: dark;
2295
+ padding: 2px;
2296
+ overflow: hidden;
2297
+ transition: border-radius 0.2s;
2298
+ }
2299
+
2300
+ .br-select-menu__root:hover {
2301
+ border-radius: 8px;
2302
+ }
2303
+
2304
+ .br-select-menu__root:hover .br-select-menu__option {
2305
+ border-radius: 6px;
2306
+ }
2307
+
2308
+ .br-select-menu__option {
2309
+ --iconWidth: 15px;
2310
+ --iconHeight: 15px;
2311
+ --iconFillColor: currentColor;
2312
+ background: transparent;
2313
+ display: flex;
2314
+ align-items: center;
2315
+ border-radius: 20px;
2316
+ font-family: inherit;
2317
+ border: 0;
2318
+ transition: background-color 0.2s, border-radius 0.2s;
2319
+ cursor: pointer;
2320
+ text-wrap: nowrap;
2321
+ padding: 4px;
2322
+ }
2323
+
2324
+ .br-select-menu__option:hover {
2325
+ background-color: rgba(255, 255, 255, 0.1);
2326
+ }
2327
+
2328
+ .br-select-menu__icon {
2329
+ display: block;
2330
+ flex-shrink: 0;
2331
+ width: 17px;
2332
+ height: 17px;
2333
+ }
2334
+
2335
+ .br-select-menu__label {
2336
+ width: 0px;
2337
+ opacity: 0;
2338
+ interpolate-size: allow-keywords;
2339
+ transition: width 0.2s;
2340
+ font-size: 12px;
2341
+ }
2342
+
2343
+ .br-select-menu__root:hover .br-select-menu__label {
2344
+ width: auto;
2345
+ margin-left: 4px;
2346
+ opacity: 1;
2347
+ }
2348
+
2290
2349
  /**
2291
2350
  * Hide modal-manager that loads item-navigator-modal
2292
2351
  * loading bookmarks related alert messages