UNPKG

@webdatarocks/webdatarocks

Version:

Free web pivot table tool. Created by industry experts for everyone.

2,071 lines (1,772 loc) 147 kB
/** * WebDataRocks Reporting v. 1.4.22 https://www.webdatarocks.com/ * Copyright 2026 WebDataRocks All rights reserved * * By downloading, installing, and/or using WebDataRocks, you agree with the terms of * WebDataRocks End User License Agreement, a copy of which is located at: https://www.webdatarocks.com/license-agreement/. */ @import (reference) "default/webdatarocks.less"; /* ===== RESET STYLES ===== */ #wdr-pivot-view, #wdr-toolbar-wrapper { line-height: 1; -webkit-font-smoothing: antialiased !important; text-rendering: optimizeLegibility !important; -webkit-text-size-adjust: none; } #wdr-pivot-view input[type=text], #wdr-toolbar-wrapper input[type=text] { -webkit-appearance: none; } #wdr-pivot-view div, #wdr-pivot-view span, #wdr-pivot-view applet, #wdr-pivot-view object, #wdr-pivot-view iframe, #wdr-pivot-view h1, #wdr-pivot-view h2, #wdr-pivot-view h3, #wdr-pivot-view h4, #wdr-pivot-view h5, #wdr-pivot-view h6, #wdr-pivot-view p, #wdr-pivot-view blockquote, #wdr-pivot-view pre, #wdr-pivot-view a, #wdr-pivot-view abbr, #wdr-pivot-view acronym, #wdr-pivot-view address, #wdr-pivot-view big, #wdr-pivot-view cite, #wdr-pivot-view code, #wdr-pivot-view del, #wdr-pivot-view dfn, #wdr-pivot-view em, #wdr-pivot-view img, #wdr-pivot-view ins, #wdr-pivot-view kbd, #wdr-pivot-view q, #wdr-pivot-view s, #wdr-pivot-view samp, #wdr-pivot-view small, #wdr-pivot-view strike, #wdr-pivot-view strong, #wdr-pivot-view sub, #wdr-pivot-view sup, #wdr-pivot-view tt, #wdr-pivot-view var, #wdr-pivot-view b, #wdr-pivot-view u, #wdr-pivot-view i, #wdr-pivot-view center, #wdr-pivot-view dl, #wdr-pivot-view dt, #wdr-pivot-view dd, #wdr-pivot-view ol, #wdr-pivot-view ul, #wdr-pivot-view li, #wdr-pivot-view fieldset, #wdr-pivot-view form, #wdr-pivot-view label, #wdr-pivot-view legend, #wdr-pivot-view table, #wdr-pivot-view caption, #wdr-pivot-view tbody, #wdr-pivot-view tfoot, #wdr-pivot-view thead, #wdr-pivot-view tr, #wdr-pivot-view th, #wdr-pivot-view td, #wdr-pivot-view article, #wdr-pivot-view aside, #wdr-pivot-view canvas, #wdr-pivot-view details, #wdr-pivot-view embed, #wdr-pivot-view figure, #wdr-pivot-view figcaption, #wdr-pivot-view footer, #wdr-pivot-view header, #wdr-pivot-view menu, #wdr-pivot-view nav, #wdr-pivot-view output, #wdr-pivot-view ruby, #wdr-pivot-view section, #wdr-pivot-view summary, #wdr-pivot-view time, #wdr-pivot-view mark, #wdr-pivot-view audio, #wdr-pivot-view video, #wdr-toolbar-wrapper div, #wdr-toolbar-wrapper span, #wdr-toolbar-wrapper applet, #wdr-toolbar-wrapper object, #wdr-toolbar-wrapper iframe, #wdr-toolbar-wrapper h1, #wdr-toolbar-wrapper h2, #wdr-toolbar-wrapper h3, #wdr-toolbar-wrapper h4, #wdr-toolbar-wrapper h5, #wdr-toolbar-wrapper h6, #wdr-toolbar-wrapper p, #wdr-toolbar-wrapper blockquote, #wdr-toolbar-wrapper pre, #wdr-toolbar-wrapper a, #wdr-toolbar-wrapper abbr, #wdr-toolbar-wrapper acronym, #wdr-toolbar-wrapper address, #wdr-toolbar-wrapper big, #wdr-toolbar-wrapper cite, #wdr-toolbar-wrapper code, #wdr-toolbar-wrapper del, #wdr-toolbar-wrapper dfn, #wdr-toolbar-wrapper em, #wdr-toolbar-wrapper img, #wdr-toolbar-wrapper ins, #wdr-toolbar-wrapper kbd, #wdr-toolbar-wrapper q, #wdr-toolbar-wrapper s, #wdr-toolbar-wrapper samp, #wdr-toolbar-wrapper small, #wdr-toolbar-wrapper strike, #wdr-toolbar-wrapper strong, #wdr-toolbar-wrapper sub, #wdr-toolbar-wrapper sup, #wdr-toolbar-wrapper tt, #wdr-toolbar-wrapper var, #wdr-toolbar-wrapper b, #wdr-toolbar-wrapper u, #wdr-toolbar-wrapper i, #wdr-toolbar-wrapper center, #wdr-toolbar-wrapper dl, #wdr-toolbar-wrapper dt, #wdr-toolbar-wrapper dd, #wdr-toolbar-wrapper ol, #wdr-toolbar-wrapper ul, #wdr-toolbar-wrapper li, #wdr-toolbar-wrapper fieldset, #wdr-toolbar-wrapper form, #wdr-toolbar-wrapper label, #wdr-toolbar-wrapper legend, #wdr-toolbar-wrapper table, #wdr-toolbar-wrapper caption, #wdr-toolbar-wrapper tbody, #wdr-toolbar-wrapper tfoot, #wdr-toolbar-wrapper thead, #wdr-toolbar-wrapper tr, #wdr-toolbar-wrapper th, #wdr-toolbar-wrapper td, #wdr-toolbar-wrapper article, #wdr-toolbar-wrapper aside, #wdr-toolbar-wrapper canvas, #wdr-toolbar-wrapper details, #wdr-toolbar-wrapper embed, #wdr-toolbar-wrapper figure, #wdr-toolbar-wrapper figcaption, #wdr-toolbar-wrapper footer, #wdr-toolbar-wrapper header, #wdr-toolbar-wrapper menu, #wdr-toolbar-wrapper nav, #wdr-toolbar-wrapper output, #wdr-toolbar-wrapper ruby, #wdr-toolbar-wrapper section, #wdr-toolbar-wrapper summary, #wdr-toolbar-wrapper time, #wdr-toolbar-wrapper mark, #wdr-toolbar-wrapper audio, #wdr-toolbar-wrapper video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-transition: none; transition: none; border-collapse: collapse; border-spacing: 0; } #wdr-pivot-view ol, #wdr-pivot-view ul, #wdr-toolbar-wrapper ol, #wdr-toolbar-wrapper ul { list-style: none; } #wdr-pivot-view table, #wdr-toolbar-wrapper table { border-collapse: collapse; border-spacing: 0; } #wdr-pivot-view caption, #wdr-pivot-view th, #wdr-pivot-view td, #wdr-toolbar-wrapper caption, #wdr-toolbar-wrapper th, #wdr-toolbar-wrapper td { text-align: left; font-weight: normal; vertical-align: middle; } #wdr-pivot-view q, #wdr-pivot-view blockquote, #wdr-toolbar-wrapper q, #wdr-toolbar-wrapper blockquote { quotes: none; } #wdr-pivot-view q:before, #wdr-pivot-view q:after, #wdr-pivot-view blockquote:before, #wdr-pivot-view blockquote:after, #wdr-toolbar-wrapper q:before, #wdr-toolbar-wrapper q:after, #wdr-toolbar-wrapper blockquote:before, #wdr-toolbar-wrapper blockquote:after { content: ""; content: none; } #wdr-pivot-view img, #wdr-toolbar-wrapper img { max-width: 100%; height: auto; height: initial; border: none; } #wdr-pivot-view a, #wdr-toolbar-wrapper a { text-decoration: none; } #wdr-pivot-view article, #wdr-pivot-view aside, #wdr-pivot-view details, #wdr-pivot-view figcaption, #wdr-pivot-view figure, #wdr-pivot-view footer, #wdr-pivot-view header, #wdr-pivot-view main, #wdr-pivot-view menu, #wdr-pivot-view nav, #wdr-pivot-view section, #wdr-pivot-view summary, #wdr-toolbar-wrapper article, #wdr-toolbar-wrapper aside, #wdr-toolbar-wrapper details, #wdr-toolbar-wrapper figcaption, #wdr-toolbar-wrapper figure, #wdr-toolbar-wrapper footer, #wdr-toolbar-wrapper header, #wdr-toolbar-wrapper main, #wdr-toolbar-wrapper menu, #wdr-toolbar-wrapper nav, #wdr-toolbar-wrapper section, #wdr-toolbar-wrapper summary { display: block; -webkit-box-sizing: border-box; box-sizing: border-box; } #wdr-pivot-view :focus, #wdr-toolbar-wrapper :focus { outline: none; } #wdr-pivot-view h1, #wdr-pivot-view h2, #wdr-pivot-view h3, #wdr-pivot-view h4, #wdr-pivot-view h5, #wdr-pivot-view h6, #wdr-toolbar-wrapper h1, #wdr-toolbar-wrapper h2, #wdr-toolbar-wrapper h3, #wdr-toolbar-wrapper h4, #wdr-toolbar-wrapper h5, #wdr-toolbar-wrapper h6 { font-weight: normal; } /*-----------STANDARD RESET END-----------------*/ @font-face { font-family: "webdatarocks-icons"; src: url("../assets/webdatarocks-icons.woff") format("woff"), url("../assets/webdatarocks-icons.ttf") format("truetype"), url("../assets/webdatarocks-icons.svg#webdatarocks-icons") format("svg"); font-weight: normal; font-style: normal; } .rotate(@deg: 90) { -webkit-transform: rotate(@deg * 1deg); -moz-transform: rotate(@deg * 1deg); transform: rotate(@deg * 1deg); -o-transform: rotate(@deg * 1deg); @IEdeg: round((@deg / 90), 0); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@IEdeg); } /* === Do NOT remove and do NOT change .wdr-csscheck class === */ .wdr-csscheck { font-family: 'webdatarocks'; } /* ===== PIVOT UI ===== */ #wdr-pivot-view .wdr-ui, #wdr-pivot-view .wdr-ui span, #wdr-pivot-view .wdr-ui div, #wdr-pivot-view .wdr-ui p, #wdr-pivot-view .wdr-ui a, #wdr-pivot-view .wdr-ui table, #wdr-pivot-view .wdr-ui table th, #wdr-pivot-view .wdr-ui table tr, #wdr-pivot-view .wdr-ui table td, #wdr-pivot-view .wdr-ui ul, #wdr-pivot-view .wdr-ui li, #wdr-pivot-view .wdr-ui input, #wdr-pivot-view .wdr-ui textarea, #wdr-pivot-view .wdr-ui select, #wdr-toolbar-wrapper .wdr-toolbar-ui, #wdr-toolbar-wrapper .wdr-toolbar-ui span, #wdr-toolbar-wrapper .wdr-toolbar-ui div, #wdr-toolbar-wrapper .wdr-toolbar-ui p, #wdr-toolbar-wrapper .wdr-toolbar-ui a, #wdr-toolbar-wrapper .wdr-toolbar-ui table, #wdr-toolbar-wrapper .wdr-toolbar-ui table th, #wdr-toolbar-wrapper .wdr-toolbar-ui table tr, #wdr-toolbar-wrapper .wdr-toolbar-ui table td, #wdr-toolbar-wrapper .wdr-toolbar-ui ul, #wdr-toolbar-wrapper .wdr-toolbar-ui li, #wdr-toolbar-wrapper .wdr-toolbar-ui input, #wdr-toolbar-wrapper .wdr-toolbar-ui textarea, #wdr-toolbar-wrapper .wdr-toolbar-ui select { font-family: @font-family; font-size: @font-size; text-align: left; color: @theme-text-color; -webkit-font-smoothing: antialiased; margin: 0; padding: 0; border-radius: 0px; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; text-shadow: none; float: none; line-height: normal; } #wdr-pivot-view .wdr-ui-mobile, #wdr-pivot-view .wdr-ui-mobile span, #wdr-pivot-view .wdr-ui-mobile div, #wdr-pivot-view .wdr-ui-mobile p, #wdr-pivot-view .wdr-ui-mobile a, #wdr-pivot-view .wdr-ui-mobile table, #wdr-pivot-view .wdr-ui-mobile th, #wdr-pivot-view .wdr-ui-mobile tr, #wdr-pivot-view .wdr-ui-mobile td, #wdr-pivot-view .wdr-ui-mobile ul, #wdr-pivot-view .wdr-ui-mobile li, #wdr-pivot-view .wdr-ui-mobile input, #wdr-pivot-view .wdr-ui-mobile textarea, #wdr-pivot-view .wdr-ui-mobile select, #wdr-pivot-view .wdr-ui-mobile option { font-size: @font-size-mobile; -webkit-border-radius: 0; border-radius: 0; } #wdr-pivot-view .wdr-ui-mobile input[type="text"] { height: 28px; line-height: 28px; border: @ui-border; background-color: rgb(255, 255, 255); } #wdr-pivot-view .wdr-ui-mobile select { background-color: rgb(255, 255, 255); } #wdr-pivot-view .wdr-ui a { font-weight: normal; } #wdr-pivot-view .wdr-ui ul>li:before { width: 0px !important; height: 0px !important; margin: 0; padding: 0; border: 0; } #wdr-pivot-view a.wdr-ui { color: inherit; font-weight: normal; } #wdr-pivot-view a.wdr-ui:hover { color: inherit; font-weight: normal; text-decoration: none; } #wdr-pivot-view input.wdr-ui { font-size: 12px; outline: none; } #wdr-pivot-view input.wdr-ui-mobile { font-size: @font-size-mobile; } #wdr-pivot-view span.wdr-ui { font-size: 11px; } #wdr-pivot-view span.wdr-ui-mobile { font-size: @font-size-mobile; } #wdr-pivot-view div.wdr-ui-clear { clear: both; } #wdr-pivot-view input[type=text].wdr-ui-text-input, #wdr-pivot-view input[type=number].wdr-ui-text-input { /*vertical-align: -webkit-baseline-middle; vertical-align: -moz-middle-with-baseline;*/ -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; width: 100%; height: 38px; -webkit-box-sizing: border-box; box-sizing: border-box; padding-right: 10px; padding-left: 10px; text-align: left; color: @ui-element-text-color; font-size: @ui-element-font-size; background: @background-ui-element-base-color; border: @ui-element-border; } #wdr-pivot-view input[type=text].wdr-ui-text-input.wdr-ui-prompt { color: @ui-prompt-color; font-style: italic; } #wdr-pivot-view input[type=text].wdr-ui-text-input.wdr-ui-mobile { height: 30px; } #wdr-pivot-view .wdr-ui textarea.wdr-ui-text-area { resize: none; border: @ui-border; padding: 1px; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; margin: 0; color: @ui-text-area-color; font-size: @ui-element-font-size; } #wdr-pivot-view .wdr-ui textarea.wdr-ui-text-area:focus { outline: none; } // icons #wdr-pivot-view { [class^="wdr-ui-icon-"]:before, [class*=" wdr-ui-icon-"]:before, .wdr-ui-icon:before { /* use !important to prevent issues with browser extensions that change fonts */ font-family: webdatarocks-icons !important; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .wdr-icon-act_add:before { content: "\e900"; } .wdr-icon-act_calc:before { content: "\e90a"; } .wdr-icon-act_check:before { content: "\e902"; } .wdr-icon-act_close:before { content: "\e908"; } .wdr-icon-act_close_small:before { content: "\e904"; } .wdr-icon-act_filter:before { content: "\e905"; } .wdr-icon-act_font:before { content: "\e906"; } .wdr-icon-act_search:before { content: "\e913"; } .wdr-icon-act_table_settings:before { content: "\e90c"; } .wdr-icon-act_table_sort:before { content: "\e90d"; } .wdr-icon-act_trash:before { content: "\e908"; } .wdr-icon-arrow_down:before { content: "\e90f"; } .wdr-icon-arrow_left:before { content: "\e910"; } .wdr-icon-arrow_right:before { content: "\e911"; } .wdr-icon-arrow_up:before { content: "\e912"; } .wdr-icon-count_down:before { content: "\e926"; } .wdr-icon-count_up:before { content: "\e927"; } .wdr-icon-dd_connect_csv:before { content: "\e928"; } .wdr-icon-dd_connect_json:before { content: "\e929"; } .wdr-icon-dd_export_bar:before { content: "\e92a"; } .wdr-icon-dd_export_bar_hor:before { content: "\e92b"; } .wdr-icon-dd_export_bar_lane:before { content: "\e92c"; } .wdr-icon-dd_export_bar_stack:before { content: "\e92d"; } .wdr-icon-dd_export_line:before { content: "\e92e"; } .wdr-icon-dd_export_pie:before { content: "\e92f"; } .wdr-icon-dd_export_scatter:before { content: "\e930"; } .wdr-icon-dd_format:before { content: "\e931"; } .wdr-icon-dd_format_1:before { content: "\e932"; } .wdr-icon-dd_open_local:before { content: "\e933"; } .wdr-icon-dd_open_remote:before { content: "\e934"; } .wdr-icon-dd_save_exel:before { content: "\e935"; } .wdr-icon-dd_save_html:before { content: "\e936"; } .wdr-icon-dd_save_image:before { content: "\e937"; } .wdr-icon-dd_save_pdf:before { content: "\e938"; } .wdr-icon-dd_save_print:before { content: "\e939"; } .wdr-icon-direction_direction_y:before { content: "\e93a"; } .wdr-icon-menu_connect:before { content: "\e93c"; } .wdr-icon-menu_export:before { content: "\e93d"; } .wdr-icon-menu_fields:before { content: "\e93e"; } .wdr-icon-menu_format:before { content: "\e93f"; } .wdr-icon-menu_fullscreen_close:before { content: "\e940"; } .wdr-icon-menu_fullscreen_open:before { content: "\e941"; } .wdr-icon-menu_grid:before { content: "\e942"; } .wdr-icon-menu_open:before { content: "\e943"; } .wdr-icon-menu_options:before { content: "\e944"; } .wdr-icon-menu_save:before { content: "\e945"; } .wdr-icon-notif_arrow:before { content: "\e949"; } .wdr-icon-notif_confirm:before { content: "\e901"; } .wdr-icon-notif_info:before { content: "\e948"; } .wdr-icon-notif_warning:before { content: "\e949"; } } .wdr-ui-icon { display: block; position: absolute; font-family: 'webdatarocks-icons' !important; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; width: auto; height: auto; height: initial; background: transparent; /* Better Font Rendering =========== */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-transition: color 0.3s; transition: color 0.3s; } // mixins .wdr-ui-vam { top: 50%; -ms-transform: translateY(-50%); transform: translateY(-50%); -moz-transform: translateY(-50%); -webkit-transform: translateY(-50%); } .wdr-ui-icon-vam { .wdr-ui-icon; .wdr-ui-vam; } .wdr-ui-ham { left: 50%; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); } .wdr-ui-icon-ham { .wdr-ui-icon; .wdr-ui-ham; } .wdr-ui-icon-c { .wdr-ui-icon; .wdr-ui-vam; .wdr-ui-ham; } .wdr-shadow { -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); } // labels #wdr-pivot-view { span.wdr-ui-label { color: @ui-label-color; font-size: @ui-label-font-size; * { font-size: @ui-label-font-size; } b { font-weight: bold; } } span.wdr-ui-label-light { color: @ui-label-color-light; } } // buttons #wdr-pivot-view, #wdr-toolbar-wrapper { a.wdr-ui-btn { -webkit-appearance: none; -moz-appearance: none; -webkit-box-sizing: border-box; box-sizing: border-box; text-transform: uppercase; position: relative; outline: none; cursor: pointer; text-align: center; display: inline-block; vertical-align: top; -webkit-transition: color 0.3s; transition: color 0.3s; font-size: @ui-btn-font-size; font-weight: bold; padding: 10px 12px; letter-spacing: 0.5px; min-width: 90px; color: @ui-btn-text-color; border-radius: 4px; background: @ui-btn-color; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } a.wdr-ui-btn:hover { font-weight: bold; color: @ui-btn-color-dark-hover; background: @ui-btn-color-hover; /*-webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.2); box-shadow: 0 2px 6px rgba(0,0,0,0.2);*/ } a.wdr-ui-btn:hover, a.wdr-ui-btn:focus, a.wdr-ui-btn:active { outline: none; } a.wdr-ui-btn-dark { color: @ui-btn-dark-text-color; background: @ui-background-dark; } a.wdr-ui-btn-dark:hover { font-weight: bold; color: @ui-btn-dark-text-color; background: @ui-btn-color-dark-hover; } a.wdr-ui-btn-light { background: @ui-background-superlight; border: @ui-element-border; color: @ui-btn-light-text-color; font-weight: normal; text-transform: none; padding: 11px 11px; } a.wdr-ui-btn-light:hover { background: @ui-btn-color-hover; //#f8f8f8; /*border-color: @ui-border-color-light;*/ color: @ui-btn-light-text-color; font-weight: normal; } a.wdr-ui-btn-superlight { background: @background-ui-element-base-color; /*border: @ui-element-border;*/ color: @ui-btn-light-text-color; font-weight: normal; text-transform: none; padding: 11px 11px; padding-top: 9px; } a.wdr-ui-btn-superlight:hover { background: @ui-btn-color-light-hover; /*border-color: @ui-border-color-light;*/ color: @ui-btn-light-text-color; font-weight: normal; } a.wdr-ui-btn.wdr-ui-btn-close { font-size: 0; border: none; background: none; min-width: auto; min-width: initial; width: 30px; height: 30px; padding: 2px; } a.wdr-ui-btn.wdr-ui-btn-close:before { .wdr-ui-icon; content: "\e908"; font-size: 26px; } .wdr-ui-btns-row { font-size: 0; .wdr-ui-btn { margin-right: 20px; height: 38px; } .wdr-ui-btn:last-child { margin-right: 0; } } .wdr-icon-notif_arrow:before { content: "\e949"; } } // toggle button #wdr-pivot-view { a.wdr-ui-toggle-btn { color: @ui-btn-toggle-text-color; font-size: @ui-btn-font-size; line-height: 36px; display: inline-block; text-align: center; cursor: pointer; border: @ui-element-border; background: @background-ui-element-base-color; } a.wdr-ui-toggle-btn.wdr-selected { color: @ui-btn-toggle-selected-text-color; background: @ui-background-light; } a.wdr-ui-toggle-btn:hover { color: @ui-btn-toggle-selected-text-color; background: @ui-btn-color-hover; } a.wdr-ui-toggle-btn-dark { color: @ui-btn-toggle-selected-text-color; background: @ui-background-light; } a.wdr-ui-toggle-btn-dark.wdr-selected { color: @ui-btn-toggle-dark-selected-text-color; background: @ui-background-dark; border-color: @ui-border-color-dark; } a.wdr-ui-toggle-btn-dark.wdr-selected:hover { background: @ui-btn-color-dark-hover; border-color: @ui-btn-color-dark-hover; } } #wdr-pivot-view a.wdr-ui-link-btn { background: none; font-size: 12px; text-decoration: underline; line-height: normal; width: auto; width: initial; height: auto; height: initial; border: none; padding: 0; cursor: pointer; &:hover { background: none; text-decoration: none; } &.wdr-ui-pressed { background: none; text-decoration: underline; } } // checkbox #wdr-pivot-view { a.wdr-ui-checkbox { cursor: pointer; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; display: inline-block; vertical-align: middle; .wdr-ui-label { padding-left: 30px; position: relative; line-height: 1.2; color: @ui-element-text-color; font-size: @ui-element-font-size; &:before { content: ''; display: inline-block; box-sizing: border-box; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border: @ui-element-border; background: @background-ui-element-base-color; } &:before:hover { border-color: @ui-border-color; } &:after { .wdr-ui-icon-vam; opacity: 0; content: '\e901'; color: #fff; font-size: 16px; left: 1px; } } &.wdr-selected { .wdr-ui-label:after { opacity: 1; } .wdr-ui-label:before { border: none; background: @ui-background-dark; } } &.wdr-ui-semi-selected { .wdr-ui-label:after { content: ''; background: @ui-background-dark; width: 10px; height: 10px; left: 4px; top: 9px; opacity: 1; } } } } // dropdown #wdr-pivot-view { div.wdr-ui-dropdown { text-align: left; display: inline-block; vertical-align: top; width: auto; width: initial; position: relative; -webkit-box-sizing: border-box; box-sizing: border-box; .wdr-ui-dropdown-btn { display: block; position: relative; background-color: @background-ui-element-base-color; text-align: left; border: @ui-element-border; padding: 9px 35px 10px 10px; -webkit-box-sizing: border-box; box-sizing: border-box; cursor: pointer; height: 38px; .wdr-ui-label { color: @ui-element-text-color; font-size: @ui-element-font-size; vertical-align: top; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; width: 100%; } } .wdr-ui-dropdown-btn:after { .wdr-ui-icon-vam; content: "\e902"; right: 8px; font-size: 21px; color: @ui-icon-color; } .wdr-ui-dropdown-btn.wdr-selected:after { content: "\e904"; } .wdr-ui-dropdown-btn.wdr-selected+.wdr-ui-dropdown-list { margin-top: 5px; visibility: visible; opacity: 1; } .wdr-ui-dropdown-list { display: block; position: absolute; z-index: 3; left: 0; top: 100%; border: @ui-element-border; margin-top: 20px; visibility: hidden; width: 100%; -webkit-box-sizing: border-box; box-sizing: border-box; opacity: 1; background: @background-ui-element-base-color; ul { overflow-y: auto; max-height: 300px; li { display: block; border-bottom: @ui-element-inner-border; padding: 11px 9px; cursor: pointer; position: relative; .wdr-ui-label { color: @ui-element-text-color; font-size: @ui-element-font-size; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; width: 100%; } &:last-child { border-bottom: none; } &:hover { background: @ui-background-light; } &.wdr-selected { background: @ui-background-light; padding-right: 25px; position: relative; &:after { .wdr-ui-icon-vam; content: '\e901'; color: @ui-icon-color; right: 8px; font-size: 18px; } } } } &:before, &:after { content: ''; position: absolute; display: block; left: 50%; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); } &:before { width: 0px; height: 0px; border-style: solid; border-width: 0 5.5px 6px 5.5px; border-color: transparent transparent @ui-element-border-color transparent; top: -6px; } &:after { width: 0px; height: 0px; border-style: solid; border-width: 0 4.5px 5px 4.5px; border-color: transparent transparent @background-ui-element-base-color transparent; top: -5px; } } } } /* popup */ #wdr-pivot-view { div.wdr-ui-window { .wdr-shadow; max-width: 100%; background: @background-base-color; margin: 0 auto 0; border: @ui-pop-up-border; padding: 24px 30px 30px; -webkit-box-sizing: border-box; box-sizing: border-box; position: absolute; z-index: 7; .wdr-popup-header { min-height: 40px; margin-bottom: 10px; &.wdr-ph-simple { margin-bottom: 24px; } .wdr-popup-icons-row { margin-bottom: 25px; margin-top: 7px; } .wdr-ui-btns-row { position: absolute; right: 30px; } } .wdr-popup-title { color: @ui-title-color; font-size: @ui-title-font-size; display: block; padding: 5px 0; } .wdr-popup-subtitle { color: @ui-subtitle-color; font-size: @ui-subtitle-font-size; margin-top: 5px; display: block; } } div.wdr-ui-popup { z-index: 12; &.wdr-layout-tablet { .wdr-popup-header {} } &.wdr-layout-mobile { padding: 20px; .wdr-popup-subtitle { display: none; } .wdr-ui-btns-row { right: 20px; } } &.wdr-layout-mobile-small { .wdr-popup-header { margin-bottom: 10px; .wdr-ui-col { width: 100%; margin-bottom: 10px; } .wdr-ui-btns-row { position: relative; right: initial; right: auto; text-align: left; .wdr-ui-btn { width: ~"calc(50% - 10px)"; width: ~"-webkit-calc(50% - 10px)"; } } .wdr-popup-title { font-size: @ui-title-font-size-smaller; line-height: 1; } } } } } #wdr-toolbar-wrapper, #wdr-pivot-view { .wdr-ui { .wdr-ui-row { font-size: 0; } .wdr-ui-col, .wdr-ui-col-2, .wdr-ui-col-3, .wdr-ui-col-9 { display: inline-block; vertical-align: top; min-height: 1px; } .wdr-ui-col-2 { width: 50%; } .wdr-ui-col-3 { margin-right: 30px; width: ~"-webkit-calc(33.33% - 20px)"; width: ~"calc(33.33% - 20px)"; &:nth-child(3n+3) { margin-right: 0; } } .wdr-ui-col-9 { margin-right: 1px; margin-bottom: 1px; width: ~"-webkit-calc(11.11% - 0.9px)"; width: ~"calc(11.11% - 0.9px)"; &:nth-child(9n+9) { margin-right: 0; } } .wdr-vam { vertical-align: middle; } .wdr-vat { vertical-align: top; } .wdr-tar { text-align: right; } .wdr-tal { text-align: left; } .wdr-tac { text-align: center; } .wdr-mb30 { margin-bottom: 30px; } } } #wdr-pivot-view { .wdr-helper { .wdr-shadow; display: inline-block; background: @ui-background-light; opacity: 0.9; padding: 10px 9px; font-family: @font-family; font-size: @ui-label-font-size; font-weight: bold; border: @ui-border-light; pointer-events: none; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; max-width: 250px; color: @theme-text-color; } .wdr-header-helper { text-transform: uppercase; border: none; background: @grid-filter-color; padding: 8px 6px; font-size: @font-size; border: @ui-border; cursor: move; } .wdr-drop-indicator { height: 2px; background: @ui-background-dark; pointer-events: none; } } #wdr-pivot-view div.wdr-ui-panel { position: relative; background: @background-base-color; border: @ui-border; } #wdr-pivot-view div.wdr-ui-modal-overlay { background-color: white; opacity: 0.8; position: absolute; top: 0; left: 0; z-index: 11; width: 100%; height: 100%; &.wdr-ui-opaque { opacity: 1; } &.wdr-ui-transparent { opacity: 0; } } #wdr-pivot-view div.wdr-ui-toolbar { background: @background-base-color; border-top: 1px dotted #dcdcdc; border-left: none; border-right: none; border-bottom: none; margin-bottom: 0px; } #wdr-pivot-view div.wdr-ui-hgroup { overflow: hidden; } #wdr-pivot-view div.wdr-ui-hgroup>* { float: left; } #wdr-pivot-view div.wdr-ui-vgroup>* { display: block; } #wdr-pivot-view ul.wdr-ui-list { list-style-type: none; padding: 0; margin: 0; } #wdr-pivot-view .wdr-ui-disabled, #wdr-toolbar-wrapper .wdr-ui-disabled { pointer-events: none; cursor: default; opacity: 0.5; } // virtual list #wdr-pivot-view { div.wdr-ui-vlist { position: relative; overflow-x: hidden; overflow-y: auto; ul.wdr-ui-list { position: absolute; overflow: hidden; width: 100%; top: 0; background: @background-ui-element-base-color; } div.wdr-ui-vlist-placeholder { width: 100%; } } } #wdr-pivot-view div.wdr-ui-divider { background-color: @ui-background-light; position: absolute; z-index: 1; &:hover { background-color: darken(@ui-background-light, 2%); } &:before { .wdr-ui-icon-c; content: "\e910"; font-size: 13px; color: @ui-border-color; } &.wdr-ui-horizontal { left: 0; right: 0; height: 9px; &:hover { cursor: row-resize; } &:before { top: -2px; } } &.wdr-ui-vertical { top: 0; bottom: 0; width: 9px; &:hover { cursor: col-resize; } &:before { left: -2px; .rotate(90); } } } #wdr-pivot-view .wdr-ui-toolbar-mobile { height: 48px; border-bottom: @ui-border; } #wdr-pivot-view .wdr-ui-toolbar-mobile .wdr-ui-header-display { pointer-events: none; position: absolute; top: 12px; font-size: 17px; font-weight: bold; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; text-align: center; display: inline-block; width: 100%; } @media only screen and (max-width:560px) { #wdr-pivot-view .wdr-ui-toolbar-mobile .wdr-ui-header-display { font-size: 14px; top: 15px; } } #wdr-pivot-view .wdr-ui-right { position: absolute; right: 0; top: 0; } #wdr-pivot-view .wdr-ui-left { position: absolute; left: 0; top: 0; } #wdr-pivot-view a.wdr-ui-btn.wdr-disabled { pointer-events: none; cursor: default; color: #aaa; opacity: 0.4; } #wdr-pivot-view a.wdr-ui-btn:hover.wdr-disabled { background: @background-ui-element-base-color; } #wdr-pivot-view a.wdr-ui-btn:active.wdr-disabled { background: @background-ui-element-base-color; } #wdr-pivot-view .wdr-credits { display: block; height: 14px; position: absolute; right: 0; bottom: -18px; opacity: 0.5; filter: grayscale(1); transition: opacity 0.5s; .wdr-created { font-size: 11px; vertical-align: top; color: #777; opacity: 0; display: inline-block; margin-right: 2px; } a { font-size: 9px !important; } &:hover { opacity: 1; filter: none; .wdr-created { opacity: 1; } } } /* ===== PIVOT UI END ===== */ /* Filter */ #wdr-pivot-view #wdr-filter-view { width: 500px; min-width: 320px; .wdr-popup-header { margin-bottom: 25px; .wdr-ui-row { .wdr-ui-btns-row { white-space: nowrap; position: absolute; right: 0; } } .wdr-popup-title { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } } .wdr-bold-btn { font-weight: bold; text-transform: uppercase; } a.wdr-ui-toggle-btn.wdr-sort-btn { width: 70px; .wdr-bold-btn; } #wdr-sort-label { margin-right: 10px; } .wdr-sort-btns { display: inline-block; margin-bottom: 30px; .wdr-sort-btn:first-child { border-right: none; } } #wdr-top10-btn { position: relative; width: 140px; margin-bottom: 30px; .wdr-bold-btn; .wdr-btn-canceltopx { display: none; position: absolute; right: 4px; top: 8px; width: 12px; height: 16px; &:hover { text-decoration: none; } &:before { .wdr-ui-icon; content: "\e908"; font-size: 15px; left: -15px; } } &.wdr-not-empty { padding-right: 20px; .wdr-btn-canceltopx { display: block; } } &.wdr-narrow { width: 90px; &.wdr-not-empty { padding-left: 12px; } .wdr-btn-canceltopx { font-size: 0; right: 6px; } } &.wdr-selected { .wdr-btn-canceltopx { color: @background-base-color; } } } #wdr-add-group-btn { .wdr-bold-btn; margin-right: 20px; margin-bottom: 30px; width: 100px; } .wdr-filters-table { border: @ui-element-border; margin-bottom: 30px; .wdr-ui-checkbox.wdr-selected { font-weight: bold; } .wdr-filters-table-content { position: relative; #wdr-members-filter-list { height: 100%; overflow-y: auto; li { border-bottom: @ui-element-inner-border; padding: 10px 9px; cursor: pointer; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; .wdr-expand-toggle-btn { color: @ui-border-color; display: inline-block; font-size: @ui-btn-font-size; position: relative; min-height: 1px; width: 30px; } .wdr-expand-toggle-btn:before { .wdr-ui-icon; content: "\e911"; top: -17px; text-align: center; width: 30px; padding: 8px 0; } .wdr-expand-toggle-btn.wdr-selected:before { content: "\e90f"; } .wdr-ungroup-btn { position: absolute; right: 10px; } } } } .wdr-filters-table-header { border-bottom: @ui-element-border; background: @ui-background-light; padding: 10px 9px; position: relative; height: 37px; .wdr-btn-collapse { margin-left: 8px; } #wdr-select-counter { display: inline-block; vertical-align: middle; margin-left: 12px; color: @ui-label-color-light; font-size: 12px; } .wdr-search-wrap { position: absolute; top: 0; right: 0; width: 100px; height: 100%; border-left: @ui-element-border; .wdr-search-inp { position: absolute; right: 0; width: 100%; height: 36px; padding-left: 10px; padding-right: 39px; font-size: @ui-element-font-size; background: @background-ui-element-base-color; opacity: 0; border: none; visibility: hidden; border-left: @ui-element-border; } .wdr-icon-act_close { opacity: 0; visibility: hidden; position: absolute; right: 0; top: 0; height: 100%; width: 39px; cursor: pointer; color: @ui-icon-color; &:before { font-size: 26px; position: absolute; top: 5px; left: 8px; } &:hover { color: @ui-icon-color-dark; } } .wdr-search-btn { position: absolute; height: 36px; width: 100%; font-size: 14px; text-align: center; cursor: pointer; border: none; background: transparent; color: @ui-label-color-light; padding-top: 10px; padding-right: 16px; .wdr-icon-act_search { color: @ui-icon-color; position: absolute; top: 5px; right: 7px; &:before { font-size: 25px; } } &:hover { color: @ui-label-color; .wdr-icon-act_search, .wdr-icon-act_search:before { color: @ui-label-color; } } } &.wdr-search-opened { width: 50%; height: 100%; border-left: none; .wdr-icon-act_close, .wdr-search-inp { visibility: visible; opacity: 1; } #wdr-select-counter { display: none; } .wdr-search-btn { display: none; .wdr-icon-act_search:before { color: @ui-prompt-icon-color; } } } } } } .wdr-filters-table:last-child { margin-bottom: 0; } .wdr-filters-table.wdr-ft-contentheight-220 .wdr-filters-table-content { height: 222px; } // top x #wdr-filters-topx-view { #wdr-top-amount-input { width: 70px; vertical-align: top; } #wdr-topx-btns { margin-left: 10px; display: inline-block; width: 140px; a.wdr-ui-toggle-btn.wdr-topx-btn { width: 50%; } .wdr-topx-btn:first-child { border-right: none; } } #wdr-top-measures-dropdown { width: ~"calc(100% - 230px)"; width: ~"-webkit-calc(100% - 230px)"; min-width: 120px; display: inline-block; vertical-align: top; margin-left: 10px; } } // add group #wdr-add-group-view { #wdr-save-btn { width: 80px; color: @ui-label-color; } #wdr-group-name-input { width: ~"-webkit-calc(100% - 90px)"; width: ~"calc(100% - 90px)"; margin-right: 10px; } } .wdr-filters-subview { margin-bottom: 20px; margin-top: -10px; background: @ui-background-superlight; border: @ui-border-superlight; position: relative; padding: 14px 13px; font-size: 0; &:before, &:after { content: ''; position: absolute; display: block; } &:before { width: 0px; height: 0px; border-style: solid; border-width: 0 6.5px 7px 6.5px; border-color: transparent transparent @ui-border-color-superlight transparent; right: 63px; top: -7px; } &:after { width: 0px; height: 0px; border-style: solid; border-width: 0 5.5px 6px 5.5px; border-color: transparent transparent @ui-background-superlight transparent; right: 64px; top: -6px; } &#wdr-add-group-view { &:before { right: 150px; } &:after { right: 151px; } } } .wdr-filter-pages-layout { .wdr-topx-col { text-align: left; } #wdr-add-group-view { &:before { right: initial; left: 45px; } &:after { right: initial; left: 46px; } } } /* layouts */ &.wdr-layout-mobile-small { .wdr-popup-header { .wdr-ui-col, .wdr-ui-col-2 { width: 100%; } .wdr-ui-col-2 { margin-bottom: 10px; } .wdr-ui-btns-row { position: relative; } .wdr-popup-title { line-height: 1.1; } } a.wdr-ui-toggle-btn.wdr-sort-btn { width: 60px; } #wdr-sort-label { display: none; } #wdr-select-counter { display: none !important; } #wdr-filters-topx-view { #wdr-top-amount-input, #wdr-topx-btns { width: ~"calc(50% - 5px)"; width: ~"-webkit-calc(50% - 5px)"; } #wdr-top-measures-dropdown { width: 100%; min-width: auto; min-width: initial; margin: 0; margin-top: 10px; } } } } /* Pivot view */ #wdr-pivot-view { min-width: 300px; min-