.ty-layout {
  box-sizing: border-box;
  display: flex;
  flex: 1;
  flex-direction: column; }
  .ty-layout_has-sider {
    flex-direction: row; }

.ty-layout-header {
  box-sizing: border-box;
  height: 60px;
  background-color: #fff; }

.ty-layout-footer {
  box-sizing: border-box;
  padding: 24px 50px;
  background-color: #fff; }

.ty-layout-content {
  flex: 1;
  box-sizing: border-box;
  background-color: #fff; }

.ty-layout-sider {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: all 200ms;
  overflow: hidden;
  background: #12131a;
  color: #fff;
  overflow-y: auto; }
  .ty-layout-sider:last-child .ty-layout-sider__trigger-icon {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg); }
  .ty-layout-sider__children {
    flex: 1; }
  .ty-layout-sider__trigger {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 1;
    cursor: pointer;
    height: 40px;
    background-color: #002140;
    display: flex;
    justify-content: center;
    align-items: center; }
  .ty-layout-sider_light {
    background-color: #fff;
    color: #333; }
    .ty-layout-sider_light .ty-layout-sider__trigger {
      background-color: #efefef; }
    .ty-layout-sider_light .ty-layout-sider__trigger-icon {
      color: #bbb; }
