ui-modules/app-inspector/app/components/task-list/task-list.less (185 lines of code) (raw):
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
task-list {
display: block;
position: relative;
brooklyn-status-icon {
margin-right: 15px;
width: 30px;
height: 30px;
display: block;
}
i.sub-task-link {
font-size: 40px;
color: @brand-primary;
}
.custom-status-task-icon {
color: @brand-success;
}
.activity-child {
margin-left: 0px;
}
.search-bar-with-controls {
display: flex;
flex-flow: row wrap;
.activity-tag-filter {
flex: 0;
.selection-summary {
.funnal {
color: @gray-light;
margin-right: 1ex;
}
.dropdown-badges-for-category {
margin: 0 0.2ex;
}
.dropdown-badge-for-category {
background-color: @gray-dark;
color: @gray-lightest;
padding: 3px 6px;
border-radius: 5px;
margin: 0 0.3ex;
&.dropdown-category-type-tag {
background-color: @color-labels-dark;
}
}
}
margin-right: 0.6em;
}
.activity-name-filter {
flex: 1;
}
}
//.activity-tag-filter-tag {
// color: #A8B2B9;
//}
//.activity-tag-filter-action {
// color: mix(#A8B2B9, #444);
//}
.activity-tag-filter-error, .activity-tag-filter-tag, .activity-tag-filter-action {
-webkit-font-smoothing: antialiased;
padding: 5px 10px 5px 10px;
}
.activity-tag-filter-tag, .activity-tag-filter-action {
cursor: pointer;
transition: color 0.5s;
&:hover {
//color: #7B8C98;
background-color: @dropdown-link-hover-bg;
.badge {
//background-color: #7B8C98;
}
}
&.active {
//color: #3B558A;
background-color: @dropdown-link-active-bg;
.badge {
// background-color: #3B558A;
}
&:hover {
//color: #3B558A;
}
}
.main {
margin-right: 1em;
}
.badge {
//color: #3b558a;
//color: white;
background-color: #e6e6e6;
//background-color: #A8B2B9;
margin-left: 1ex;
float: right;
&.included {
background-color: @brand-primary;
}
&.more-excluded-elsewhere, &.more-excluded-elsewhere {
background-color: @gray-lighter;
}
&.excluded-here {
background-color: @primary-50;
}
}
}
.dropdown-menu.with-checks {
width: auto;
max-height: 400px;
li {
padding-left: 2em;
&.divider-above {
border-top: 1px solid @gray-lighter;
margin-top: 6px;
padding-top: 10px;
}
}
.selected {
.check.if-selected {
margin-left: -1.5em;
display: block;
width: 0;
height: 0;
overflow: visible;
margin-top: 3px;
margin-bottom: -3px;
}
.included, .more-excluded-elsewhere {
display: block;
}
.excluded-here {
display: none;
}
}
.included, .more-excluded-elsewhere {
display: none;
}
.check.if-selected {
display: none;
}
}
}
.activity-table {
.table > tbody > tr > td {
vertical-align: middle;
}
.status {
width: 80px;
}
.name {
width: auto;
i.pull-right {
margin-top: 3px;
}
}
.started {
width: 150px;
a {
color: black;
}
}
.duration {
width: 150px;
a {
color: black;
}
}
.table > tbody > tr:hover td {
background: fade(@primary-500, 10%);
}
.table > tbody > tr > td {
padding: 0;
a {
display: block;
padding: 8px;
}
&.status {
a {
padding-top: 0;
padding-bottom: 0;
display: flex;
justify-content: center;
brooklyn-status-icon {
margin: 0;
width: 24px;
height: 24px;
}
}
}
&.no-tasks-found {
padding: 24px;
font-size: 125%;
}
}
tr > td > a:hover {
text-decoration: none;
}
}
.no-activities {
margin: 20px;
margin-top: 50px;
color: #747F86;
text-align: center;
font-size: 20px;
}