← Back
Editing: ta-reports.css
/* * ThirstyAffiliates — Reports * Selectors and DOM order are part of the Pro contract; restyle only. */ /* ---- Report tabs (Link Overview / Pro reports) ---- */ .thirsty-nav-tab { margin: 16px 0 20px; padding: 0; border-bottom: 1px solid #c3c4c7; line-height: 1; } .thirsty-nav-tab a.tab { display: inline-block; padding: 10px 14px; margin: 0 4px -1px 0; background: transparent; border: 1px solid transparent; border-bottom: 0; border-radius: 4px 4px 0 0; color: #50575e; font-size: 13px; font-weight: 500; text-decoration: none; } .thirsty-nav-tab a.tab:hover { color: #2271b1; background: #f6f7f7; } .thirsty-nav-tab a.tab-active, .thirsty-nav-tab a.tab-active:hover { background: #fff; border-color: #c3c4c7; color: #1d2327; } .thirsty-nav-tab a.tab:first-child { margin-left: 0; } /* ---- Report card ---- */ .link-performance-report { position: relative; background: #fff; border: 1px solid #c3c4c7; border-radius: 4px; box-shadow: 0 1px 1px rgba( 0, 0, 0, .04 ); min-height: 320px; overflow: hidden; } /* ---- Range strip ---- */ .link-performance-report .stats-range { background: #f6f7f7; border-bottom: 1px solid #dcdcde; } .link-performance-report .stats-range ul { margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: stretch; } .link-performance-report .stats-range ul li { margin: 0; list-style: none; display: flex; align-items: stretch; border-right: 1px solid #dcdcde; } .link-performance-report .stats-range ul li a, .link-performance-report .stats-range ul li > span { display: flex; align-items: center; padding: 12px 16px; font-size: 13px; font-weight: 500; color: #50575e; text-decoration: none; line-height: 1.4; } .link-performance-report .stats-range ul li a:hover { background: #fff; color: #2271b1; } .link-performance-report .stats-range ul li.current a { background: #fff; color: #1d2327; box-shadow: inset 0 -2px 0 #2271b1; } .link-performance-report .stats-range ul li.custom-range { width: auto; flex: 0 0 auto; margin-left: auto; padding: 6px 12px; display: flex; align-items: center; gap: 8px; border-right: 0; } .link-performance-report .stats-range ul li.custom-range > span { padding: 0; color: #646970; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; } /* Custom date-range form */ #custom-date-range { margin: 0; display: flex; align-items: center; gap: 6px; } #custom-date-range .range_datepicker { width: 120px; padding: 5px 8px; background: #fff; border: 1px solid #8c8f94; border-radius: 3px; box-shadow: 0 0 0 transparent; color: #2c3338; font-size: 13px; text-align: left; } #custom-date-range .range_datepicker:focus { border-color: #2271b1; box-shadow: 0 0 0 1px #2271b1; outline: 2px solid transparent; } #custom-date-range > span { color: #646970; font-size: 13px; } /* ---- Chart row ---- */ .report-chart-wrap { padding: 16px; } .chart-sidebar { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-bottom: 16px; } .chart-sidebar > * { flex: 0 0 auto; } .report-chart-placeholder { min-height: 420px; height: 480px; margin: 0; padding: 8px; background: #fff; border: 1px solid #dcdcde; border-radius: 4px; } /* ---- Chart legend (sidebar) ---- */ ul.chart-legend { margin: 0; padding: 0; width: 280px; background: #fff; border: 1px solid #dcdcde; border-radius: 4px; } ul.chart-legend li { position: relative; margin: 0; padding: 12px 14px; border-left: 4px solid; border-bottom: 1px solid #dcdcde; font-size: 13px; color: #1d2327; line-height: 1.3; } ul.chart-legend li:last-child { border-bottom: 0; } ul.chart-legend li:hover { background: #f6f7f7; } ul.chart-legend li span { display: block; margin-top: 2px; color: #646970; font-size: 12px; } ul.chart-legend li em.count { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); display: inline-block; min-width: 24px; padding: 2px 8px; background: #f0f0f1; color: #2c3338; border-radius: 10px; font-size: 11px; font-style: normal; font-weight: 600; text-align: center; } /* Add-legend form (hidden by Pro, shown in Lite) */ .add-legend { width: 280px; padding: 12px 14px; background: #fff; border: 1px solid #dcdcde; border-radius: 4px; } .add-legend:after { content: ''; display: table; clear: both; } .add-legend label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: #1d2327; } .add-legend .input-wrap { position: relative; margin-bottom: 8px; } .add-legend input[type="text"] { width: 100%; padding: 6px 8px; background: #fff; border: 1px solid #8c8f94; border-radius: 3px; font-size: 13px; box-sizing: border-box; } .add-legend input[type="text"]:focus { border-color: #2271b1; box-shadow: 0 0 0 1px #2271b1; outline: 2px solid transparent; } .add-legend button { float: right; } .add-legend ul.link-search-result { position: absolute; z-index: 5; top: calc( 100% + 2px ); left: 0; right: 0; margin: 0; background: #fff; border: 1px solid #c3c4c7; border-radius: 3px; box-shadow: 0 2px 6px rgba( 0, 0, 0, .08 ); max-height: 220px; overflow-y: auto; } .add-legend ul.link-search-result li { margin: 0; padding: 6px 10px; border-bottom: 1px solid #f0f0f1; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .add-legend ul.link-search-result li:last-child { border-bottom: 0; } .add-legend ul.link-search-result li:hover { background: #f6f7f7; cursor: pointer; } /* ---- Tooltip (flot chart) ---- */ body .chart-tooltip { position: absolute; padding: 4px 8px; background: #1d2327; color: #fff; font-size: 12px; border-radius: 3px; box-shadow: 0 2px 6px rgba( 0, 0, 0, .12 ); pointer-events: none; } /* ---- Loading overlay ---- */ .link-performance-report .overlay { display: none; position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; z-index: 10; background-color: rgba( 255, 255, 255, .7 ); background-image: url( '../../images/spinner-2x.gif' ); background-repeat: no-repeat; background-position: center center; background-size: 24px 24px; } /* ---- Responsive ---- */ @media screen and ( max-width: 782px ) { .chart-sidebar > * { width: 100%; } .report-chart-placeholder { height: 360px; min-height: 360px; } .link-performance-report .stats-range ul li.custom-range { width: 100%; margin-left: 0; border-top: 1px solid #dcdcde; } }
Save File
Cancel