diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-02-25 11:49:33 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-02-25 11:49:33 +0100 |
commit | d653dd08e39f808d0bbe9c70a9d6512bc8e40c3a (patch) | |
tree | c75a13fb2d8e55fe33b057db2aa3a8754fca473b | |
parent | 5aaaf3103c4c921686663109350dcca052b2b582 (diff) | |
download | sonarqube-d653dd08e39f808d0bbe9c70a9d6512bc8e40c3a.tar.gz sonarqube-d653dd08e39f808d0bbe9c70a9d6512bc8e40c3a.zip |
Add a visible scrollbar on mac on chrome
3 files changed, 61 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/stylesheets/navigator.css b/sonar-server/src/main/webapp/stylesheets/navigator.css index bacd395e248..ed14c75506c 100644 --- a/sonar-server/src/main/webapp/stylesheets/navigator.css +++ b/sonar-server/src/main/webapp/stylesheets/navigator.css @@ -497,6 +497,36 @@ padding: 5px 0; overflow-y: auto; } +.navigator-filter-select-list::-webkit-scrollbar { + width: 11px; + background-color: transparent; + background-clip: content-box; +} +.navigator-filter-select-list::-webkit-scrollbar-button { + background-color: transparent; +} +.navigator-filter-select-list::-webkit-scrollbar-corner { + background-color: transparent; +} +.navigator-filter-select-list::-webkit-scrollbar-thumb { + border: solid transparent; + border-width: 1px 1px 1px 2px; + background-color: #c5c5c5; + background-clip: content-box; +} +.navigator-filter-select-list::-webkit-scrollbar-thumb:hover { + background-color: #bfbfbf; +} +.navigator-filter-select-list::-webkit-scrollbar-track { + border: solid #fff; + border-width: 1px 1px 1px 2px; + background-color: #fff; + background-clip: content-box; +} +.navigator-filter-select-list::-webkit-scrollbar-track-piece { + border-left: 1px solid #ccc; + background-color: transparent; +} .navigator-filter-select-list label { display: block; padding: 5px 10px; diff --git a/sonar-server/src/main/webapp/stylesheets/navigator/filters.css b/sonar-server/src/main/webapp/stylesheets/navigator/filters.css index af6b86edb1f..42b5011b59d 100644 --- a/sonar-server/src/main/webapp/stylesheets/navigator/filters.css +++ b/sonar-server/src/main/webapp/stylesheets/navigator/filters.css @@ -153,6 +153,36 @@ padding: 5px 0; overflow-y: auto; } +.navigator-filter-select-list::-webkit-scrollbar { + width: 11px; + background-color: transparent; + background-clip: content-box; +} +.navigator-filter-select-list::-webkit-scrollbar-button { + background-color: transparent; +} +.navigator-filter-select-list::-webkit-scrollbar-corner { + background-color: transparent; +} +.navigator-filter-select-list::-webkit-scrollbar-thumb { + border: solid transparent; + border-width: 1px 1px 1px 2px; + background-color: #c5c5c5; + background-clip: content-box; +} +.navigator-filter-select-list::-webkit-scrollbar-thumb:hover { + background-color: #bfbfbf; +} +.navigator-filter-select-list::-webkit-scrollbar-track { + border: solid #fff; + border-width: 1px 1px 1px 2px; + background-color: #fff; + background-clip: content-box; +} +.navigator-filter-select-list::-webkit-scrollbar-track-piece { + border-left: 1px solid #ccc; + background-color: transparent; +} .navigator-filter-select-list label { display: block; padding: 5px 10px; diff --git a/sonar-server/src/main/webapp/stylesheets/navigator/filters.less b/sonar-server/src/main/webapp/stylesheets/navigator/filters.less index 9ef138aefa4..3239afba3cf 100644 --- a/sonar-server/src/main/webapp/stylesheets/navigator/filters.less +++ b/sonar-server/src/main/webapp/stylesheets/navigator/filters.less @@ -164,6 +164,7 @@ max-height: 182px; padding: 5px 0; overflow-y: auto; + .webkit-scrollbar; label { display: block; |