forked from the1812/Bilibili-Evolved
-
Notifications
You must be signed in to change notification settings - Fork 0
/
v1-panel.js
9 lines (9 loc) · 5.04 KB
/
v1-panel.js
1
2
3
4
5
6
7
8
9
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["style/v1-panel"]=n():t["style/v1-panel"]=n()}(self,(function(){return function(){var t,n,e={337:function(t,n,e){var r=e(645)((function(t){return t[1]}));r.push([t.id,".be-settings > .be-popup {\n top: 0 !important;\n left: 0 !important;\n transform: translateZ(0) translateY(0) translateX(calc(-101% * var(--direction))) !important;\n --panel-height: 100vh !important;\n}\nbody.settings-panel-dock-right .be-settings > .be-popup {\n left: unset !important;\n right: 0 !important;\n}\n.be-settings > .be-popup.open {\n transform: translateZ(0) translateY(0) translateX(0) !important;\n}\n.be-settings > .be-popup > * {\n border-radius: 0 !important;\n border-width: 0 1px 0 0 !important;\n height: var(--panel-height) !important;\n}\nbody.settings-panel-dock-right .be-settings > .be-popup > * {\n border-width: 0 0 0 1px !important;\n}\n.be-settings > .sidebar > * {\n width: 52px !important;\n border-radius: 21px !important;\n transform: translateX(calc(-13px * var(--direction))) !important;\n display: flex !important;\n justify-content: flex-end !important;\n}\nbody.settings-panel-dock-right .be-settings > .sidebar > * {\n justify-content: flex-start !important;\n}\n.be-settings > .sidebar > * .be-icon {\n transition: 0.2s ease-out !important;\n}\n.be-settings > .sidebar > *:hover {\n transform: translateX(calc(8px * var(--direction))) !important;\n}\n.be-settings > .sidebar > *:hover .be-icon {\n transform: rotate(360deg) !important;\n}\n.be-settings > .sidebar > *.open {\n transform: translateX(calc(12px * var(--direction))) !important;\n}\n.be-settings .settings-panel-popup .component-tags .component-tags-item:last-child {\n border-radius: 0 !important;\n}\n.be-settings .widgets-panel {\n padding: 24px !important;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.be-settings .widgets-panel::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.be-settings .widgets-panel-header {\n margin-bottom: 36px !important;\n}\n.be-settings .widgets-panel .widgets-popup {\n --columns: 1;\n --medal-columns: 1;\n --title-columns: 1;\n left: 50%;\n top: calc(100% + 4px) !important;\n transform-origin: top !important;\n box-sizing: border-box;\n max-width: calc(100% + 44px) !important;\n max-height: unset !important;\n transform: translateX(calc(-50% * var(--direction))) scale(0.9) !important;\n display: flex !important;\n flex-wrap: wrap !important;\n}\n.be-settings .widgets-panel .widgets-popup > * {\n flex-grow: 1;\n}\n.be-settings .widgets-panel .widgets-popup.open {\n transform: translateX(calc(-50% * var(--direction))) scale(1) !important;\n}\nbody.settings-panel-dock-right .be-settings .widgets-panel .widgets-popup {\n left: unset !important;\n right: 50% !important;\n}",""]),t.exports=r},645:function(t){"use strict";
// eslint-disable-next-line func-names
t.exports=function(t){var n=[];return n.toString=function(){return this.map((function(n){var e=t(n);return n[2]?"@media ".concat(n[2]," {").concat(e,"}"):e})).join("")},
// eslint-disable-next-line func-names
n.i=function(t,e,r){"string"==typeof t&&(
// eslint-disable-next-line no-param-reassign
t=[[null,t,""]]);var o={};if(r)for(var i=0;i<this.length;i++){
// eslint-disable-next-line prefer-destructuring
var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<t.length;s++){var p=[].concat(t[s]);r&&o[p[0]]||(e&&(p[2]?p[2]="".concat(e," and ").concat(p[2]):p[2]=e),n.push(p))}},n}},564:function(t,n,e){var r=e(337);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()}},r={};function o(t){var n=r[t];if(void 0!==n)return n.exports;var i=r[t]={id:t,exports:{}};return e[t](i,i.exports,o),i.exports}n=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},o.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var i=Object.create(null);o.r(i);var a={};t=t||[null,n({}),n([]),n(n)];for(var s=2&r&&e;"object"==typeof s&&!~t.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((function(t){a[t]=function(){return e[t]}}));return a.default=function(){return e},o.d(i,a),i},o.d=function(t,n){for(var e in n)o.o(n,e)&&!o.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return function(){"use strict";o.d(i,{component:function(){return t}});const t={name:"v1PanelStyle",displayName:"v1 风格设置面板",tags:[componentsTags.style],entry:none,description:{"zh-CN":"使用 v1 风格的设置面板样式"},instantStyles:[{name:"v1PanelStyle",style:()=>Promise.resolve().then(o.t.bind(o,564,23))}],commitHash:"758500b73a42eb701eb7723934900e124e4e1ddc"}}(),i=i.component}()}));