UNPKG

@xuda.io/xuda-widget-plugin-ag-grid

Version:

Xuda Ag Grid widget plugin

316 lines (265 loc) 5.55 kB
.ag-center-aligned-cell { text-align: center; } .grid_wrapper { width: 100%; height: 100%; display: flex; flex-direction: column; } .grid_bar { height: 40px; display: flex; align-content: center; justify-content: center; align-items: center; } .grid_bold_row { font-weight: bold; } .grid_add_row { background-color: red; } .grid_pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; width: 50%; height: 16px; background: lightgray; border-radius: 10px; margin-top: 11px; margin-bottom: auto; } .grid_bar_pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; width: 100%; background: lightgray; } .grid_bar_add { background: gold; } .grid_top { flex: 1 1 auto; } .grid_bottom { height: 60px; } .grid_add { flex: 1 1 auto; } .grid_bold_row { font-weight: bold; } .grid_add_row { background-color: red; } .grid_pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; width: 50%; height: 16px; background: lightgray; border-radius: 10px; margin-top: 11px; margin-bottom: auto; } @keyframes pulse { 50% { opacity: 0.5; } } .ag-header { z-index: 99; } .ag-popup-editor { } .ag-grid-contextMenu { direction: ltr; position: absolute; display: none; background-color: whitesmoke; /* padding: 10px; */ box-shadow: 0 1px #0000000d, 0 4px 10px rgb(0 0 0 / 30%); border-radius: 6px; z-index: 99; width: 160px; height: 140px; overflow: auto; -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ z-index: 99999; -webkit-animation: fadeIn-labelAnimation 0.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; animation: fadeIn-labelAnimation 0.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; -webkit-backface-visibility: hidden; -webkit-transform: translateZ(0) scale(1); } .ag-grid-contextMenu::-webkit-scrollbar { display: none; } .ag-grid-contextMenu ul { display: block; position: static; margin-bottom: 5px; list-style: none; margin: 0; padding: 0; } .ag-grid-contextMenu ul .ag-grid-contextMenu-item-header { padding: 10px; text-align: center; background-color: lightgray; } .ag-grid-contextMenu li { padding: 7px; padding-left: 20px; display: flex; justify-content: space-between; align-content: center; /* font: bold 200px arial, sans-serif; */ /* background-color: #565656; color: transparent; text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.5); -webkit-background-clip: text; -moz-background-clip: text; background-clip: text; */ } .ag-grid-contextMenu li:hover { background-color: lightgray; cursor: pointer; } .ag-grid-popupMenu { position: absolute; display: none; background-color: whitesmoke; padding: 5px; box-shadow: 0 1px #0000000d, 0 4px 10px rgb(0 0 0 / 30%); border-radius: 6px; z-index: 99; width: 200px; height: 200px; overflow: auto; -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ z-index: 99999; -webkit-animation: fadeIn-labelAnimation 0.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; animation: fadeIn-labelAnimation 0.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; -webkit-backface-visibility: hidden; -webkit-transform: translateZ(0) scale(1); } .ag-grid-popupMenu::-webkit-scrollbar { display: none; } .ag-grid-popupMenu ul { display: block; position: static; margin-bottom: 5px; list-style: none; margin: 0; padding: 0; } .ag-grid-popupMenu li { padding: 5px; display: flex; justify-content: space-between; align-content: center; } @-webkit-keyframes fadeIn-labelAnimation { 0% { opacity: 0; -webkit-transform: scale(0.97); -ms-transform: scale(0.97); transform: scale(0.97); } to { opacity: 1; -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } } @keyframes fadeIn-labelAnimation { 0% { opacity: 0; -webkit-transform: scale(0.97); -ms-transform: scale(0.97); transform: scale(0.97); } to { opacity: 1; -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } } .labelAnimation { -webkit-animation: fadeIn-labelAnimation 0.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; animation: fadeIn-labelAnimation 0.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; -webkit-backface-visibility: hidden; -webkit-transform: translateZ(0) scale(1); } .ag-grid-menu-show { display: block; } .ag-grid-menu-hide { display: none; } .ag-grid-contextMenu_item_enabled { color: black; } .ag-grid-contextMenu_item_disabled { color: lightgray; } .ag-grid-filepond-wrapper { width: 500px; margin-left: auto; margin-right: auto; margin-top: 100px; } .ag-grid-filepond-close { text-decoration: underline; color: white; } .ag-grid-filepond-close:hover { cursor: pointer; } .grid_pond { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); z-index: 99; } .ag-grid-filepond-error { color: white; display: none; } .ag-grid-filepond-error ul { list-style: num; list-style-position: inside; margin-top: 10px; } .ag-grid-filepond-error ul li { margin-top: 10px; } @-webkit-keyframes blinker { from { background-color: yellow; } to { background-color: inherit; } } .ag-grid-new-row-blink { text-decoration: blink; -webkit-animation-name: blinker; -webkit-animation-duration: 0.6s; -webkit-animation-timing-function: ease-in-out; -webkit-animation-direction: alternate; }