Changeset 248995 in webkit
- Timestamp:
- Aug 21, 2019 10:33:33 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r248990 r248995 1 2019-08-21 Jonathan Bedard <jbedard@apple.com> 2 3 results.webkit.org: Fix drawer style 4 https://bugs.webkit.org/show_bug.cgi?id=200988 5 6 Rubber-stamped by Aakash Jain. 7 8 * resultsdbpy/resultsdbpy/view/static/js/drawer.js: 9 (Drawer): Nothing in the drawer should be selectable. 10 (ConfigurationSelectors): Standardize text size, remove underscore from expanders. 11 * resultsdbpy/resultsdbpy/view/static/library/css/webkit.css: 12 (.action:hover): Disable underline on 'links' which are actually actions 13 (.unselectable): Make a div unselectable. 14 * resultsdbpy/resultsdbpy/view/static/library/js/components/TimelineComponents.js: 15 (Timeline.ExpandableSeriesWithHeaderExpanderComponent): Remove underscore from expanders. 16 1 17 2019-08-21 Fujii Hironori <Hironori.Fujii@sony.com> 2 18 -
trunk/Tools/resultsdbpy/resultsdbpy/view/static/js/drawer.js
r247664 r248995 60 60 }); 61 61 62 return `<div class="drawer left under-topbar-with-actions " ref="${drawerRef}">62 return `<div class="drawer left under-topbar-with-actions unselectable" ref="${drawerRef}"> 63 63 ${controls.map(control => { 64 64 return `<div class="list"> … … 227 227 }); 228 228 229 DOM.inject(element, `<a style="cursor: pointer;" class="text medium" ref="${expander}">+</a>229 DOM.inject(element, `<a class="link-button text medium" ref="${expander}">+</a> 230 230 ${details.name} <br> 231 231 ${options.map(option => { … … 276 276 }); 277 277 278 return `<div ref="${ref}"></div>`;278 return `<div style="font-size: var(--smallSize);" ref="${ref}"></div>`; 279 279 }).join('') 280 280 } -
trunk/Tools/resultsdbpy/resultsdbpy/view/static/library/css/webkit.css
r248926 r248995 195 195 } 196 196 197 .link-button:hover { 198 text-decoration: none; 199 cursor: pointer; 200 } 201 197 202 .divider, hr { 198 203 margin-block-start: 0.5em; … … 2556 2561 background: var(--orange); 2557 2562 } 2563 2564 .unselectable { 2565 -webkit-touch-callout: none; 2566 -webkit-user-select: none; 2567 user-select: none; 2568 } -
trunk/Tools/resultsdbpy/resultsdbpy/view/static/library/js/components/TimelineComponents.js
r248910 r248995 536 536 })); 537 537 return { 538 header: Timeline.ExpandableHeaderComponent(`<a href="javascript:void(0)" ref="${ref}">+</a>` + mainLabel, subLabels, composer),538 header: Timeline.ExpandableHeaderComponent(`<a class="link-button" href="javascript:void(0)" ref="${ref}">+</a>` + mainLabel, subLabels, composer), 539 539 series: Timeline.ExpandableSeriesComponent(mainSeries, subSerieses, composer), 540 540 }
Note: See TracChangeset
for help on using the changeset viewer.