| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586 |
- /**
- ****************************
- * Generic Styles
- ****************************
- */
- // if we don't do this, then the width and height of the grid would be ignored,
- // as there is no default display for the element ag-grid-a2 (as it's not a natural dom element)
- ag-grid, ag-grid-angular, ag-grid-ng2, ag-grid-polymer, ag-grid-aurelia {
- display: block;
- }
- .ag-hidden {
- display: none !important;
- }
- .ag-invisible {
- visibility: hidden !important;
- }
- .ag-drag-handle {
- cursor: move; // IE fallback
- cursor: grab;
- }
- .ag-column-drop-wrapper {
- display: flex;
- }
- .ag-column-drop-horizontal-half-width {
- display: inline-block;
- width: 50% !important;
- }
- .ag-unselectable {
- @include ag-selectable(none);
- }
- .ag-selectable {
- @include ag-selectable(text);
- }
- .ag-tab {
- position: relative;
- }
- .ag-tab-guard {
- position: absolute;
- width: 0;
- height: 0;
- display: block;
- }
- .ag-select-agg-func-popup {
- position: absolute;
- }
- .ag-input-wrapper, .ag-picker-field-wrapper {
- display: flex;
- flex: 1 1 auto;
- align-items: center;
- line-height: normal;
- position: relative;
- }
- // setting shake class to an item will give it a left ot right animation
- // used for the 'left' and 'rigth' arrows when dragging columns and scrolling
- .ag-shake-left-to-right {
- animation-direction: alternate;
- animation-duration: 0.2s;
- animation-iteration-count: infinite;
- animation-name: ag-shake-left-to-right;
- }
- @keyframes ag-shake-left-to-right {
- from {
- padding-left: 6px;
- padding-right: 2px;
- }
- to {
- padding-left: 2px;
- padding-right: 6px;
- }
- }
- .ag-root-wrapper {
- cursor: default;
- position: relative; // set to relative, so absolute popups appear relative to this
- display: flex;
- flex-direction: column;
- overflow: hidden;
- &.ag-layout-normal {
- height: 100%;
- }
- }
- .ag-watermark {
- position: absolute;
- bottom: 10px;
- right: 25px;
- opacity: 0.5;
- transition: opacity 1s ease-out 3s;
- &:before {
- content: '';
- background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNDk0cHgiIGhlaWdodD0iMjM5cHgiIHZpZXdCb3g9IjAgMCA0OTQgMjM5IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA0Ny4xICg0NTQyMikgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+TG9nbzwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdG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ICAgPHVzZSBmaWxsPSIjRTExRjIyIiB4bGluazpocmVmPSIjcGF0aC0xIj48L3VzZT4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJnIiBmaWxsPSIjRTExRjIyIiB4PSIxMjAiIHk9IjkyIiB3aWR0aD0iNDgiIGhlaWdodD0iNDYiIHJ4PSIzIj48L3JlY3Q+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNDAsMTIxIEw4NywxMjEgTDg3LDEzOCBMNDMsMTM4IEw0MywxMzggQzQxLjM0MzE0NTgsMTM4IDQwLDEzNi42NTY4NTQgNDAsMTM1IEw0MCwxMjEgWiIgaWQ9IkNvbWJpbmVkLVNoYXBlIiBmaWxsPSIjRTExRjIyIj48L3BhdGg+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==);
- filter: invert(50%);
- background-repeat: no-repeat;
- background-size: 110px 60px;
- display: block;
- height: 60px;
- width: 110px;
- }
- }
- .ag-watermark-text {
- opacity: 0.5;
- font-weight: bold;
- font-family: Impact, sans-serif;
- font-size: 19px;
- }
- .ag-root-wrapper-body {
- display: flex;
- flex-direction: row;
- &.ag-layout-normal {
- flex: 1 1 auto;
- height: 0;
- min-height: 0;
- }
- }
- .ag-root {
- position: relative; // set to relative, so absolute popups appear relative to this
- display: flex;
- flex-direction: column;
- &.ag-layout-normal,
- &.ag-layout-auto-height {
- overflow: hidden; // was getting some 'shouldn't be there' scrolls, this sorts it out
- flex: 1 1 auto;
- width: 0;
- }
- &.ag-layout-normal {
- height: 100%;
- }
- }
- /**
- ****************************
- * Viewports
- ****************************
- */
- .ag-header-viewport,
- .ag-floating-top-viewport,
- .ag-body-viewport,
- .ag-center-cols-viewport,
- .ag-floating-bottom-viewport,
- .ag-body-horizontal-scroll-viewport,
- .ag-virtual-list-viewport {
- position: relative;
- height: 100%;
- min-width: 0px;
- overflow: hidden;
- flex: 1 1 auto;
- }
- .ag-body-viewport.ag-layout-print {
- flex: none;
- }
- @media print {
- .ag-layout-normal {
- // hide grid if trying to print in non-print mode
- display: none;
- }
- .ag-root-wrapper,
- .ag-root-wrapper-body,
- .ag-root,
- .ag-body-viewport,
- .ag-center-cols-container,
- .ag-center-cols-viewport,
- .ag-center-cols-clipper,
- .ag-body-horizontal-scroll-viewport,
- .ag-virtual-list-viewport {
- // Need auto height because 100% height elements with overflow hidden cause printing issues in IE and Edge
- height: auto !important;
- // Overflow hidden, because otherwise scroll bars print in IE
- overflow: hidden !important;
- // flex elements cause printing issues in Firefox
- // https://bugzilla.mozilla.org/show_bug.cgi?id=939897
- display: block !important;
- }
- .ag-row {
- page-break-inside: avoid;
- }
- }
- .ag-body-viewport {
- display: flex;
- &.ag-layout-normal {
- overflow-y: auto;
- -webkit-overflow-scrolling: touch;
- }
- }
- .ag-center-cols-viewport {
- width: 100%;
- overflow-x: auto;
- }
- .ag-body-horizontal-scroll-viewport {
- overflow-x: scroll;
- }
- .ag-virtual-list-viewport {
- overflow: auto;
- width: 100%;
- }
- /**
- ****************************
- * Containers
- ****************************
- */
- .ag-header-container,
- .ag-floating-top-container,
- .ag-body-container,
- .ag-pinned-right-cols-container,
- .ag-center-cols-container,
- .ag-pinned-left-cols-container,
- .ag-floating-bottom-container,
- .ag-body-horizontal-scroll-container,
- .ag-full-width-container,
- .ag-floating-bottom-full-width-container,
- .ag-virtual-list-container {
- position: relative;
- }
- // for when auto height is used but there is no row data
- .ag-header-container, .ag-floating-top-container, .ag-floating-bottom-container {
- height: 100%;
- white-space: nowrap;
- }
- .ag-center-cols-clipper {
- min-height: 100%;
- }
- .ag-center-cols-container {
- display: block;
- }
- .ag-layout-print .ag-center-cols-clipper {
- min-width: 100%;
- }
- .ag-layout-auto-height .ag-center-cols-clipper,
- .ag-layout-auto-height .ag-center-cols-container {
- min-height: 50px;
- }
- .ag-pinned-right-cols-container {
- display: block;
- }
- .ag-body-horizontal-scroll-container {
- height: 100%;
- }
- .ag-full-width-container,
- .ag-floating-top-full-width-container,
- .ag-floating-bottom-full-width-container {
- position: absolute;
- top: 0px;
- left: 0px;
- // turn off pointer events, because this container overlays the main row containers.
- // so when user clicks on space between full width rows, we want the mouse clicks to
- // pass onto the underlying container where the real rows are. eg if using full width
- // for row grouping, the groups will be in the full width container, but when user
- // opens a group the children are shown in the other containers - we want to make sure we
- // don't block mouse clicks to those other containers with the children.
- pointer-events: none;
- }
- .ag-full-width-container {
- width: 100%;
- }
- .ag-floating-bottom-full-width-container, .ag-floating-top-full-width-container {
- display: inline-block;
- overflow: hidden;
- height: 100%;
- width: 100%;
- }
- .ag-virtual-list-container {
- overflow: hidden;
- }
- /**
- ****************************
- * Scrollers
- ****************************
- */
- .ag-center-cols-clipper {
- flex: 1;
- min-width: 0;
- overflow: hidden;
- }
- .ag-body-horizontal-scroll {
- min-height: 0;
- min-width: 0;
- width: 100%;
- display: flex;
- position: relative;
- }
- .ag-layout-print {
- .ag-body-horizontal-scroll {
- display: none;
- }
- }
- .ag-force-vertical-scroll {
- overflow-y: scroll !important;
- &.ag-layout-print {
- overflow-y: visible !important;
- }
- }
- .ag-horizontal-left-spacer, .ag-horizontal-right-spacer {
- height: 100%;
- min-width: 0;
- overflow-x: scroll;
- &.ag-scroller-corner {
- overflow-x: hidden;
- }
- }
- /**
- ****************************
- * Headers
- ****************************
- */
- .ag-header, .ag-pinned-left-header, .ag-pinned-right-header {
- display: inline-block;
- overflow: hidden;
- position: relative;
- }
- .ag-header-cell-sortable {
- cursor: pointer;
- }
- .ag-header {
- display: flex;
- width: 100%;
- white-space: nowrap;
- }
- .ag-pinned-left-header {
- height: 100%;
- }
- .ag-pinned-right-header {
- height: 100%;
- }
- .ag-header-row {
- position: absolute;
- overflow: hidden; // so when floating filters are height 0px, the contents don't spill out
- }
- .ag-header-cell {
- display: inline-flex;
- align-items: center;
- position: absolute;
- height: 100%;
- }
- .ag-header-group-cell-label, .ag-header-cell-label {
- display: flex;
- flex: 1 1 auto;
- overflow: hidden;
- align-items: center;
- text-overflow: ellipsis;
- align-self: stretch;
- }
- .ag-header-cell-text {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .ag-right-aligned-header .ag-header-cell-label {
- flex-direction: row-reverse;
- }
- .ag-header-group-text {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .ag-header-cell-resize {
- position: absolute;
- z-index: 2;
- height: 100%;
- width: 8px;
- top: 0;
- cursor: ew-resize;
- // unpinned headers get their rezise handle on the right in normal mode and left in RTL mode
- @include ag-unthemed-rtl((
- right: -4px
- ));
- }
- .ag-pinned-left-header .ag-header-cell-resize {
- right: -4px; // pinned left headers always have their resize on the right, even in RTL mode
- }
- .ag-pinned-right-header .ag-header-cell-resize {
- left: -4px; // pinned right headers always have their resize on the left, even in RTL mode
- }
- .ag-header-select-all {
- display: flex;
- }
- /**
- ****************************
- * Columns
- ****************************
- */
- .ag-column-moving {
- .ag-cell {
- transition: left 0.2s;
- }
- .ag-header-cell {
- transition: left 0.2s;
- }
- .ag-header-group-cell {
- transition: left 0.2s, width 0.2s;
- }
- }
- /**
- ****************************
- * Column Panel
- ****************************
- */
- .ag-column-panel {
- display: flex;
- flex-direction: column;
- overflow: hidden;
- flex: 1 1 auto;
- }
- .ag-column-select {
- display: flex;
- flex-direction: column;
- overflow: hidden;
- flex-grow: 3;
- flex-shrink: 1;
- flex-basis: 0;
- }
- .ag-column-select-header {
- position: relative;
- display: flex;
- flex: none;
- }
- .ag-column-select-header-icon {
- position: relative;
- }
- .ag-column-select-header-filter-wrapper {
- flex: 1 1 auto;
- }
- .ag-column-select-header-filter {
- width: 100%;
- }
- .ag-column-select-list {
- flex: 1 1 auto;
- overflow: auto;
- }
- .ag-column-drop {
- display: inline-flex;
- align-items: center;
- overflow: auto;
- width: 100%;
- }
- .ag-column-drop-list {
- display: flex;
- align-items: center;
- }
- .ag-column-drop-cell {
- display: flex;
- align-items: center;
- }
- .ag-column-drop-cell-text {
- overflow: hidden;
- flex: 1 1 auto;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .ag-column-drop-vertical {
- display: flex;
- flex-direction: column;
- overflow: hidden;
- flex: 1 1 0;
- align-items: stretch;
- }
- .ag-column-drop-vertical-title-bar {
- display: flex;
- align-items: center;
- }
- .ag-column-drop-vertical-list {
- align-items: stretch;
- flex-grow: 1;
- flex-direction: column;
- overflow-x: auto;
- > * {
- flex: none;
- }
- }
- .ag-column-drop-empty .ag-column-drop-vertical-list {
- overflow: hidden;
- }
- .ag-column-drop-vertical-empty-message {
- display: block;
- }
- .ag-column-drop.ag-column-drop-horizontal {
- white-space: nowrap;
- overflow: hidden;
- }
- .ag-column-drop-cell-button {
- cursor: pointer;
- }
- .ag-filter-toolpanel {
- flex: 1 1 0px;
- min-width: 0;
- }
- .ag-filter-toolpanel-header {
- position: relative;
- }
- .ag-filter-toolpanel-header, .ag-filter-toolpanel-search {
- display: flex;
- align-items: center;
- > * {
- display: flex;
- align-items: center;
- }
- }
- .ag-filter-apply-panel {
- display: flex;
- justify-content: flex-end;
- overflow: hidden;
- }
- /**
- ****************************
- * Rows
- ****************************
- */
- // for animations, allows rows to slide up and down,
- .ag-row-animation .ag-row {
- transition: transform 0.4s, top 0.4s, height 0.4s, background-color 0.1s, opacity 0.2s;
- }
- .ag-row-no-animation .ag-row {
- transition: background-color 0.1s;
- }
- .ag-row {
- white-space: nowrap;
- width: 100%;
- }
- .ag-row-loading {
- display: flex;
- align-items: center;
- }
- .ag-row-position-absolute {
- position: absolute;
- }
- .ag-row-position-relative {
- position: relative;
- }
- .ag-full-width-row {
- overflow: hidden;
- // turn events back on, as we removed them in the parent
- pointer-events: all;
- }
- .ag-row-inline-editing {
- z-index: 1;
- }
- .ag-row-dragging {
- z-index: 2;
- }
- .ag-stub-cell {
- display: flex;
- align-items: center;
- }
- /**
- ****************************
- * Cells
- ****************************
- */
- .ag-cell {
- display: inline-block;
- position: absolute;
- white-space: nowrap;
- }
- .ag-cell-value, .ag-group-value {
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .ag-cell-wrapper {
- display: flex;
- align-items: center;
- height: 100%;
- // adding width: 100% here breaks text-overflow: ellipsis
- // width: 100%;
- &.ag-row-group {
- align-items: flex-start;
- }
- }
- .ag-full-width-row .ag-cell-wrapper.ag-row-group {
- align-items: center;
- }
- .ag-cell-auto-height {
- height: 100%;
- }
- .ag-cell-inline-editing {
- z-index: 1;
- .ag-cell-edit-wrapper,
- .ag-cell-editor,
- .ag-cell-editor .ag-wrapper,
- .ag-cell-editor input {
- height: 100%;
- width: 100%;
- line-height: normal;
- }
- }
- .ag-cell .ag-icon {
- display: inline-block;
- vertical-align: middle;
- }
- /**
- ****************************
- * Filters
- ****************************
- */
- .ag-set-filter-item {
- display: flex;
- align-items: center;
- height: 100%;
- }
- .ag-set-filter-item-value {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .ag-set-filter-item-checkbox {
- display: flex;
- // for focus reasons, we need this for IE, otherwise for the set filter, the 'selectAll' click doesn't work
- // when you click on it when the quick filter has focus. this was a fix for AG-2258
- pointer-events: none;
- }
- .ag-filter-body-wrapper {
- display: flex;
- flex-direction: column;
- }
- .ag-filter-filter {
- flex: 1 1 auto;
- overflow: hidden;
- }
- .ag-filter-condition {
- display: flex;
- }
- /**
- ****************************
- * Floating Filter
- ****************************
- */
- .ag-floating-filter-body {
- position: relative;
- display: flex;
- flex: 1 1 auto;
- height: 100%;
- }
- .ag-floating-filter-full-body {
- display: flex;
- flex: 1 1 auto;
- height: 100%;
- width: 100%;
- align-items: center;
- overflow: hidden;
- }
- .ag-floating-filter-full-body > div {
- flex: 1 1 auto;
- }
- .ag-floating-filter {
- display: inline-block;
- position: absolute;
- }
- .ag-floating-filter-input {
- align-items: center;
- display: flex;
- width: 100%;
- > * {
- flex: 1 1 auto;
- }
- }
- .ag-floating-filter-button {
- display: flex;
- flex: none;
- }
- /**
- ****************************
- * Drag & Drop
- ****************************
- */
- .ag-dnd-ghost {
- position: absolute;
- display: inline-flex;
- align-items: center;
- cursor: move;
- white-space: nowrap;
- }
- /**
- ****************************
- * Overlay
- ****************************
- */
- .ag-overlay {
- height: 100%;
- left: 0;
- pointer-events: none;
- position: absolute;
- top: 0;
- width: 100%;
- }
- .ag-overlay-panel {
- display: flex;
- height: 100%;
- width: 100%;
- }
- .ag-overlay-wrapper {
- display: flex;
- flex: none;
- width: 100%;
- height: 100%;
- align-items: center;
- justify-content: center;
- text-align: center;
- }
- .ag-overlay-loading-wrapper {
- // prevent interaction with grid while it's loading
- pointer-events: all;
- }
- /**
- ****************************
- * Popup
- ****************************
- */
- .ag-popup-child {
- z-index: 5;
- }
- .ag-popup-editor {
- position: absolute;
- user-select: none;
- z-index: 1;
- }
- .ag-large-text-input {
- display: block;
- }
- /**
- ****************************
- * Virtual Lists
- ****************************
- */
- .ag-virtual-list-item {
- position: absolute;
- width: 100%;
- }
- /**
- ****************************
- * Floating Top and Bottom
- ****************************
- */
- .ag-floating-top {
- overflow: hidden;
- white-space: nowrap;
- width: 100%;
- position: relative;
- display: flex;
- }
- .ag-pinned-left-floating-top {
- display: inline-block;
- overflow: hidden;
- position: relative;
- min-width: 0px;
- }
- .ag-pinned-right-floating-top {
- display: inline-block;
- overflow: hidden;
- position: relative;
- min-width: 0px;
- }
- .ag-floating-bottom {
- overflow: hidden;
- white-space: nowrap;
- width: 100%;
- position: relative;
- display: flex;
- }
- .ag-pinned-left-floating-bottom {
- display: inline-block;
- overflow: hidden;
- position: relative;
- min-width: 0px;
- }
- .ag-pinned-right-floating-bottom {
- display: inline-block;
- overflow: hidden;
- position: relative;
- min-width: 0px;
- }
- /**
- ****************************
- * Dialog
- ****************************
- */
- .ag-dialog, .ag-panel {
- display: flex;
- flex-direction: column;
- position: relative;
- overflow: hidden;
- }
- .ag-panel-title-bar {
- display: flex;
- flex: none;
- align-items: center;
- cursor: default;
- }
- .ag-panel-title-bar-title {
- flex: 1 1 auto;
- }
- .ag-panel-title-bar-buttons {
- display: flex;
- }
- .ag-panel-title-bar-button {
- cursor: pointer;
- }
- .ag-panel-content-wrapper {
- display: flex;
- flex: 1 1 auto;
- position: relative;
- overflow: hidden;
- }
- .ag-dialog {
- position: absolute;
- }
- .ag-resizer {
- position: absolute;
- pointer-events: none;
- z-index: 1;
- &.ag-resizer-topLeft {
- top: 0;
- left: 0;
- height: 5px;
- width: 5px;
- cursor: nwse-resize;
- }
- &.ag-resizer-top {
- top: 0;
- left: 5px;
- right: 5px;
- height: 5px;
- cursor: ns-resize;
- }
- &.ag-resizer-topRight {
- top: 0;
- right: 0;
- height: 5px;
- width: 5px;
- cursor: nesw-resize;
- }
- &.ag-resizer-right {
- top: 5px;
- right: 0;
- bottom: 5px;
- width: 5px;
- cursor: ew-resize;
- }
- &.ag-resizer-bottomRight {
- bottom: 0;
- right: 0;
- height: 5px;
- width: 5px;
- cursor: nwse-resize;
- }
- &.ag-resizer-bottom {
- bottom: 0;
- left: 5px;
- right: 5px;
- height: 5px;
- cursor: ns-resize;
- }
- &.ag-resizer-bottomLeft {
- bottom: 0;
- left: 0;
- height: 5px;
- width: 5px;
- cursor: nesw-resize;
- }
- &.ag-resizer-left {
- left: 0;
- top: 5px;
- bottom: 5px;
- width: 5px;
- cursor: ew-resize;
- }
- }
- /**
- ****************************
- * Tooltip
- ****************************
- */
- .ag-tooltip {
- position: absolute;
- pointer-events: none;
- z-index: 99999;
- }
- /**
- ****************************
- * Animations
- ****************************
- */
- // this is used by the animateShowChangeCellRenderer. it is arguable that this belongs in the themes,
- // however it is not tied to color, only placement and visiblity, which is behaviour and not style,
- // thus belongs here, besides it doesn't change wih the themes
- .ag-value-slide-out {
- margin-right: 5px;
- opacity: 1;
- transition: opacity 3s, margin-right 3s; // as value fades, it also moves to the left via the margin setting
- transition-timing-function: linear;
- }
- .ag-value-slide-out-end {
- margin-right: 10px;
- opacity: 0;
- }
- .ag-opacity-zero {
- opacity: 0 !important;
- }
- /**
- ****************************
- * Menu
- ****************************
- */
- .ag-menu {
- max-height: 100%;
- overflow-y: auto;
- position: absolute;
- user-select: none;
- }
- .ag-menu-column-select-wrapper {
- height: 265px;
- overflow: auto;
- }
- .ag-menu-list {
- display: table;
- }
- .ag-menu-option, .ag-menu-separator {
- display: table-row;
- }
- .ag-menu-separator-cell, .ag-menu-option-part {
- display: table-cell;
- vertical-align: middle;
- }
- .ag-menu-option-text {
- white-space: nowrap;
- }
- .ag-menu-column-select-wrapper .ag-column-select {
- height: 100%;
- }
- /**
- ****************************
- * Rich Select
- ****************************
- */
- .ag-rich-select {
- cursor: default;
- outline: none;
- }
- .ag-rich-select-value {
- display: flex;
- align-items: center;
- }
- .ag-rich-select-value-icon {
- flex: 1 1 auto;
- order: 1;
- @include ag-unthemed-rtl(( text-align: right ));
- }
- .ag-rich-select-list {
- position: relative;
- }
- .ag-rich-select-virtual-list-item {
- display: flex;
- }
- .ag-rich-select-row {
- display: flex;
- flex: 1 1 auto;
- align-items: center;
- white-space: nowrap;
- }
- /**
- ****************************
- * Pagination
- ****************************
- */
- .ag-paging-panel {
- align-items: center;
- display: flex;
- justify-content: flex-end;
- }
- .ag-paging-page-summary-panel {
- display: flex;
- align-items: center;
- }
- .ag-paging-button-wrapper {
- position: relative;
- overflow: hidden;
- }
- .ag-paging-button {
- position: absolute;
- }
- .ag-disabled .ag-paging-page-summary-panel {
- pointer-events: none;
- }
- /**
- ****************************
- * Tool Panel
- ****************************
- */
- .ag-tool-panel-wrapper {
- display: flex;
- overflow-y: auto;
- overflow-x: hidden;
- cursor: default;
- user-select: none;
- width: 200px;
- }
- .ag-column-select-column,
- .ag-column-select-column-group {
- position: relative;
- align-items: center;
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- text-overflow: ellipsis;
- white-space: nowrap;
- > * {
- flex: none;
- }
- }
- .ag-column-select-checkbox {
- display: flex;
- }
- .ag-tool-panel-horizontal-resize {
- cursor: ew-resize;
- height: 100%;
- position: absolute;
- top: 0;
- width: 5px;
- z-index: 1;
- }
- .ag-side-bar-left .ag-tool-panel-horizontal-resize {
- @include ag-unthemed-rtl(( right: -3px ));
- }
- .ag-side-bar-right .ag-tool-panel-horizontal-resize {
- @include ag-unthemed-rtl(( left: -3px ));
- }
- .ag-details-row {
- width: 100%;
- }
- .ag-details-row-fixed-height {
- height: 100%;
- }
- .ag-details-grid {
- width: 100%;
- }
- .ag-details-grid-fixed-height {
- height: 100%;
- }
- .ag-header-group-cell {
- display: flex;
- align-items: center;
- height: 100%;
- position: absolute;
- }
- .ag-cell-label-container {
- display: flex;
- justify-content: space-between;
- flex-direction: row-reverse;
- align-items: center;
- width: 100%;
- height: 100%;
- }
- .ag-right-aligned-header .ag-cell-label-container {
- flex-direction: row;
- }
- /**
- ****************************
- * Side Bar
- ****************************
- */
- .ag-side-bar {
- display: flex;
- flex-direction: row-reverse;
- }
- .ag-side-bar-left {
- order: -1;
- flex-direction: row;
- }
- .ag-side-button-button {
- position: relative;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- flex-wrap: nowrap;
- white-space: nowrap;
- outline: none;
- cursor: pointer;
- }
- .ag-side-button-label {
- writing-mode: vertical-lr;
- }
- /**
- ****************************
- * Status Bar
- ****************************
- */
- .ag-status-bar {
- display: flex;
- justify-content: space-between;
- overflow: hidden;
- }
- .ag-status-panel {
- display: inline-flex;
- }
- .ag-status-name-value {
- white-space: nowrap;
- }
- .ag-status-bar-left {
- display: inline-flex;
- }
- .ag-status-bar-center {
- display: inline-flex;
- }
- .ag-status-bar-right {
- display: inline-flex;
- }
- /**
- ****************************
- * Widgets
- ****************************
- */
- .ag-icon {
- display: block;
- speak: none;
- }
- .ag-group {
- position: relative;
- width: 100%;
- }
- .ag-group-title-bar {
- display: flex;
- align-items: center;
- }
- .ag-group-title {
- display: block;
- flex: 1 1 auto;
- min-width: 0;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- .ag-group-title-bar
- .ag-group-title {
- cursor: default;
- }
- .ag-group-toolbar {
- display: flex;
- align-items: center;
- }
- .ag-group-container {
- display: flex;
- }
- .ag-disabled .ag-group-container {
- pointer-events: none;
- }
- .ag-group-container-horizontal {
- flex-direction: row;
- flex-wrap: wrap;
- }
- .ag-group-container-vertical {
- flex-direction: column;
- }
- .ag-charts-font-size-color {
- display: flex;
- align-self: stretch;
- justify-content: space-between;
- }
- .ag-column-group-icons {
- display: block;
- > * {
- cursor: pointer;
- }
- }
- .ag-group-item-alignment-stretch .ag-group-item {
- align-items: stretch;
- }
- .ag-group-item-alignment-start .ag-group-item {
- align-items: flex-start;
- }
- .ag-group-item-alignment-end .ag-group-item {
- align-items: flex-end;
- }
- .ag-toggle-button-icon {
- transition: right 0.3s;
- position: absolute;
- top: -1px;
- }
- .ag-input-field, .ag-select {
- display: flex;
- flex-direction: row;
- align-items: center;
- }
- .ag-input-field-input {
- flex: 1 1 auto;
- width: 100%;
- min-width: 0;
- }
- .ag-floating-filter-input .ag-input-field-input[type='date'] {
- // Fix a bug in Blink rendering engine where date input will not shrink from its default size in a
- // flex container, but it will grow. So we give it a very small width and it will grow to the right size
- width: 1px;
- }
- .ag-range-field {
- display: flex;
- align-items: center;
- }
- .ag-angle-select {
- display: flex;
- align-items: center;
- }
- .ag-angle-select-wrapper {
- display: flex;
- }
- .ag-angle-select-parent-circle {
- display: block;
- position: relative;
- }
- .ag-angle-select-child-circle {
- position: absolute;
- }
- .ag-slider-wrapper {
- display: flex;
- }
- .ag-slider-wrapper {
- .ag-input-field {
- flex: 1 1 auto;
- }
- }
- .ag-picker-field-display {
- flex: 1 1 auto;
- }
- .ag-picker-field {
- display: flex;
- align-items: center;
- }
- .ag-picker-field-icon {
- display: flex;
- border: 0;
- padding: 0;
- margin: 0;
- cursor: pointer;
- }
- .ag-picker-field-wrapper {
- overflow: hidden;
- }
- .ag-label-align-right {
- .ag-label {
- order: 1;
- }
- > * {
- flex: none;
- }
- }
- .ag-label-align-top {
- flex-direction: column;
- align-items: flex-start;
- > * {
- align-self: stretch;
- }
- }
- .ag-color-panel {
- width: 100%;
- display: flex;
- flex-direction: column;
- text-align: center;
- }
- .ag-spectrum-color {
- flex: 1 1 auto;
- position: relative;
- overflow: hidden;
- cursor: default;
- }
- .ag-spectrum-fill {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- }
- .ag-spectrum-val {
- cursor: pointer;
- }
- .ag-spectrum-dragger {
- position: absolute;
- pointer-events: none;
- cursor: pointer;
- }
- .ag-spectrum-hue {
- cursor: default;
- background: linear-gradient(to left,
- #ff0000 3%, #ffff00 17%,
- #00ff00 33%, #00ffff 50%,
- #0000ff 67%, #ff00ff 83%,
- #ff0000 100%
- );
- }
- .ag-spectrum-alpha {
- cursor: default;
- }
- .ag-spectrum-hue-background {
- width: 100%;
- height: 100%;
- }
- .ag-spectrum-alpha-background {
- background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgb(0, 0, 0));
- width: 100%;
- height: 100%;
- }
- .ag-spectrum-tool {
- cursor: pointer;
- }
- .ag-spectrum-slider {
- position: absolute;
- pointer-events: none;
- }
- .ag-recent-colors {
- display: flex;
- }
- .ag-recent-color {
- cursor: pointer;
- }
- // Default values for themes that do not use the mixins
- @for $i from 1 to 10 {
- .ag-column-select-indent-#{$i} {
- @include ag-unthemed-rtl(( padding-left: $i * 20px ));
- }
- .ag-row-group-indent-#{$i} {
- @include ag-unthemed-rtl(( padding-left: $i * 20px ));
- }
- }
- .ag-ltr {
- direction: ltr;
- .ag-body, .ag-floating-top, .ag-floating-bottom, .ag-header, .ag-body-viewport, .ag-body-horizontal-scroll {
- flex-direction: row;
- }
- }
- .ag-rtl {
- direction: rtl;
- .ag-body, .ag-floating-top, .ag-floating-bottom, .ag-header, .ag-body-viewport, .ag-body-horizontal-scroll {
- flex-direction: row-reverse;
- }
- .ag-icon-contracted,
- .ag-icon-tree-closed {
- display: block;
- transform: rotate(180deg);
- }
- }
|