UNPKG

@arco-design/web-vue

Version:

Arco Design Vue 2.0: A Vue.js 3 UI Library

89 lines (88 loc) 2.01 kB
/******** borderSize *******/ /******** borderStyle *******/ /******** radius *******/ /******** shadow distance *******/ /******** size *******/ /******** spacing *******/ /******** shadow *******/ /******** opacity *******/ /******** fontSize *******/ /******** fontWeight ********/ /******** Primary *******/ /******** success *******/ /******** warning *******/ /******** danger *******/ /******** link *******/ /******** radius *******/ /********* icon hover *********/ .arco-layout { display: flex; flex: 1; flex-direction: column; margin: 0; padding: 0; } .arco-layout-sider { position: relative; flex: none; width: auto; margin: 0; padding: 0; background: var(--color-menu-dark-bg); transition: width 0.2s cubic-bezier(0.34, 0.69, 0.1, 1); } .arco-layout-sider-children { height: 100%; overflow: auto; } .arco-layout-sider-collapsed .arco-layout-sider-children { /* width */ } .arco-layout-sider-collapsed .arco-layout-sider-children::-webkit-scrollbar { width: 0; } .arco-layout-sider-has-trigger { box-sizing: border-box; padding-bottom: 48px; } .arco-layout-sider-trigger { z-index: 1; display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; height: 48px; color: var(--color-white); background: rgba(255, 255, 255, 0.2); cursor: pointer; transition: width 0.2s cubic-bezier(0.34, 0.69, 0.1, 1); } .arco-layout-sider-trigger-light { color: var(--color-text-1); background: var(--color-menu-light-bg); border-top: 1px solid var(--color-bg-5); } .arco-layout-sider-light { background: var(--color-menu-light-bg); box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.08); } .arco-layout-header { flex: 0 0 auto; box-sizing: border-box; margin: 0; } .arco-layout-content { flex: 1; } .arco-layout-footer { flex: 0 0 auto; margin: 0; } .arco-layout-has-sider { flex-direction: row; } .arco-layout-has-sider > .arco-layout, .arco-layout-has-sider > .arco-layout-content { overflow-x: hidden; }