@limetech/lime-elements
Version:
1,642 lines (1,612 loc) • 60.1 kB
CSS
@charset "UTF-8";
/**
* Note! This file is exported to `dist/scss/` in the published
* node module, for consumer projects to import.
* That means this file cannot import from any file that isn't
* also exported, keeping the same relative path.
*
* Or, just don't import anything, that works too.
*/
/**
* This can be used on a trigger element that opens a dropdown menu or a popover.
*/
/**
* This mixin will mask out the content that is close to
* the edges of a scrollable area.
* - If the scrollable content has `overflow-y`, use `vertically`
* as an argument for `$direction`.
- If the scrollable content has `overflow-x`, use `horizontally`
* as an argument for `$direction`.
*
* For the visual effect to work smoothly, we need to make sure that
* the size of the fade-out edge effect is the same as the
* internal paddings of the scrollable area. Otherwise, content of a
* scrollable area that does not have a padding will fade out before
* any scrolling has been done.
* This is why this mixin already adds paddings, which automatically
* default to the size of the fade-out effect.
* This size defaults to `1rem`, but to override the size use
* `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
* when `vertically` argument is set, and use
* `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
* when `horizontally` argument is set.
* Of course you can also programmatically increase and decrease the
* size of these variables for each edge, based on the amount of
* scrolling that has been done by the user. In this case, make sure
* to add a custom padding where the mixin is used, to override
* the paddings that are automatically added by the mixin in the
* compiled CSS code.
*/
/**
* This mixin will add an animated underline to the bottom of an `a` elements.
* Note that you may need to add `all: unset;` –depending on your use case–
* before using this mixin.
*/
/**
* This mixin creates a cross-browser font stack.
* - `sans-serif` can be used for the UI of the components.
* - `monospace` can be used for code.
*
* ⚠️ If we change the font stacks, we need to update
* 1. the consumer documentation in `README.md`, and
* 2. the CSS variables of `--kompendium-example-font-family`
* in the `<style>` tag of `index.html`.
*/
/**
* This mixin is a hack, using old CSS syntax
* to enable you to truncate a piece of text,
* after a certain number of lines.
*/
/**
* This mixin will add a chessboard background pattern,
* typically used to visualize transparency.
*/
/**
* Make a container resizable by the user.
* This is used in the documentations and examples
* of some components, to demonstrate how the component
* behaves in a resizable container.
*/
/**
* The breakpoints below are used to create responsive designs
* in Lime's products. Therefore, they are here to get distributed
* to all components in other private repos, which rely on this `mixins`
* file, to create consistent styles.
*
* :::important
* In very rare cases you should used media queries!
* Nowadays, there are many better ways of achieving responsive design
* without media queries. For example, using CSS Grid, Flexbox, and their features.
* :::
*/
/**
* Media query mixins for responsive design based on screen width.
* Note that these mixins do not detect the device type!
*/
/*
* This file is imported into every component!
*
* Nothing in this file may output any CSS
* without being explicitly called by outside code.
*/
.tabulator {
position: relative;
border: 1px solid #999;
background-color: #888;
font-size: 14px;
text-align: left;
overflow: hidden;
-webkit-transform: translatez(0);
-moz-transform: translatez(0);
-ms-transform: translatez(0);
-o-transform: translatez(0);
transform: translatez(0);
}
.tabulator[tabulator-layout=fitDataFill] .tabulator-tableHolder .tabulator-table {
min-width: 100%;
}
.tabulator[tabulator-layout=fitDataTable] {
display: inline-block;
}
.tabulator.tabulator-block-select {
user-select: none;
}
.tabulator .tabulator-header {
position: relative;
box-sizing: border-box;
width: 100%;
border-bottom: 1px solid #999;
background-color: #e6e6e6;
color: #555;
font-weight: bold;
white-space: nowrap;
overflow: hidden;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
}
.tabulator .tabulator-header.tabulator-header-hidden {
display: none;
}
.tabulator .tabulator-header .tabulator-col {
display: inline-block;
position: relative;
box-sizing: border-box;
border-right: 1px solid #aaa;
background: #e6e6e6;
text-align: left;
vertical-align: bottom;
overflow: hidden;
}
.tabulator .tabulator-header .tabulator-col.tabulator-moving {
position: absolute;
border: 1px solid #999;
background: #cdcdcd;
pointer-events: none;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content {
box-sizing: border-box;
position: relative;
padding: 4px;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-menu-button {
padding: 0 8px;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-menu-button:hover {
cursor: pointer;
opacity: 0.6;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder {
position: relative;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
box-sizing: border-box;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: bottom;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor {
box-sizing: border-box;
width: 100%;
border: 1px solid #999;
padding: 1px;
background: #fff;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-menu-button + .tabulator-title-editor {
width: calc(100% - 22px);
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter {
display: flex;
align-items: center;
position: absolute;
top: 0;
bottom: 0;
right: 4px;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow {
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid #bbb;
}
.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols {
position: relative;
display: flex;
border-top: 1px solid #aaa;
overflow: hidden;
margin-right: -1px;
}
.tabulator .tabulator-header .tabulator-col:first-child .tabulator-col-resize-handle.prev {
display: none;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter {
position: relative;
box-sizing: border-box;
margin-top: 2px;
width: 100%;
text-align: center;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea {
height: auto !important;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg {
margin-top: 3px;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear {
width: 0;
height: 0;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title {
padding-right: 25px;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover {
cursor: pointer;
background-color: #cdcdcd;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter {
color: #bbb;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow {
border-top: none;
border-bottom: 6px solid #bbb;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-col-content .tabulator-col-sorter {
color: #666;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow {
border-top: none;
border-bottom: 6px solid #666;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-col-content .tabulator-col-sorter {
color: #666;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow {
border-bottom: none;
border-top: 6px solid #666;
color: #666;
}
.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title {
writing-mode: vertical-rl;
text-orientation: mixed;
display: flex;
align-items: center;
justify-content: center;
}
.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title {
transform: rotate(180deg);
}
.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title {
padding-right: 0;
padding-top: 20px;
}
.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title {
padding-right: 0;
padding-bottom: 20px;
}
.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter {
justify-content: center;
left: 0;
right: 0;
top: 4px;
bottom: auto;
}
.tabulator .tabulator-header .tabulator-frozen {
display: inline-block;
position: absolute;
z-index: 10;
}
.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left {
border-right: 2px solid #aaa;
}
.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right {
border-left: 2px solid #aaa;
}
.tabulator .tabulator-header .tabulator-calcs-holder {
box-sizing: border-box;
min-width: 600%;
background: #f3f3f3 !important;
border-top: 1px solid #aaa;
border-bottom: 1px solid #aaa;
overflow: hidden;
}
.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row {
background: #f3f3f3 !important;
}
.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle {
display: none;
}
.tabulator .tabulator-header .tabulator-frozen-rows-holder {
min-width: 600%;
}
.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty {
display: none;
}
.tabulator .tabulator-tableHolder {
position: relative;
width: 100%;
white-space: nowrap;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
.tabulator .tabulator-tableHolder:focus {
outline: none;
}
.tabulator .tabulator-tableHolder .tabulator-placeholder {
box-sizing: border-box;
display: flex;
align-items: center;
width: 100%;
}
.tabulator .tabulator-tableHolder .tabulator-placeholder[tabulator-render-mode=virtual] {
min-height: 100%;
min-width: 100%;
}
.tabulator .tabulator-tableHolder .tabulator-placeholder span {
display: inline-block;
margin: 0 auto;
padding: 10px;
color: #ccc;
font-weight: bold;
font-size: 20px;
}
.tabulator .tabulator-tableHolder .tabulator-table {
position: relative;
display: inline-block;
background-color: #fff;
white-space: nowrap;
overflow: visible;
color: #333;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs {
font-weight: bold;
background: #e2e2e2 !important;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top {
border-bottom: 2px solid #aaa;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom {
border-top: 2px solid #aaa;
}
.tabulator .tabulator-footer {
padding: 5px 10px;
border-top: 1px solid #999;
background-color: #e6e6e6;
text-align: right;
color: #555;
font-weight: bold;
white-space: nowrap;
user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
}
.tabulator .tabulator-footer .tabulator-calcs-holder {
box-sizing: border-box;
width: calc(100% + 20px);
margin: -5px -10px 5px -10px;
text-align: left;
background: #f3f3f3 !important;
border-bottom: 1px solid #aaa;
border-top: 1px solid #aaa;
overflow: hidden;
}
.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row {
background: #f3f3f3 !important;
}
.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle {
display: none;
}
.tabulator .tabulator-footer .tabulator-calcs-holder:only-child {
margin-bottom: -5px;
border-bottom: none;
}
.tabulator .tabulator-footer .tabulator-paginator {
color: #555;
font-family: inherit;
font-weight: inherit;
font-size: inherit;
}
.tabulator .tabulator-footer .tabulator-page-size {
display: inline-block;
margin: 0 5px;
padding: 2px 5px;
border: 1px solid #aaa;
border-radius: 3px;
}
.tabulator .tabulator-footer .tabulator-pages {
margin: 0 7px;
}
.tabulator .tabulator-footer .tabulator-page {
display: inline-block;
margin: 0 2px;
padding: 2px 5px;
border: 1px solid #aaa;
border-radius: 3px;
background: rgba(255, 255, 255, 0.2);
}
.tabulator .tabulator-footer .tabulator-page.active {
color: #d00;
}
.tabulator .tabulator-footer .tabulator-page:disabled {
opacity: 0.5;
}
.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover {
cursor: pointer;
background: rgba(0, 0, 0, 0.2);
color: #fff;
}
.tabulator .tabulator-col-resize-handle {
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: 5px;
}
.tabulator .tabulator-col-resize-handle.prev {
left: 0;
right: auto;
}
.tabulator .tabulator-col-resize-handle:hover {
cursor: ew-resize;
}
.tabulator .tabulator-loader {
position: absolute;
display: flex;
align-items: center;
top: 0;
left: 0;
z-index: 100;
height: 100%;
width: 100%;
background: rgba(0, 0, 0, 0.4);
text-align: center;
}
.tabulator .tabulator-loader .tabulator-loader-msg {
display: inline-block;
margin: 0 auto;
padding: 10px 20px;
border-radius: 10px;
background: #fff;
font-weight: bold;
font-size: 16px;
}
.tabulator .tabulator-loader .tabulator-loader-msg.tabulator-loading {
border: 4px solid #333;
color: #000;
}
.tabulator .tabulator-loader .tabulator-loader-msg.tabulator-error {
border: 4px solid #D00;
color: #590000;
}
.tabulator-row {
position: relative;
box-sizing: border-box;
min-height: 22px;
background-color: #fff;
}
.tabulator-row.tabulator-row-even {
background-color: #EFEFEF;
}
.tabulator-row.tabulator-selectable:hover {
background-color: #bbb;
cursor: pointer;
}
.tabulator-row.tabulator-selected {
background-color: #9ABCEA;
}
.tabulator-row.tabulator-selected:hover {
background-color: #769BCC;
cursor: pointer;
}
.tabulator-row.tabulator-row-moving {
border: 1px solid #000;
background: #fff;
}
.tabulator-row.tabulator-moving {
position: absolute;
border-top: 1px solid #aaa;
border-bottom: 1px solid #aaa;
pointer-events: none;
z-index: 15;
}
.tabulator-row .tabulator-row-resize-handle {
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: 5px;
}
.tabulator-row .tabulator-row-resize-handle.prev {
top: 0;
bottom: auto;
}
.tabulator-row .tabulator-row-resize-handle:hover {
cursor: ns-resize;
}
.tabulator-row .tabulator-frozen {
display: inline-block;
position: absolute;
background-color: inherit;
z-index: 10;
}
.tabulator-row .tabulator-frozen.tabulator-frozen-left {
border-right: 2px solid #aaa;
}
.tabulator-row .tabulator-frozen.tabulator-frozen-right {
border-left: 2px solid #aaa;
}
.tabulator-row .tabulator-responsive-collapse {
box-sizing: border-box;
padding: 5px;
border-top: 1px solid #aaa;
border-bottom: 1px solid #aaa;
}
.tabulator-row .tabulator-responsive-collapse:empty {
display: none;
}
.tabulator-row .tabulator-responsive-collapse table {
font-size: 14px;
}
.tabulator-row .tabulator-responsive-collapse table tr td {
position: relative;
}
.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type {
padding-right: 10px;
}
.tabulator-row .tabulator-cell {
display: inline-block;
position: relative;
box-sizing: border-box;
padding: 4px;
border-right: 1px solid #aaa;
vertical-align: middle;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tabulator-row .tabulator-cell.tabulator-editing {
border: 1px solid #1D68CD;
outline: none;
padding: 0;
}
.tabulator-row .tabulator-cell.tabulator-editing input, .tabulator-row .tabulator-cell.tabulator-editing select {
border: 1px;
background: transparent;
}
.tabulator-row .tabulator-cell.tabulator-validation-fail {
border: 1px solid #dd0000;
}
.tabulator-row .tabulator-cell.tabulator-validation-fail input, .tabulator-row .tabulator-cell.tabulator-validation-fail select {
border: 1px;
background: transparent;
color: #dd0000;
}
.tabulator-row .tabulator-cell:first-child .tabulator-col-resize-handle.prev {
display: none;
}
.tabulator-row .tabulator-cell.tabulator-row-handle {
display: inline-flex;
align-items: center;
justify-content: center;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
}
.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box {
width: 80%;
}
.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar {
width: 100%;
height: 3px;
margin-top: 2px;
background: #666;
}
.tabulator-row .tabulator-cell .tabulator-data-tree-branch {
display: inline-block;
vertical-align: middle;
height: 9px;
width: 7px;
margin-top: -9px;
margin-right: 5px;
border-bottom-left-radius: 1px;
border-left: 2px solid #aaa;
border-bottom: 2px solid #aaa;
}
.tabulator-row .tabulator-cell .tabulator-data-tree-control {
display: inline-flex;
justify-content: center;
align-items: center;
vertical-align: middle;
height: 11px;
width: 11px;
margin-right: 5px;
border: 1px solid #333;
border-radius: 2px;
background: rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover {
cursor: pointer;
background: rgba(0, 0, 0, 0.2);
}
.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse {
display: inline-block;
position: relative;
height: 7px;
width: 1px;
background: transparent;
}
.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after {
position: absolute;
content: "";
left: -3px;
top: 3px;
height: 1px;
width: 7px;
background: #333;
}
.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand {
display: inline-block;
position: relative;
height: 7px;
width: 1px;
background: #333;
}
.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after {
position: absolute;
content: "";
left: -3px;
top: 3px;
height: 1px;
width: 7px;
background: #333;
}
.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle {
display: inline-flex;
align-items: center;
justify-content: center;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
height: 15px;
width: 15px;
border-radius: 20px;
background: #666;
color: #fff;
font-weight: bold;
font-size: 1.1em;
}
.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover {
opacity: 0.7;
}
.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close {
display: initial;
}
.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open {
display: none;
}
.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close {
display: none;
}
.tabulator-row .tabulator-cell .tabulator-traffic-light {
display: inline-block;
height: 14px;
width: 14px;
border-radius: 14px;
}
.tabulator-row.tabulator-group {
box-sizing: border-box;
border-bottom: 1px solid #999;
border-right: 1px solid #aaa;
border-top: 1px solid #999;
padding: 5px;
padding-left: 10px;
background: #ccc;
font-weight: bold;
min-width: 100%;
}
.tabulator-row.tabulator-group:hover {
cursor: pointer;
background-color: rgba(0, 0, 0, 0.1);
}
.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow {
margin-right: 10px;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 6px solid #666;
border-bottom: 0;
}
.tabulator-row.tabulator-group.tabulator-group-level-1 {
padding-left: 30px;
}
.tabulator-row.tabulator-group.tabulator-group-level-2 {
padding-left: 50px;
}
.tabulator-row.tabulator-group.tabulator-group-level-3 {
padding-left: 70px;
}
.tabulator-row.tabulator-group.tabulator-group-level-4 {
padding-left: 90px;
}
.tabulator-row.tabulator-group.tabulator-group-level-5 {
padding-left: 110px;
}
.tabulator-row.tabulator-group .tabulator-group-toggle {
display: inline-block;
}
.tabulator-row.tabulator-group .tabulator-arrow {
display: inline-block;
width: 0;
height: 0;
margin-right: 16px;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
border-right: 0;
border-left: 6px solid #666;
vertical-align: middle;
}
.tabulator-row.tabulator-group span {
margin-left: 10px;
color: #d00;
}
.tabulator-menu {
position: absolute;
display: inline-block;
box-sizing: border-box;
background: #fff;
border: 1px solid #aaa;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
font-size: 14px;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
z-index: 10000;
}
.tabulator-menu .tabulator-menu-item {
position: relative;
box-sizing: border-box;
padding: 5px 10px;
user-select: none;
}
.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled {
opacity: 0.5;
}
.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover {
cursor: pointer;
background: #EFEFEF;
}
.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu {
padding-right: 25px;
}
.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu::after {
display: inline-block;
position: absolute;
top: calc(5px + 0.4em);
right: 10px;
height: 7px;
width: 7px;
content: "";
border-width: 1px 1px 0 0;
border-style: solid;
border-color: #aaa;
vertical-align: top;
transform: rotate(45deg);
}
.tabulator-menu .tabulator-menu-separator {
border-top: 1px solid #aaa;
}
.tabulator-edit-select-list {
position: absolute;
display: inline-block;
box-sizing: border-box;
max-height: 200px;
background: #fff;
border: 1px solid #aaa;
font-size: 14px;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
z-index: 10000;
}
.tabulator-edit-select-list .tabulator-edit-select-list-item {
padding: 4px;
color: #333;
}
.tabulator-edit-select-list .tabulator-edit-select-list-item.active {
color: #fff;
background: #1D68CD;
}
.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused {
outline: 1px solid rgba(255, 255, 255, 0.5);
}
.tabulator-edit-select-list .tabulator-edit-select-list-item.focused {
outline: 1px solid #1D68CD;
}
.tabulator-edit-select-list .tabulator-edit-select-list-item:hover {
cursor: pointer;
color: #fff;
background: #1D68CD;
}
.tabulator-edit-select-list .tabulator-edit-select-list-notice {
padding: 4px;
color: #333;
text-align: center;
}
.tabulator-edit-select-list .tabulator-edit-select-list-group {
border-bottom: 1px solid #aaa;
padding: 4px;
padding-top: 6px;
color: #333;
font-weight: bold;
}
.tabulator.tabulator-ltr {
direction: ltr;
}
.tabulator.tabulator-rtl {
text-align: initial;
direction: rtl;
}
.tabulator.tabulator-rtl .tabulator-header .tabulator-col {
text-align: initial;
border-left: 1px solid #aaa;
border-right: initial;
}
.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols {
margin-right: initial;
margin-left: -1px;
}
.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title {
padding-right: 0;
padding-left: 25px;
}
.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow {
left: 8px;
right: initial;
}
.tabulator.tabulator-rtl .tabulator-row .tabulator-cell {
border-right: initial;
border-left: 1px solid #aaa;
}
.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch {
margin-right: initial;
margin-left: 5px;
border-bottom-left-radius: initial;
border-bottom-right-radius: 1px;
border-left: initial;
border-right: 2px solid #aaa;
}
.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control {
margin-right: initial;
margin-left: 5px;
}
.tabulator.tabulator-rtl .tabulator-col-resize-handle {
position: absolute;
left: 0;
right: auto;
}
.tabulator.tabulator-rtl .tabulator-col-resize-handle.prev {
right: 0;
left: auto;
}
.tabulator-print-fullscreen {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 10000;
}
body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
display: none !important;
}
.tabulator-print-table {
border-collapse: collapse;
}
.tabulator-print-table .tabulator-data-tree-branch {
display: inline-block;
vertical-align: middle;
height: 9px;
width: 7px;
margin-top: -9px;
margin-right: 5px;
border-bottom-left-radius: 1px;
border-left: 2px solid #aaa;
border-bottom: 2px solid #aaa;
}
.tabulator-print-table .tabulator-print-table-group {
box-sizing: border-box;
border-bottom: 1px solid #999;
border-right: 1px solid #aaa;
border-top: 1px solid #999;
padding: 5px;
padding-left: 10px;
background: #ccc;
font-weight: bold;
min-width: 100%;
}
.tabulator-print-table .tabulator-print-table-group:hover {
cursor: pointer;
background-color: rgba(0, 0, 0, 0.1);
}
.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow {
margin-right: 10px;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 6px solid #666;
border-bottom: 0;
}
.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td {
padding-left: 30px !important;
}
.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td {
padding-left: 50px !important;
}
.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td {
padding-left: 70px !important;
}
.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td {
padding-left: 90px !important;
}
.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td {
padding-left: 110px !important;
}
.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle {
display: inline-block;
}
.tabulator-print-table .tabulator-print-table-group .tabulator-arrow {
display: inline-block;
width: 0;
height: 0;
margin-right: 16px;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
border-right: 0;
border-left: 6px solid #666;
vertical-align: middle;
}
.tabulator-print-table .tabulator-print-table-group span {
margin-left: 10px;
color: #d00;
}
.tabulator-print-table .tabulator-data-tree-control {
display: inline-flex;
justify-content: center;
align-items: center;
vertical-align: middle;
height: 11px;
width: 11px;
margin-right: 5px;
border: 1px solid #333;
border-radius: 2px;
background: rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.tabulator-print-table .tabulator-data-tree-control:hover {
cursor: pointer;
background: rgba(0, 0, 0, 0.2);
}
.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse {
display: inline-block;
position: relative;
height: 7px;
width: 1px;
background: transparent;
}
.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after {
position: absolute;
content: "";
left: -3px;
top: 3px;
height: 1px;
width: 7px;
background: #333;
}
.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand {
display: inline-block;
position: relative;
height: 7px;
width: 1px;
background: #333;
}
.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after {
position: absolute;
content: "";
left: -3px;
top: 3px;
height: 1px;
width: 7px;
background: #333;
}
/*
* @prop --table-max-column-width: defines a maximum width for columns using standard size units, to prevent the table from growing too wide. Set to `auto` if you do not need this limitation. Defaults to `40rem`.
*/
:host(limel-table) {
isolation: isolate;
display: block;
--table-header-background-color: var(--contrast-500);
--table-header-background-color--hover: var(--contrast-400);
--table-header-background-color-when-being-dragged: var(--contrast-100);
--table-row-background-color--odd: var(--contrast-200);
--table-row-background-color--even: var(--contrast-100);
--table-row-background-color--hover: var(
--lime-elevated-surface-background-color
);
--table-row-background-color--active: var(--contrast-300);
--table-arrow-color: var(--contrast-800);
--table-arrow-color--active: var(
--lime-primary-color,
var(--limel-theme-primary-color)
);
--table-text-color: var(--limel-theme-text-primary-on-background-color);
--limel-chip-size: 1.25rem;
}
#tabulator-container,
#tabulator-table {
height: 100%;
width: 100%;
}
.tabulator {
display: flex;
flex-direction: column;
}
.tabulator * {
box-sizing: border-box;
}
.tabulator .tabulator-header {
flex-shrink: 0;
}
.tabulator .tabulator-tableHolder {
isolation: isolate;
flex-grow: 1;
height: unset !important;
max-height: unset !important;
min-height: unset !important;
padding-bottom: 5rem;
}
.tabulator .tabulator-footer {
flex-shrink: 0;
}
#tabulator-container:not(.has-pagination) .tabulator-paginator {
visibility: hidden;
display: none !important;
}
#tabulator-container {
position: relative;
}
#tabulator-container,
#tabulator-table {
background-color: transparent;
border: none;
}
.tabulator .tabulator-header {
color: var(--table-text-color);
}
.tabulator .tabulator-tableHolder .tabulator-table {
color: var(--table-text-color);
background-color: transparent;
}
.tabulator .tabulator-header {
border-bottom: 0;
background-color: rgb(var(--table-header-background-color));
}
.tabulator .tabulator-header .tabulator-headers {
width: fit-content;
}
.tabulator .tabulator-header .tabulator-col {
transition: background-color 0.2s ease;
background-color: rgb(var(--table-header-background-color));
border-right-color: rgb(var(--contrast-200));
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover {
background-color: rgb(var(--table-header-background-color--hover));
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content {
padding-right: 0.5rem;
}
.tabulator .tabulator-header .tabulator-col-title-holder {
display: flex;
gap: 0.25rem;
}
.tabulator .tabulator-header .tabulator-col-sorter {
order: 1;
}
.tabulator .tabulator-header .tabulator-col-title {
order: 2;
font-weight: 500;
padding-right: 0 !important;
line-height: 1.25rem;
}
.tabulator-row {
transition: background-color 0.2s ease;
height: 2.25rem;
}
.tabulator-row:hover {
transition: background-color 0.1s ease;
}
.tabulator-row.tabulator-row-odd, .tabulator-row.tabulator-row-odd:hover {
background-color: rgb(var(--table-row-background-color--odd));
}
.tabulator-row.tabulator-row-even, .tabulator-row.tabulator-row-even:hover {
background-color: rgb(var(--table-row-background-color--even));
}
.tabulator-row .tabulator-cell {
border-right: transparent;
padding: 0.5rem;
padding-left: 1rem;
height: inherit;
}
.tabulator-row .tabulator-cell[style*="text-align: right;"] {
justify-content: flex-end;
}
.tabulator-row .tabulator-cell[style*="text-align: center;"] {
justify-content: center;
}
.tabulator-row .tabulator-col-resize-handle {
display: none;
}
.tabulator-col,
.tabulator-cell {
max-width: var(--table-max-column-width, 40rem);
}
#tabulator-loader,
#tabulator-empty-text {
position: absolute;
width: 100%;
height: 100%;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
}
#tabulator-loader {
background-color: rgba(var(--contrast-100), 0.6);
cursor: wait;
}
#tabulator-empty-text {
color: rgb(var(--contrast-800));
font-weight: bold;
font-size: 1.25rem;
pointer-events: none;
}
limel-chip {
transform: translateY(-0.15rem);
}
/*
* This file is imported into every component!
*
* Nothing in this file may output any CSS
* without being explicitly called by outside code.
*/
.tabulator-col-sorter {
transition: opacity 0.2s ease;
right: 0 !important;
position: relative !important;
justify-content: center;
cursor: pointer;
}
[aria-sort=none] .tabulator-col-sorter {
opacity: 0;
}
[aria-sort=desc] .tabulator-col-sorter, [aria-sort=asc] .tabulator-col-sorter {
opacity: 1;
}
[aria-sort=desc] .tabulator-col-sorter:before, [aria-sort=asc] .tabulator-col-sorter:before {
position: absolute;
content: "";
width: 0.125rem;
height: 0.4rem;
background-color: var(--table-arrow-color--active);
}
.tabulator-sortable[aria-sort=desc]:hover .tabulator-col-sorter, .tabulator-sortable[aria-sort=asc]:hover .tabulator-col-sorter {
opacity: 1;
animation: indicate-sortable-sorted-column 0.5s ease;
}
.tabulator-sortable[aria-sort=none]:hover .tabulator-col-sorter {
opacity: 1;
}
.tabulator-sortable[aria-sort=none]:hover .tabulator-col-sorter .tabulator-arrow {
animation: indicate-sortable-unsorted-column 2s ease forwards;
}
.tabulator-arrow {
transition: border 0.2s ease;
border-left: 0.25rem solid transparent !important;
border-right: 0.25rem solid transparent !important;
}
.tabulator#tabulator-table .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-arrow {
height: 0.75rem;
border-top-width: 0.25rem;
border-top-style: solid;
border-top-color: rgb(var(--table-arrow-color));
border-bottom-width: 0.25rem;
border-bottom-style: solid;
border-bottom-color: rgb(var(--table-arrow-color));
}
.tabulator#tabulator-table .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-arrow {
height: 0;
transform: translate3d(0, -0.2rem, 0) rotate(180deg);
border-top-width: 0.25rem;
border-bottom-width: 0;
border-top-color: var(--table-arrow-color--active);
}
.tabulator#tabulator-table .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-arrow {
height: 0;
transform: translate3d(0, 0.2rem, 0) rotate(180deg);
border-top-width: 0;
border-bottom-width: 0.25rem;
border-bottom-color: var(--table-arrow-color--active);
}
@keyframes indicate-sortable-sorted-column {
0%, 100% {
transform: translate3d(0, 0, 0);
}
30% {
transform: translate3d(0, -0.0875rem, 0);
}
60% {
transform: translate3d(0, 0.0875rem, 0);
}
}
@keyframes indicate-sortable-unsorted-column {
0%, 15%, 45%, 75% {
border-top-color: transparent;
border-bottom-color: transparent;
transform: translate3d(0, 0, 0);
}
30% {
border-top-color: transparent;
border-bottom-color: var(--table-arrow-color--active);
transform: translate3d(0, -0.3125rem, 0);
}
60% {
border-top-color: var(--table-arrow-color--active);
border-bottom-color: transparent;
transform: translate3d(0, 0.3125rem, 0);
}
100% {
border-top-color: rgb(var(--table-arrow-color));
border-bottom-color: rgb(var(--table-arrow-color));
}
}
/**
* Note! This file is exported to `dist/scss/` in the published
* node module, for consumer projects to import.
* That means this file cannot import from any file that isn't
* also exported, keeping the same relative path.
*
* Or, just don't import anything, that works too.
*/
/**
* This can be used on a trigger element that opens a dropdown menu or a popover.
*/
/**
* This mixin will mask out the content that is close to
* the edges of a scrollable area.
* - If the scrollable content has `overflow-y`, use `vertically`
* as an argument for `$direction`.
- If the scrollable content has `overflow-x`, use `horizontally`
* as an argument for `$direction`.
*
* For the visual effect to work smoothly, we need to make sure that
* the size of the fade-out edge effect is the same as the
* internal paddings of the scrollable area. Otherwise, content of a
* scrollable area that does not have a padding will fade out before
* any scrolling has been done.
* This is why this mixin already adds paddings, which automatically
* default to the size of the fade-out effect.
* This size defaults to `1rem`, but to override the size use
* `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
* when `vertically` argument is set, and use
* `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
* when `horizontally` argument is set.
* Of course you can also programmatically increase and decrease the
* size of these variables for each edge, based on the amount of
* scrolling that has been done by the user. In this case, make sure
* to add a custom padding where the mixin is used, to override
* the paddings that are automatically added by the mixin in the
* compiled CSS code.
*/
/**
* This mixin will add an animated underline to the bottom of an `a` elements.
* Note that you may need to add `all: unset;` –depending on your use case–
* before using this mixin.
*/
/**
* This mixin creates a cross-browser font stack.
* - `sans-serif` can be used for the UI of the components.
* - `monospace` can be used for code.
*
* ⚠️ If we change the font stacks, we need to update
* 1. the consumer documentation in `README.md`, and
* 2. the CSS variables of `--kompendium-example-font-family`
* in the `<style>` tag of `index.html`.
*/
/**
* This mixin is a hack, using old CSS syntax
* to enable you to truncate a piece of text,
* after a certain number of lines.
*/
/**
* This mixin will add a chessboard background pattern,
* typically used to visualize transparency.
*/
/**
* Make a container resizable by the user.
* This is used in the documentations and examples
* of some components, to demonstrate how the component
* behaves in a resizable container.
*/
/**
* The breakpoints below are used to create responsive designs
* in Lime's products. Therefore, they are here to get distributed
* to all components in other private repos, which rely on this `mixins`
* file, to create consistent styles.
*
* :::important
* In very rare cases you should used media queries!
* Nowadays, there are many better ways of achieving responsive design
* without media queries. For example, using CSS Grid, Flexbox, and their features.
* :::
*/
/**
* Media query mixins for responsive design based on screen width.
* Note that these mixins do not detect the device type!
*/
/*
* This file is imported into every component!
*
* Nothing in this file may output any CSS
* without being explicitly called by outside code.
*/
.tabulator .tabulator-footer .tabulator-paginator {
box-sizing: border-box;
display: grid;
grid-auto-flow: column;
justify-content: end;
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
.tabulator .tabulator-footer .tabulator-paginator .tabulator-pages {
margin: 0 0.5rem;
}
.tabulator .tabulator-footer .tabulator-paginator .tabulator-pages .tabulator-page {
margin: 0 0rem;
}
.tabulator .tabulator-footer .tabulator-paginator .tabulator-page {
position: relative;
height: 1.75rem;
min-width: 1.75rem;
padding: 0 0.5rem;
margin: 0;
border: none;
border-radius: 2.5rem;
background-color: transparent;
}
.tabulator .tabulator-footer .tabulator-paginator .tabulator-page:not([disabled]) {
transition: color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);
cursor: pointer;
color: rgb(var(--contrast-1200)) !important;
background-color: transparent;
}
.tabulator .tabulator-footer .tabulator-paginator .tabulator-page:not([disabled]):hover, .tabulator .tabulator-footer .tabulator-paginator .tabulator-page:not([disabled]):focus, .tabulator .tabulator-footer .tabulator-paginator .tabulator-page:not([disabled]):focus-visible {
will-change: color, background-color, box-shadow, transform;
}
.tabulator .tabulator-footer .tabulator-paginator .tabulator-page:not([disabled]):hover, .tabulator .tabulator-footer .tabulator-paginator .tabulator-page:not([disabled]):focus-visible {
transform: translate3d(0, 0.01rem, 0);
color: var(--limel-theme-on-surface-color);
background-color: var(--lime-elevated-surface-background-color);
}
.tabulator .tabulator-footer .tabulator-paginator .tabulator-page:not([disabled]):hover {
box-shadow: var(--button-shadow-hovered);
}
.tabulator .tabulator-footer .tabulator-paginator .tabulator-page:not([disabled]):active {
--limel-clickable-transform-timing-function: cubic-bezier(
0.83,
-0.15,
0.49,
1.16
);
transform: translate3d(0, 0.05rem, 0);
box-shadow: var(--button-shadow-pressed);
}
.tabulator .tabulator-footer .tabulator-paginator .tabulator-page:not([disabled]):hover, .tabulator .tabulator-footer .tabulator-paginator .tabulator-page:not([disabled]):active {
--limel-clickable-transition-speed: 0.2s;
--limel-clickable-transform-speed: 0.16s;
}
.tabulator .tabulator-footer .tabulator-paginator .tabulator-page.active {
background-color: var(--limel-theme-surface-background-color);
box-shadow: var(--button-shadow-inset);
}
.tabulator .tabulator-footer .tabulator-paginator .tabulator-page:disabled {
cursor: not-allowed;
}
.tabulator .tabulator-footer .tabulator-paginator .tabulator-page:disabled:hover {
background-color: transparent;
}
button.tabulator-page {
display: inline-flex !important;
align-items: center;
justify-content: center;
}
button.tabulator-page[data-page=first], button.tabulator-page[data-page=prev], button.tabulator-page[data-page=next], button.tabulator-page[data-page=last] {
font-size: 0;
color: transparent !important;
}
button.tabulator-page[data-page=first]:before, button.tabulator-page[data-page=first]:after, button.tabulator-page[data-page=prev]:before, button.tabulator-page[data-page=prev]:after, button.tabulator-page[data-page=next]:before, button.tabulator-page[data-page=next]:after, button.tabulator-page[data-page=last]:before, button.tabulator-page[data-page=last]:after {
content: "";
transition: transform 0.2s ease;
display: block;
position: absolute;
}
button.tabulator-page[data-page=first]:after, button.tabulator-page[data-page=prev]:after, button.tabulator-page[data-page=next]:after, button.tabulator-page[data-page=last]:after {
border-style: solid;
border-color: transparent;
border-width: 0.25rem 0 0.25rem 0.4rem;
border-left-color: var(--limel-theme-on-surface-color);
}
button.tabulator-page[data-page=first]:before, button.tabulator-page[data-page=last]:before {
height: 0.5rem;
width: 0.125rem;
background-color: var(--limel-theme-on-surface-color);
}
button.tabulator-page[data-page=first]:before {
left: 0.375rem;
}
button.tabulator-page[data-page=last]:before {
right: 0.375rem;
}
button.tabulator-page[data-page=first]:after, button.tabulator-page[data-page=prev]:after {
transform: rotateZ(180deg);
}
button.tabulator-page[data-page=next]:not([disabled]):hover:after, button.tabulator-page[data-page=last]:not([disabled]):hover:after {
transform: translate3d(0.09375rem, 0, 0);
}
button.tabulator-page[data-page=first]:not([disabled]):hover:after, button.tabulator-page[data-page=prev]:not([disabled]):hover:after {
transform: translate3d(-0.09375rem, 0, 0) rotateZ(180deg);
}
/*
* This file is imported into every component!
*
* Nothing in this file may output any CSS
* without being explicitly called by outside code.
*/
@keyframes fade-in-tabulator-loader {
0% {
background: transparent;
}
100% {
background: rgba(var(--contrast-1400), 0.4);
}
}
@keyframes spin-tabulator-loader {
to {
transform: rotate(360deg);
}
}
.tabulator .tabulator-loader {
animation: fade-in-tabulator-loader 0.5s ease 0.5s forwards;
animation-iteration-count: 1;
cursor: progress;
background: transparent;
}
.tabulator .tabulator-loader .tabulator-loader-msg {
animation: spin-tabulator-loader 0.4s linear infinite;
color: transparent;
font-size: 0;
border-radius: 50%;
border: 0.1875rem solid rgb(var(--lime-brand-color-flexible-turquoise)) !important;
border-top-color: transparent !important;
width: 1.25rem;
height: 1.25rem;
background-color: transparent !important;
padding: 0;
}
/**
* Note! This file is exported to `dist/scss/` in the published
* node module, for consumer projects to import.
* That means this file cannot import from any file that isn't
* also exported, keeping the same relative path.
*
* Or, just don't import anything, that works too.
*/
/**
* This can be used on a trigger element that opens a dropdown menu or a popover.
*/
/**
* This mixin will mask out the content that is close to
* the edges of a scrollable area.
* - If the scrollable content has `overflow-y`, use `vertically`
* as an argument for `$direction`.
- If the scrollable content has `overflow-x`, use `horizontally`
* as an argument for `$direction`.
*
* For the visual effect to work smoothly, we need to make sure that
* the size of the fade-out edge effect is the same as the
* internal paddings of the scrollable area. Otherwise, content of a
* scrollable area that does not have a padding will fade out before
* any scrolling has been done.
* This is why this mixin already adds paddings, which automatically
* default to the size of the fade-out effect.
* This size defaults to `1rem`, but to override the size use
* `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
* when `vertically` argument is set, and use
* `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
* when `horizontally` argument is set.
* Of course you can also programmatically increase and decrease the
* size of these variables for each edge, based on the amount of
* scrolling that has been done by the user. In this case, make sure
* to add a custom padding where the mixin is used, to override
* the paddings that are automatically added by the mixin in the
* compiled CSS code.
*/
/**
* This mixin will add an animated underline to the bottom of an `a` elements.
* Note that you may need to add `all: unset;` –depending on your use case–
* before using this mixin.
*/
/**
* This mixin creates a cross-browser font stack.
* - `sans-serif` can be used for the UI of the components.
* - `monospace` can be used for code.
*
* ⚠️ If we change the font stacks, we need to update
* 1. the consumer documentation in `README.md`, and
* 2. the CSS variables of `--kompendium-example-font-family`
* in the `<style>` tag of `index.html`.
*/
/**
* This mixin is a hack, using old CSS syntax
* to enable you to truncate a piece of text,
* after a certain number of lines.
*/
/**
* This mixin will add a chessboard background pattern,
* typically used to visualize transparency.
*/
/**
* Make a container resizable by the user.
* This is used in the documentations and examples
* of some components, to demonstrate how the component
* behaves in a resizable container.
*/
/**
* The breakpoints below are used to create responsive designs
* in Lime's products. Therefore, they are here to get distributed
* to all components in other private repos, which rely on this `mixins`
* file, to create consistent styles.
*
* :::important
* In very rare cases you should used media queries!
* Nowadays, there are many better ways of achieving responsive design
* without media queries. For example, using CSS Grid, Flexbox, and their features.
* :::
*/
/**
* Media query mixins for responsive design based on screen width.
* Note that these mixins do not detect the device type!
*/
/*
* This file is imported into every component!
*
* Nothing in this file may output any CSS
* without being explicitly called by outside code.
*/
.interactive-feedback {
position: absolute;
inset: 0;
min-height: 0.125rem;
transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
}
.tabulator-row:not(.tabulator-calcs) .tabulator-cell {
pointer-events: none;
}
.tabulator-row:not(.tabulator-calcs) .tabulator-cell > * {
pointer-events: auto;
}
.tabulator-row:not(.tabulator-calcs).tabulator-selectable:hover {
z-index: 2;
}
.tabulator-row:not(.tabulator-calcs).tabulator-selectable.active .interactive-feedback {
background-color: rgb(var(--table-row-background-color--active));
box-shadow: var(--button-shadow-inset-pressed);
}
.tabulator-row:not(.tabulator-calcs).tabulator-selectable.active:before {
content: "";
display: inline-block;
box-sizing: border-box;
position: sticky;
z-index: 3;
inset: 0 0 auto 0;
border: 0.2rem solid var(--lime-primary-color, var(--limel-theme-primary-color));
border-radius: 1rem;
margin-right: -0.4rem;
}
:host(.has-interactive-rows) .tabulator-row:not(.tabulator-calcs).tabulator-selectable .interactive-feedback:hover {
box-shadow: var(--button-shadow-hovered);
}
:host(.has-interactive-rows) .tabulator-row:not(.tabulator-calcs).tabulator-selectable:active .interactive-feedback {
box-shadow: var(--