web-apps/apps/common/main/resources/less/table-styler.less

92 lines
2.9 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
.table-styler {
2021-04-29 16:21:41 +00:00
background-color: @canvas-content-background;
2021-03-04 21:37:06 +00:00
table {
&.transparent {
background-color: @canvas-content-background !important;
}
}
2016-03-11 00:48:53 +00:00
td {
padding: 0;
&.content-box {
height: 50%;
.tablestyler-cell {
height: 100%;
.cell-content{
height: 100%;
padding: 6px;
}
}
}
}
.tablestyler-cell .cell-content .content-text {
display: block;
2021-05-01 20:25:08 +00:00
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAEAQMAAACeIXx6AAAABlBMVEVMaXHAwMBbbSKjAAAAAXRSTlMAQObYZgAAAA1JREFUeNpjOMDEAAIABVQAw/N8ALEAAAAASUVORK5CYII=') repeat 0 0 scroll;
background-size: 2px 4px;
2016-03-11 00:48:53 +00:00
height: 100%;
2021-05-01 20:25:08 +00:00
.pixel-ratio__1_25 & {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAFAQMAAABVfa/fAAAABlBMVEVMaXHAwMBbbSKjAAAAAXRSTlMAQObYZgAAAA1JREFUeNpjOMDEAAEABtoAw4z263sAAAAASUVORK5CYII=');
}
2021-05-01 20:25:08 +00:00
.pixel-ratio__1_5 & {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGAQMAAAA8K7ZPAAAABlBMVEVMaXHAwMBbbSKjAAAAAXRSTlMAQObYZgAAAA5JREFUeNpjeMAAgmAAABesAqGy0C2BAAAAAElFTkSuQmCC');
}
.pixel-ratio__1_75 & {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAHAQMAAAAYtQ7UAAAABlBMVEVMaXHAwMBbbSKjAAAAAXRSTlMAQObYZgAAAA5JREFUeNpjOMAAglAAABjOAkF/wXxcAAAAAElFTkSuQmCC');
}
2021-05-01 20:25:08 +00:00
.pixel-ratio__2 & {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAIAQMAAADk/cxGAAAABlBMVEVMaXHAwMBbbSKjAAAAAXRSTlMAQObYZgAAAA5JREFUeNpj+MAAgVAAAC0QA8HkpvUHAAAAAElFTkSuQmCC');
}
2016-03-11 00:48:53 +00:00
}
.ts-preview-box {
position: absolute;
&.ts-preview-box--lt {
border-bottom: 1px dotted gray;
border-bottom: @scaled-one-px-value dotted gray;
border-right: 1px dotted gray;
border-right: @scaled-one-px-value dotted gray;
}
&.ts-preview-box--mt {
}
&.ts-preview-box--rt {
border-bottom: 1px dotted gray;
border-bottom: @scaled-one-px-value dotted gray;
border-left: 1px dotted gray;
border-left: @scaled-one-px-value dotted gray;
}
&.ts-preview-box--rm {
}
&.ts-preview-box--lb {
border-top: 1px dotted gray;
border-top: @scaled-one-px-value dotted gray;
border-right: 1px dotted gray;
border-right: @scaled-one-px-value dotted gray;
}
&.ts-preview-box--lm {
}
&.ts-preview-box--rb {
border-top: 1px dotted gray;
border-top: @scaled-one-px-value dotted gray;
border-left: 1px dotted gray;
border-left: @scaled-one-px-value dotted gray;
}
&.ts-preview-box--mb {
}
}
2016-03-11 00:48:53 +00:00
}