UNPKG

@atlassian/aui

Version:

Atlassian User Interface Framework

1 lines 6.8 kB
{"version":3,"sources":["aui-experimental-tables-sortable.less","imports/mixins/icon-pseudoelement.less","imports/aui-theme/core/icons.less"],"names":[],"mappings":";AAGA,mBAII;EACI,eAAA;EACA,gCAAA;;AANR,mBAUI,oBAAmB;EACf,eAAA;;AAXR,mBAiBI,oBAAmB;AAjBvB,mBAkBI,oBAAmB;EACf,uCAAA;;AAnBR,mBAuBI,oBAAmB;EACf,yBAAA;EACA,qBAAA;EACA,cAAA;;AA1BR,mBA8BI;AA9BJ,mBA+BI;EACI,6BAAA;EACA,cAAA;;AAIJ,KAAK,IAAI,mBACL,oBAAmB;EACf,gCAAA;;AAFR,KAAK,IAAI,mBAIL;AAJJ,KAAK,IAAI,mBAKL;EACI,gCAAA;;AAKA,KAXH,IAAI,mBAUL,oBAAmB,4BACd;AACD,KAZH,IAAI,mBAUL,oBAAmB,4BAEd;AACD,KAbH,IAAI,mBAUL,oBAAmB,4BAGd;EACG,yBAAA;EACA,qBAAA;EACA,cAAA;;AArDhB,mBA6DI,0BAAyB;EC3DrB,kCAAA;EACA,mCAAA;EACA,4BAAA;EACA,aCJe,YDIf;EACA,mBAAA;EACA,kBAAA;EACA,WAAA;EDuDA,SAAS,EAAT;EACA,qBAAA;EACA,YAAA;EACA,cAAA;EACA,eAAA;EACA,gBAAA;EACA,kBAAA;EACA,WAAA;EACA,2BAAA;;AAvER,mBA2EI,oBAAmB,MAAO,0BAAyB;AA3EvD,mBA4EI,oBAAmB,MAAO,0BAAyB;EAC/C,SEzDsB,OFyDtB;EACA,YAAA;;AA9ER,mBAkFI,uBAAuB,0BAAyB;AAlFpD,mBAmFI,uBAAsB,MAAO,0BAAyB;AAnF1D,mBAoFI,uBAAsB,MAAO,0BAAyB;EAClD,SEjEsB,OFiEtB;EACA,UAAA;;AAtFR,mBA0FI,wBAAwB,0BAAyB;AA1FrD,mBA2FI,wBAAuB,MAAO,0BAAyB;AA3F3D,mBA4FI,wBAAuB,MAAO,0BAAyB;EACnD,SE1EqB,OF0ErB;EACA,UAAA","sourcesContent":["@import './imports/global';\n\n/*! AUI Sortable Tables */\n.aui-table-sortable {\n @aui-table-sortable-active-border: @aui-table-header-divider-width @aui-border-type @aui-table-sortable-active-border-color;\n @aui-table-sortable-selected-border: @aui-table-header-divider-width @aui-border-type @aui-table-sortable-selected-border-color;\n\n .tablesorter-header {\n cursor: pointer;\n border-bottom: @aui-border-tables-header;\n }\n\n // Unsortable columns should get no interactive styles.\n .tablesorter-header.aui-table-column-unsortable {\n cursor: default;\n }\n\n // Note: these state styles are similar to, but not 100% the same as, the #aui-nav.item-style() definitions.\n\n // Focus header style\n .tablesorter-header:focus,\n .tablesorter-header:hover {\n background-color: @aui-table-sortable-hover-bg-color;\n }\n\n // Active header style\n .tablesorter-header:active {\n background-color: @aui-table-sortable-active-bg-color;\n border-color: @aui-table-sortable-active-border-color;\n color: @aui-table-sortable-active-text-color;\n }\n\n // \"Selected\" (i.e., sorted via this column) header style\n .tablesorter-headerAsc,\n .tablesorter-headerDesc {\n background-color: @aui-table-sortable-selected-bg-color;\n color: @aui-text-color;\n }\n\n // Override the specificity of base AUI table's border styles.\n table.aui& {\n .tablesorter-header:active {\n border-bottom: @aui-table-sortable-active-border;\n }\n .tablesorter-headerAsc,\n .tablesorter-headerDesc {\n border-bottom: @aui-table-sortable-selected-border;\n }\n\n // Unsortable headers should not change appearance, though.\n .tablesorter-header.aui-table-column-unsortable {\n &:focus,\n &:hover,\n &:active {\n background-color: inherit;\n border-color: inherit;\n color: @aui-table-heading-text-color;\n }\n }\n }\n\n //\n // Element wrapper used for rendering a glyph for the sort direction\n //\n .aui-table-header-content::after {\n #aui.icon-pseudoelement();\n content: \"\";\n display: inline-block;\n height: @aui-table-sortable-arrow-height;\n line-height: 1;\n font-size: @aui-table-sortable-arrow-height;\n margin-left: 5px;\n position: relative;\n width: @aui-table-sortable-arrow-height;\n vertical-align: text-bottom;\n }\n\n // Focus header, potentially changing sort order\n .tablesorter-header:focus .aui-table-header-content::after,\n .tablesorter-header:hover .aui-table-header-content::after {\n content: @aui-glyph-sorted-descending;\n opacity: 0.5;\n }\n\n // \"Selected\" sort, descending\n .tablesorter-headerAsc .aui-table-header-content::after,\n .tablesorter-headerAsc:focus .aui-table-header-content::after,\n .tablesorter-headerAsc:hover .aui-table-header-content::after {\n content: @aui-glyph-sorted-descending;\n opacity: 1;\n }\n\n // \"Selected\" sort, ascending\n .tablesorter-headerDesc .aui-table-header-content::after,\n .tablesorter-headerDesc:focus .aui-table-header-content::after,\n .tablesorter-headerDesc:hover .aui-table-header-content::after {\n content: @aui-glyph-sorted-ascending;\n opacity: 1;\n }\n}\n","@import '../aui-theme/core/icons';\n@import '../aui-theme/components/icons';\n\n#aui {\n .icon-pseudoelement(@fontface: @aui-icon-font-family) {\n -moz-osx-font-smoothing: grayscale; // Improves the rendering of icons in OSX + Firefox\n -webkit-font-smoothing: antialiased; // Improves the rendering of icons in OSX + (Safari, Google Chrome)\n -webkit-text-stroke-width: 0; // Prevents drawing a thicker edge on icons\n font-family: @fontface;\n font-weight: normal;\n font-style: normal;\n speak: none; // This prevents screen readers from pronouncing the pseudo element text content used to trigger the icon font\n }\n\n .icon(@icon-glyph-code; @rules) {\n &::before {\n #aui.icon-pseudoelement(@aui-icon-font-family);\n color: inherit;\n content: @icon-glyph-code;\n font-size: @aui-icon-size-small;\n height: @aui-icon-size-small;\n left: 0;\n line-height: 1;\n margin-top: -(@aui-icon-size-small / 2);\n position: absolute;\n text-indent: 0;\n top: 50%;\n width: @aui-icon-size-small;\n @rules();\n }\n }\n}\n","@aui-old-icon-font-family: \"Atlassian Icons\";\n@aui-old-icon-font-file: \"atlassian-icons\";\n@aui-old-icon-font-id: \"atlassian-icons\";\n\n@aui-icon-font-family: \"Adgs Icons\";\n@aui-icon-font-file: \"adgs-icons\";\n@aui-icon-font-id: \"adgs-icons\";\n\n// glyphs\n@aui-glyph-check: \"\\f194\";\n@aui-glyph-check-circle: \"\\f104\";\n@aui-glyph-chevron-down: \"\\f15b\";\n@aui-glyph-close: \"\\f11b\";\n@aui-glyph-exclamation-triangle: \"\\f1b3\";\n@aui-glyph-exclamation-circle: \"\\f15a\";\n@aui-glyph-info-circle: \"\\f234\";\n@aui-glyph-more-actions: \"\\f17f\"; // the \"more\" icon; should be three dots.\n@aui-glyph-search: \"\\f18c\";\n@aui-glyph-search-small: \"\\f18d\";\n@aui-glyph-radio: \"\\f500\";\n@aui-glyph-remove: \"\\f188\";\n\n@aui-glyph-sorted-ascending: \"\\f1ac\";\n@aui-glyph-sorted-descending: \"\\f140\";\n"],"file":"aui-experimental-tables-sortable.css"}