123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339 |
- .tree-control .tree-input {}
- .tree-control .tree-input {
- /* height: 100%; */
- padding-top: 3px;
- min-height: 30px!important;
- position: relative;
- display: inline-block;
- /*text-align: center;*/
- cursor: pointer;
- border: 1px solid #c6c6c6;
- /*padding: 1px 8px 1px 8px;*/
- font-size: 14px;
- /*min-height : 38px !important;*/
- border-radius: 4px;
- color: #555;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- -o-user-select: none;
- user-select: none;
- white-space: normal;
- background-color: #fff;
- /*background-image: linear-gradient(#fff, #f7f7f7);*/
- }
- .tree-control .tree-input:hover {
- /*background-image: linear-gradient(#fff, #e9e9e9);*/
- }
- /* downward pointing arrow */
- .tree-control .caret {
- display: inline-block;
- width: 0;
- height: 0;
- margin: 0px 0px 1px 12px !important;
- vertical-align: middle;
- border-top: 4px solid #333;
- border-right: 4px solid transparent;
- border-left: 4px solid transparent;
- border-bottom: 0 dotted;
- }
- .tree-control .tree-input span.noselected-items {
- text-align: left;
- }
- .tree-control .tree-input span.selected-items .selected-item {
- /*background: #f2f2f2;*/
- /*border: 1px solid darkgray;*/
- border: 1px solid #1b88ff;
- /*border-radius: 3px;*/
- border-radius: 3px;
- padding: 0px 10px;
- margin-right: 5px;
- /*padding: 4px 16px;*/
- cursor: text;
- position: relative;
- /*height: 100%;*/
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- /*width: 90%;*/
- display: inline-block;
- }
- .tree-control .tree-input span.selected-items .selected-item::before {
- content: "";
- color: white;
- position: absolute;
- right: -1px;
- top: -1px;
- /*width: 10px;*/
- border-top: 8px #1b88ff solid;
- border-bottom: 8px transparent solid;
- border-left: 8px transparent solid;
- border-right: 8px #1b88ff solid;
- text-align: center;
- line-height: 20px;
- }
- /*.tree-control .tree-input span.selected-items .selected-item-close {
- width: 20px;
- cursor: pointer;
- font-weight: bold;
- display: inline-block;
- padding: 2px;
- text-align: center;
- }*/
- .tree-control .tree-input span.selected-items .selected-item-close {
- position: absolute;
- right: 0px;
- top: -2px;
- color: white;
- font-size: 6px;
- z-index: 1;
- padding: 1px;
- cursor: pointer;
- }
- /*.tree-control .tree-input span.selected-items .selected-item-close:hover {
- background-color: #f2f2f2
- }*/
- .tree-control .tree-input span.selected-items .selected-item-close:before {
- content: 'x';
- }
- .tree-control .tree-input .caret {
- position: absolute;
- height: 10px;
- top: 50%;
- right: 10px;
- margin-top: -2px;
- }
- .tree-control .tree-view {
- background-color: #fff;
- position: absolute;
- z-index: 999;
- border: 1px solid rgba(0, 0, 0, 0.15);
- border-radius: 4px;
- -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
- box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
- min-width: 300px;
- width: 100%;
- /*margin-right: 30px;*/
- max-height: 300px;
- overflow: auto;
- padding: 10px 5px;
- }
- .tree-control .tree-view ul {
- padding: 0;
- margin: 0;
- }
- .tree-control .tree-view ul .item-details {
- display: inline-block;
- margin-left: 5px;
- }
- .tree-control .tree-view ul .tree-checkbox {
- margin-right: 3px;
- margin-top: 0;
- color: #ddd !important;
- cursor: pointer;
- }
- .tree-control .tree-view .active {
- background-color: #007AF;
- border-radius: 3px;
- }
- .tree-control .tree-view .selected.active {
- background-color: #007AF;
- border-radius: 10px;
- color: white;
- }
- /* container of helper elements */
- .tree-control .tree-view .helper-container {
- border-bottom: 1px solid #ddd;
- padding: 8px 8px 0px 8px;
- }
- /* container of multi select items */
- .tree-control .tree-view .tree-container {
- padding: 8px;
- }
- .tree-control .tree-view .item-container {
- padding: 3px 20px;
- color: #444;
- white-space: nowrap;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- -o-user-select: none;
- user-select: none;
- border: 1px solid transparent;
- position: relative;
- border-radius: 10px;
- }
- /* item labels focus on mouse hover */
- .tree-control .tree-view .item-container:hover {
- /*background-image: linear-gradient( #c1c1c1, #999 ) !important;*/
- background: #007AFF;
- color: #fff !important;
- cursor: pointer;
- border: 1px solid #ccc !important;
- border-radius: 10px;
- }
- .tree-control .tree-view .selected {
- /*background-image: linear-gradient( #e9e9e9, #f1f1f1 );*/
- background: #007AFF;
- border-radius: 10px;
- color: white;
- cursor: pointer;
- border-top: 1px solid #e4e4e4;
- border-left: 1px solid #e4e4e4;
- border-right: 1px solid #d9d9d9;
- }
- /* helper buttons (select all, none, reset); */
- .tree-control .tree-view .helper-button {
- display: inline;
- text-align: center;
- cursor: pointer;
- border: 1px solid #ccc;
- height: 26px;
- font-size: 13px;
- border-radius: 2px;
- color: #666;
- background-color: #f1f1f1;
- line-height: 1.6;
- margin: 0px 0px 8px 0px;
- }
- /* clear button */
- .tree-control .tree-view .clear-button {
- position: absolute;
- display: inline;
- text-align: center;
- cursor: pointer;
- border: 1px solid #ccc;
- height: 22px;
- width: 22px;
- font-size: 13px;
- border-radius: 2px;
- color: #666;
- background-color: #f1f1f1;
- line-height: 1.4;
- right: 2px;
- top: 2px;
- }
- /* filter */
- .tree-control .tree-view .input-filter {
- border-radius: 2px;
- border: 1px solid #ccc;
- height: 26px;
- font-size: 14px;
- width: 100%;
- padding-left: 7px;
- -webkit-box-sizing: border-box;
- /* Safari/Chrome, other WebKit */
- -moz-box-sizing: border-box;
- /* Firefox, other Gecko */
- box-sizing: border-box;
- /* Opera/IE 8+ */
- color: #888;
- margin: 0px 0px 8px 0px;
- }
- /* helper elements on hover & focus */
- .tree-control .tree-view .clear-button:hover,
- .tree-control .tree-view .helper-button:hover {
- border: 1px solid #ccc;
- color: #999;
- background-color: #f4f4f4;
- }
- .tree-control .tree-view .clear-button:focus,
- .tree-control .tree-view .helper-button:focus,
- .tree-control .tree-view .input-filter:focus {
- border: 1px solid #66AFE9 !important;
- box-shadow: inset 0 0px 1px rgba(0, 0, 0, .035), 0 0 5px rgba(82, 168, 236, .7) !important;
- }
- /* ! create a "row" */
- .tree-control .tree-view .line {
- max-height: 30px;
- overflow: hidden;
- position: relative;
- }
- .tree-control .tree-view .item-close {
- width: 20px;
- cursor: pointer;
- font-weight: bold;
- padding: 5px;
- }
- .tree-control .tree-view .item-close:hover {
- background-color: #f2f2f2
- }
- .tree-control .tree-view .item-close:before {
- content: 'x';
- }
- .tree-control .tree-view li {
- list-style-type: none;
- margin-left: 15px;
- }
- .tree-control .tree-view li .expand {
- display: inline-block;
- width: 0;
- height: 0;
- border-top: 6px solid transparent;
- border-bottom: 6px solid transparent;
- border-left: 10px solid #525252;
- }
- .tree-control .tree-view li .expand-opened {
- border: none;
- border-left: 6px solid transparent;
- border-right: 6px solid transparent;
- border-top: 10px solid #525252;
- }
- .tree-control .tree-view li.top-level {
- margin: 0;
- }
|