1 line
6.7 KiB
Plaintext
1 line
6.7 KiB
Plaintext
{"version":3,"sources":["webpack:///./src/src/design-grid.scss"],"names":[],"mappings":"AAwDA,QACE,yBACA,kBACA,iBACA,6CACA,eAAgB,CALlB,6BAOI,WAtCF,SACA,UAuCE,YACA,yBACA,iBACA,mBACA,kBACA,+BApEmB,CAsDvB,gCA/BE,SACA,UA+CI,qBACA,kBAAmB,CAlBzB,oCAoBQ,gBACA,gBAAiB,CArBzB,uBA0BI,gBACA,yBApDF,kBAAmB,CAyBrB,wCAxCE,sBACA,yBACA,qBACA,wBACA,iBACA,eAkEI,+BACA,gBACA,iBAAkB,CAjCxB,oDAPE,WACA,eACA,cAxCqB,CA6CvB,0CAuCM,qBA3FkB,CAoDxB,6CA0CM,WACA,qBAAsB,CA3C5B,wDA8CU,cACA,gBAAiB,CA/C3B,8CAoDM,kBACA,YACA,MACA,WACA,UACA,UACA,gBAAiB,CA1DvB,qBA8DI,WACA,cACA,iCACA,kBACA,SACA,QAAS,CAnEb,0CAqEM,kBACA,eACA,mBACA,wBAAyB,CAxE/B,iCAzBE,mBAqGI,sBACA,gCACA,cAAe,CA9ErB,+CAgFQ,wBAnIS,CAmDjB,kGAqFU,wBAtIQ,CAiDlB,qDAyFQ,wBAzIa,CAgDrB,wEA2FU,qBA/Ic,CAoDxB,yEA8FU,wBA9IW,CAgDrB,uKAmGY,qBAlJI,CA+ChB,+HA6GU,wBA7JW,CAgDrB,oCAiHQ,+BACA,gBACA,uBAlJN,SACA,SAAU,CA8BZ,gDAxCE,sBACA,yBACA,qBACA,wBACA,iBACA,eA0JQ,kBACA,kBA/HR,WACA,eACA,cAxCqB,CA6CvB,oDA8HY,wBAnLO,CAqDnB,oEAiIY,kBACA,WACA,OACA,SACA,WACA,UACA,gBAAiB,CAvI7B,+CA2IU,iBAAkB,CA3I5B,wCA8IU,eACA,qBAAsB,CA/IhC,4CAiJY,eACA,sBACA,gBACA,iBAAkB,CApJ9B,6DApBE,cACA,mBACA,YACA,YACA,WACA,qBAAsB,CACtB,iJAEE,YAAa,CACd,4EAmKa,WACA,wBAAoC,CAzJpD,2DA6Jc,kBACA,YACA,QACA,UACA,gBACA,eACA,gBACA,cAAe,CApK7B,kEAsKgB,eAAgB","file":"design-grid.min.css","sourcesContent":["// define variables\n//\n$header-border: #bababa;\n$header-bg: #e0e0e0;\n$header-selectd-bg: #ccc;\n$even-bg: #f4f4f4;\n$disabled-bg: gray;\n$hover-bg: #f0f0f0;\n$selected-bg: #e6e6e6;\n$active-bg: #fff;\n$body-border: #cacaca;\n$row-header-width: 30px;\n//\n// mixins\n//\n@mixin non-selectable {\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n -khtml-user-select: none;\n user-select: none;\n cursor: default;\n}\n\n@mixin no-padding-margin {\n margin: 0;\n padding: 0;\n}\n\n@mixin nowrap-one-row {\n // line-height: 26px;\n white-space: nowrap;\n}\n\n@mixin text-one-row {\n // text-indent: 4px;\n padding: 0 4px;\n vertical-align: top;\n border: none;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n &::-ms-clear,\n &::-ms-reveal {\n display: none;\n }\n}\n\n@mixin fixed-width($width) {\n width: $width;\n min-width: $width;\n max-width: $width;\n}\n\n// start the content\n//\n.d-grid {\n border: 1px solid rgb(162, 173, 184);\n position: relative;\n font-size: .75rem;\n font-family: Tahoma, Geneva, Verdana, sans-serif, 'PingFang SC', 'Microsoft YaHei UI';\n overflow: hidden;\n .d-grid-table-header {\n width: 100%;\n @include no-padding-margin;\n border: none;\n border-collapse: collapse;\n border-spacing: 0;\n table-layout: fixed;\n position: relative;\n border-bottom: 1px solid $header-border;\n th {\n @include no-padding-margin;\n word-wrap: break-word;\n white-space: normal;\n div {\n overflow: hidden;\n line-height: 18px;\n }\n }\n }\n .d-grid-header {\n overflow: hidden;\n background-color: $header-bg;\n @include nowrap-one-row;\n .d-column-header {\n @include non-selectable;\n border-right: 1px solid $header-border;\n font-weight: normal;\n position: relative;\n &:first-child {\n @include fixed-width($row-header-width);\n }\n }\n .d-column-selected {\n background-color: $header-selectd-bg;\n }\n .d-column-header-text {\n margin: 4px;\n box-sizing: border-box;\n >span {\n >input {\n margin-left: 0;\n margin-right: 4px;\n }\n }\n }\n .d-column-header-split {\n position: absolute;\n height: 100%;\n top: 0;\n right: -4px;\n width: 8px;\n z-index: 1;\n cursor: ew-resize;\n }\n }\n .d-grid-body {\n width: 100%;\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n position: absolute;\n top: 27px;\n bottom: 0;\n .d-grid-body-content {\n position: absolute;\n min-width: 100%;\n table-layout: fixed;\n border-collapse: collapse;\n }\n .d-grid-row {\n @include nowrap-one-row;\n background-color: #fff;\n border-bottom: 1px solid $body-border;\n min-width: 100%;\n &:nth-child(even) {\n background-color: $even-bg;\n }\n &:hover {\n background-color: $hover-bg;\n >td>input[type=\"text\"] {\n background-color: $hover-bg;\n }\n }\n &.d-grid-row-selected {\n background-color: $selected-bg;\n >td:first-child>div {\n background-color: $header-selectd-bg;\n }\n >td>input[type=\"text\"] {\n background-color: $selected-bg;\n }\n .d-grid-cell-selected {\n background-color: $active-bg;\n >input[type=\"text\"] {\n background-color: $active-bg;\n }\n // >input[type=\"text\"]:disabled {\n // background-color: rgb(235, 235, 228);\n // }\n }\n }\n .d-grid-cell-selected {\n background-color: $selected-bg;\n >input[type=\"text\"] {\n background-color: $selected-bg;\n }\n }\n >td {\n border-right: 1px solid $body-border;\n overflow: hidden;\n text-overflow: ellipsis;\n @include no-padding-margin;\n &:first-child {\n @include non-selectable;\n text-align: center;\n position: relative;\n @include fixed-width($row-header-width);\n >div {\n // width: $row-header-width;\n // display: table-cell;\n // vertical-align: middle;\n background-color: $header-bg;\n }\n .d-row-header-split {\n position: absolute;\n width: 100%;\n left: 0;\n bottom: 0;\n height: 6px;\n z-index: 1;\n cursor: ns-resize;\n }\n }\n &:last-child {\n border-right: none;\n }\n >div {\n height: inherit;\n box-sizing: border-box;\n >div {\n height: inherit;\n box-sizing: border-box;\n overflow: hidden;\n position: relative;\n >input[type=\"text\"] {\n @include text-one-row;\n &.readonly-input {\n color: $disabled-bg;\n background-color: rgb(235, 235, 228);\n }\n }\n >.fi-multilangs {\n position: absolute;\n height: 14px;\n top: 50%;\n right: 4px;\n margin-top: -8px;\n font-size: 14px;\n font-weight: 300;\n cursor: pointer;\n &::before {\n content: '\\f022';\n }\n }\n }\n }\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/src/design-grid.scss"],"sourceRoot":""} |