##// END OF EJS Templates
old style: fix repository repository selector select2
Andrew Shadura -
r4146:5842d211 rhodecode-2.2.5-gpl
parent child Browse files
Show More
@@ -3780,6 +3780,42 b' div#legend_data, div#legend_container, d'
3780 display: block;
3780 display: block;
3781 }
3781 }
3782
3782
3783 .repo-switcher .select2-choice {
3784 padding: 0px 8px 1px !important;
3785 display: block;
3786 height: 100%;
3787 }
3788
3789 .repo-switcher .select2-container,
3790 .repo-switcher .select2-choice,
3791 .repo-switcher .select2-choice span {
3792 background: transparent !important;
3793 border: 0 !important;
3794 box-shadow: none !important;
3795 color: #FFFFFF !important;
3796 }
3797
3798 .repo-switcher .select2-arrow {
3799 display: none !important;
3800 }
3801
3802 .repo-switcher .select2-chosen:after {
3803 content: ' \25BE';
3804 }
3805
3806 .repo-switcher-dropdown.select2-drop.select2-drop-active {
3807 xborder-color: black;
3808 -webkit-box-shadow: none;
3809 -moz-box-shadow: none;
3810 box-shadow: none;
3811 color: #fff;
3812 background-color: #316293;
3813 }
3814
3815 .repo-switcher-dropdown.select2-drop.select2-drop-active .select2-results .select2-highlighted {
3816 background-color: #6388ad;
3817 }
3818
3783 #content div.graph {
3819 #content div.graph {
3784 padding: 0 10px 10px;
3820 padding: 0 10px 10px;
3785 }
3821 }
@@ -388,7 +388,7 b''
388 }
388 }
389
389
390 $("#repo_switcher").select2({
390 $("#repo_switcher").select2({
391 placeholder: '<i class="icon-archive"></i> ${_('Repositories')} <i class="icon-caret-down"></i>',
391 placeholder: '<i class="icon-archive"></i> ${_('Repositories')}',
392 dropdownAutoWidth: true,
392 dropdownAutoWidth: true,
393 formatResult: format,
393 formatResult: format,
394 formatSelection: format,
394 formatSelection: format,
General Comments 0
You need to be logged in to leave comments. Login now