.wx-demos.layout { box-sizing: border-box; display: flex; height: 100%; width: 100%; } .wx-demos.page-content { flex: 1; display: flex; flex-direction: column; overflow: auto; } .wx-demos.page-content-header { height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 16px; border-bottom: 1px solid #ebebeb; } .wx-demos.header-title-box { display: flex; align-items: center; gap: 16px; } .wx-demos.header-actions-container { display: flex; align-items: center; gap: 16px; } .wx-demos.layout.active { flex-direction: row; } .wx-demos.sidebar { width: 0; height: 100%; overflow: hidden; transition: width 0.3s; } .wx-demos.sidebar-header { display: flex; justify-content: space-between; position: sticky; top: 0px; background-color: #fbfbfb; padding: 19px 16px 19px 18px; } .wx-demos.box-title { display: flex; align-items: center; gap: 12px; } .wx-demos.box-title img:hover, .wx-demos.box-title img:focus { opacity: 0.6; } .wx-demos.box-title img:active { opacity: 0.8; } .wx-demos.box-title .wx-demos.separator { width: 1px; height: 20px; background: #ebebeb; } .wx-demos.sidebar.active { width: 300px; } .wx-demos.sidebar-content { display: flex; flex-direction: column; width: 300px; gap: 16px; height: 100%; border-right: 1px solid #ebebeb; overflow-y: auto; font-family: Roboto, Arial, Helvetica, sans-serif; font-size: 16px; line-height: 20px; background-color: #fbfbfb; border-bottom: 1px solid #ebebeb; } .wx-demos.btn-box button.toggle-btn { display: flex; gap: 8px; border: 1px solid #ebebeb; color: #42454d; } .wx-demos.btn-box button.toggle-btn:hover, .wx-demos.btn-box button.toggle-btn:focus { border: 1px solid #ebebeb; color: #42454d; background: #f7f7f7; } .wx-demos.btn-box button.toggle-btn:active { background: #f1f1f1; } .wx-demos a { display: flex; text-decoration: none; } .wx-demos.wrapper-content { flex: 1; height: calc(100% - 70px); } .wx-demos.wrapper-content .wx-demos.content { width: 100%; height: 100%; transition: transform 0.3s, width 0.3s; overflow-y: auto; } .wx-demos.box-links { display: flex; flex-direction: column; gap: 6px; } .wx-demos.hint { font-size: 16px; font-weight: 500; line-height: 24px; color: #42454d; } .wx-demos.title { margin: 0; font-size: 18px; font-weight: 500; line-height: 24px; color: #42454d; } .wx-demos.segmented-box div.segmented-themes { padding: 2px; border-radius: 4px; } .wx-demos.segmented-box div.segmented-themes button { font-size: 14px; font-weight: 400; line-height: 18px; color: #595b66; background-color: transparent; } .wx-demos.segmented-box div.segmented-themes button.wx-selected { border-radius: 2px; font-weight: 500; color: #42454d; background: #fff; box-shadow: 0px 0px 7px 0px rgba(66, 69, 76, 0.07); } .wx-demos.content h4 { font-size: 16px; font-weight: 300; margin-bottom: 12px; border-bottom: var(--wx-border); } .wx-demos.content h3 { font-size: 18px; margin: 12px 0; font-weight: normal; } .wx-demos.content .demo-box { margin: 20px; } .wx-demos.content .demo-box + .demo-box { margin-top: 40px; } .wx-demos.content .demo-code { font-family: monospace; line-height: 30px; } .wx-demos.content .demo-status { height: 30px; line-height: 30px; background: rgba(0, 0, 0, 0.15); padding-left: 10px; } .wx-demos.content .demo-toolbar { border: 2px solid var(--wx-background-alt); max-width: 600px; } .wx-demos.demo { display: flex; align-items: center; height: 37px; font-weight: 400; padding-left: 16px; border-left: 4px solid transparent; color: #595b66; list-style: none; cursor: pointer; text-decoration: none; } .wx-demos.demo.active { border-left-color: #087a9f; } .wx-demos.demo.active, .wx-demos.demo:hover { font-weight: 500; color: #42454d; background-color: #f1f1f1; }