kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
128 lines
3.4 KiB
128 lines
3.4 KiB
//-- copyright
|
|
// OpenProject is a project management system.
|
|
// Copyright (C) 2012-2015 the OpenProject Foundation (OPF)
|
|
//
|
|
// This program is free software; you can redistribute it and/or
|
|
// modify it under the terms of the GNU General Public License version 3.
|
|
//
|
|
// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
|
|
// Copyright (C) 2006-2013 Jean-Philippe Lang
|
|
// Copyright (C) 2010-2013 the ChiliProject Team
|
|
//
|
|
// This program is free software; you can redistribute it and/or
|
|
// modify it under the terms of the GNU General Public License
|
|
// as published by the Free Software Foundation; either version 2
|
|
// of the License, or (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program; if not, write to the Free Software
|
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
//
|
|
// See doc/COPYRIGHT.rdoc for more details.
|
|
//++
|
|
|
|
.project-search-results {
|
|
box-sizing: content-box; /* Opera/IE 8+ */
|
|
|
|
/* Fixing select2's positioning errors for results*/
|
|
margin-left: -1px;
|
|
|
|
/* Disabling rounded corners and drop shadow on result list */
|
|
border-radius : 0;
|
|
box-shadow : none;
|
|
}
|
|
|
|
/* Hide upper half of select2-select widget */
|
|
#project-search-container .select2-choice {
|
|
display: none;
|
|
}
|
|
|
|
/* Indirectly styling size of result list */
|
|
.select2-container {
|
|
position: relative;
|
|
max-width: 350px;
|
|
width:100%;
|
|
}
|
|
|
|
/* make result list longer */
|
|
.select2-results {
|
|
max-height: 500px;
|
|
}
|
|
|
|
/* Make no results a bit look like results */
|
|
.select2-results .select2-no-results,
|
|
.select2-results .select2-searching,
|
|
.select2-results .select2-more-results
|
|
{
|
|
background-color: #fff;
|
|
margin: 3px 6px 3px 6px;
|
|
}
|
|
.select2-results .select2-searching,
|
|
.select2-results .select2-more-results
|
|
{
|
|
background: image-url('select2/select2-spinner.gif') no-repeat scroll 100% center #fff;
|
|
}
|
|
|
|
|
|
/* Selected elements should be bold, have inverted colors and rounded corners */
|
|
.select2-results .select2-highlighted {
|
|
border-radius: 5px;
|
|
|
|
background-color: #24B3E7;
|
|
font-weight:bold;
|
|
}
|
|
.select2-results .select2-result-unselectable {
|
|
color: #999;
|
|
background:transparent;
|
|
}
|
|
|
|
|
|
/* Shorten overlong project names */
|
|
.select2-results .select2-result-label {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
-ms-text-overflow: ellipsis;
|
|
-o-text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
|
|
/* Fix search input in IE8 - input was to high */
|
|
.select2-search input {
|
|
min-height: 0\9;
|
|
}
|
|
|
|
.controller-work_packages.action-index .select2-drop:not(.project-search-results) .select2-results .select2-result-selectable {
|
|
color: #000;
|
|
}
|
|
|
|
.controller-work_packages.action-index .select2-drop:not(.project-search-results) .select2-results .select2-result-selectable.select2-highlighted {
|
|
color: #fff;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.select2-drop {
|
|
z-index: 30001;
|
|
}
|
|
|
|
.select2-drop-mask {
|
|
z-index: 30000;
|
|
}
|
|
|
|
.select2-display-none {
|
|
display: none;
|
|
}
|
|
|
|
.ui-select-container {
|
|
// HACK. TODO: Remove ul overrides in various places.
|
|
// See: https://community.openproject.org/work_packages/18330
|
|
|
|
ul {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|