comindware.core.ui
Version:
Comindware Core UI provides the basic components like editors, lists, dropdowns, popups that we so desperately need while creating Marionette-based single-page applications.
163 lines (135 loc) • 3.68 kB
CSS
.layout__tab-layout {
position: relative;
display: flex;
flex-flow: column nowrap;
flex: 1 0 auto;
}
/* header */
.layout__tab-layout__header-region {
flex: 0 0 auto;
display: flex;
justify-content: space-between;
}
.layout__tab-layout__header-view {
overflow-x: hidden;
display: flex;
flex-flow: row nowrap;
align-items: flex-end;
}
.layout-group_squashed-tabs .layout__tab-layout__header-view {
width: 100%;
min-height: 40px;
color: var(--theme-colors__secondary-txt);
background-color: var(--theme-colors__secondary);
border-bottom: 1px solid var(--menu-items-clor-border);
align-items: stretch;
}
.layout__tab-layout__header-view ul {
display: flex;
align-items: flex-end;
flex-wrap: nowrap;
min-width: 0;
margin: 0;
overflow: auto;
scrollbar-width: none;
-ms-overflow-style: none;
position: relative; /* for __scrollIntoViewIfNeeded */
padding: 0;
justify-content: var(--tab-header-justify);
}
.layout-group_squashed-tabs .layout__tab-layout__header-view > ul {
align-items: stretch;
margin-left: 5px;
margin-right: 5px;
}
.layout-group_squashed-tabs .layout__tab-layout__header-view > ul > .layout__tab-layout__header-view-item {
padding-right: 0;
padding-left: 0;
margin-right: 10px;
margin-left: 10px;
display: inline-flex;
align-items: center;
}
a.layout__tab-layout__header-view-item:hover {
text-decoration: none;
color: var(--theme-colors__text_strong);
}
.layout__tab-layout__header-view ul::-webkit-scrollbar {
display: none;
}
ul .layout__tab-layout__header-view-item:last-child {
margin-right: 0;
}
.layout__tab-layout__header-view .tab-header-view__menu-dropdown > .dropdown__button {
display: flex;
flex-flow: row nowrap;
}
.layout__tab-layout__tree-editor .toolbar-btn {
margin-right: 0px;
margin-left: 5px;
}
.layout__tab-layout__header-view-item {
display: inline-block;
text-align: center;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.layout__tab-layout__header-view-item.tab-layout__headers-menu {
font-size: 16px;
font-weight: bold;
padding: 5px 10px 0 10px;
}
/* panel */
.layout__tab-layout__panel-container {
height: 100%;
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
.layout-group_squashed-tabs .layout__tab-layout__panel-container {
border: none;
}
.layout__tab-layout__panel-region {
height: 100%;
}
.layout__tab-layout__panel-region > div {
height: 100%;
overflow: auto;
}
.output-tabs-region .layout__tab-layout__panel-region > .grid-container {
overflow-x: auto;
}
.layout__tab-layout_move-button {
position: absolute;
cursor: pointer;
text-align: center;
}
.layout__tab-layout__stepper_container {
width: 100%;
display: flex;
}
.layout__tab-layout__stepper_view-item {
cursor: pointer;
flex: 1;
}
.layout__tab-layout__stepper_view-item .stepper-view_content {
text-align: center;
}
.layout__tab-layout__header-view-item_disabled,
.popout-menu__i_disabled {
color: var(--disabled-text-color);
cursor: default;
opacity: .4
}
.layout__tab-layout .layout__tab-layout__header-view-item_disabled:hover {
color: var(--disabled-text-color);
background: none;
}
.layout__tab-layout__no-tabs-message {
font-size: 18px;
font-weight: 300;
color: var(--theme-colors__text_fade);
padding: 5px;
}