common.less revision a500a8ecaba8363492aa1f4a62d5af939b2a91e6
@active-background-color: #EDFCF5;
.invalid-background{
background-color:#ffd4d4;
background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(60, 60, 60, 0.1) 35px, rgba(60, 60, 60, 0.1) 70px);
}
.filter-sort-grid {
position: relative;
.rounded-corners(5px);
td, th {
text-align: left;
padding: 5px 10px;
}
th:first-child, td:first-child {
width: 12px;
}
input[type='text'], select, input.button {
padding: 2px 5px;
}
tbody tr:hover{
background-color:@active-background-color;
}
// Header
.header-titles {
th, td {
background-color: #5a646d;
border: 1px solid #5a646d;
&:first-child {
border-radius: 5px 0 0 0;
}
&:last-child {
border-radius: 0 5px 0 0;
}
}
th {
color:#fff;
}
a {
white-space: nowrap;
}
}
.header-filter {
background-color: #eee;
border-bottom: 1px solid #ccc;
input, select {
width: 90%;
}
}
.header-actions {
th {
text-align: right;
padding-right: 0;
}
}
// Body
tbody {
background-color: #fff;
td {
border-bottom: 1px solid #ccc;
}
}
}
// Accordion
.accordion {
margin: 15px 0 0 0;
background-color: #fff;
border: 1px solid #BCBEC0;
border-bottom: none;
.rounded-corners(5px);
.accordion-header {
height: 30px;
line-height: 30px;
display: block;
padding: 0 0 0 10px;
background-color: #d5d5d5;
color: #666;
cursor:pointer;
border-bottom: 1px solid #bebebe;
text-decoration: none;
&.accordion-step-disabled {
background: #aaa;
cursor:default;
}
&:focus:not(.accordion-step-disabled), &:hover:not(.accordion-step-disabled), &.step-active:not(.accordion-step-disabled){
background-color: #D7E9F8;
box-shadow:none;
}
}
.accordion-step {
padding: 20px 15px 15px;
border-bottom: 1px solid #bebebe;
display:none;
& > input.button {
margin-top: 15px;
float:right;
}
.group-field-block, .group-field-row {
label {
width: 180px;
font-size: inherit;
font-weight: normal;
text-align:right;
}
}
&:last-of-type:not(.active-step){
border-bottom: none;
}
}
.group-field-block {
margin: 15px 0;
input {
margin: 2px 5px 0 0;
}
.resource-pattern {
input {
width: 180px;
float: none;
}
}
.controls-group {
float: left;
width: 200px;
margin-left: 20px;
input {
clear: left;
}
}
}
.prop-val {
float: left;
}
width: 200px;
}
width: 180px;
}
max-width:622px;
min-width:622px;
}
textarea, input:not(.button){
border-radius:0;
}
.review-row {
background: #ebebeb;
padding: 0 8px 13px;
clear: both;
font-size: 13px;
margin: 0 5px 5px 0;
border-radius: 3px;
border:1px solid #bebebe;
cursor:pointer;
overflow-x:auto;
&.invalid{
.invalid-background;
.invalid{
color: red;
}
}
h2 {
font-size: 15px;
line-height: 20px;
padding: 8px 10px 8px 0;
clear:bothl
}
ul, p, pre {
clear:left;
padding: 0 0 0 20px;
display:block;
}
p, li {
font-family: monospace;
display: block;
}
pre {
font-family: monospace;
line-height: 0.9em;
display: block;
float: left;
}
&:hover, &:focus{
background-color: #bebebe;
box-shadow:none;
}
}
.resources-grid, .actions-grid {
width: 430px;
}
.actions-grid {
.group-field-row {
margin: 0;
label {
padding: 0 5px;
width: auto;
}
}
th:last-child {
width: 130px;
}
}
}
.ui-jqgrid {
cursor: pointer;
margin: 15px 0 0 0;
> span {
font-size: 16px;
padding: 0 3px;
&.tooltips {
&:hover span, &:focus span {
margin-left: -40px;
width: 70px;
}
}
}
}
.ui-state-hover {
border-color: rgba(0, 0, 0, 0.2);
}
.ui-state-highlight {
background: #d7f8e9;
border-color: rgba(0, 0, 0, 0.2);
color: inherit;
}
box-shadow: none;
transition: background 200ms linear;
td {
vertical-align: middle;
}
}
th[id*="_cb"] {
display: none;
}
tr.jqgrow td[aria-describedby*="_iconChB"] {
text-align: center;
span {
font-size: 16px;
}
}
tr.jqgrow td[aria-describedby*="_name"] {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
tr.jqgrow td[aria-describedby*="_actions"] {
background-color: #ebebeb;
overflow: visible;
white-space: normal;
text-align: center;
}
td[aria-describedby*="_actions"] {
background-color: inherit;
}
}
}
[id*='gview_'] .frozen-bdiv {
overflow: visible !important;
height: auto !important;
}
.ui-multiselect {
.remove-all, .add-all {
float: right;
padding: 7px;
}
.count {
float: left;
padding: 7px;
}
.ui-state-default {
border: medium none;
margin-bottom: 1px;
padding-left: 20px;
position: relative;
}
left: 2px;
position: absolute;
}
li a.action {
position: absolute;
right: 2px;
top: 2px;
}
border: 0 none;
float: left;
margin: 0;
padding: 0;
position: relative;
width: 240px !important;
}
.search {
width: 130px;
}
}
> span {
opacity:0.5;
transition:opacity 200ms linear;
&.icon-checkmark {
display:none;
}
&:hover, &:focus {
opacity:1;
box-shadow: none;
}
&.tooltips {
position: relative;
display: inline;
span {
position: absolute;
width: 0;
color: #fff;
background-color:#000;
background-image:-webkit-linear-gradient(top, #555, #000);
text-align: center;
visibility: hidden;
border-radius: 3px;
font-size: 13px;
padding: 6px 5px 10px;
box-shadow: 0px 1px 3px #666;
bottom: 25px;
transition:bottom 200ms ease-out, opacity 500ms ease-in;
&:after {
content: '';
position: absolute;
top: 100%;
left: 50%;
margin-left: -8px;
width: 0; height: 0;
border-top: 8px solid #000;
border-right: 8px solid transparent;
border-left: 8px solid transparent;
}
}
&:hover span, &:focus span {
visibility: visible;
opacity: 0.8;
bottom: 30px;
left: 50%;
z-index: 999;
}
}
}
}
#patterns .striped-list {
li {
&:hover, &:focus:not(.created-items){
cursor:pointer;
.icon-arrow-right{
opacity:1;
color:#80b7ab;
padding-right: 0;
}
}
.icon-arrow-right{
opacity:0;
transition: all 300ms ease-in-out;
color:#555
}
.icon-arrow-right{
padding-right: 10px;
}
}
}
.striped-list {
border: 1px solid #ccc;
border-bottom:none;
border-radius: 3px 3px 3px 3px;
margin:0 10px 0 0;
h3 {
font-size: 14px;
background:#5a646d;
color:#fff;
padding-left:8px;
border-radius: 3px 3px 0 0px;
font-weight:normal;
}
li {
padding:8px;
border-bottom: 1px solid #ccc;
&:nth-child(odd){ background-color:#eee; }
&:nth-child(even){ background-color:#fff; }
.icon-close, .icon-arrow-right, .icon-plus{
opacity:0;
transition: all 300ms ease-in-out;
color: #555;
display: block;
}
.icon-arrow-right{
padding-right: 10px;
}
.key{
font-weight: bold;
padding-right: 4px;
}
}
&.created-items {
border: none;
border-top:1px solid #ccc;
&#createdResources {
li.editing, li.editing:hover {
min-height: 36px;
input {
width: 27px;
min-width: 27px;
max-width: 300px;
transition: width 0.25s ease-out;
}
}
}
&[data-attr-type="Static"] {
li.editing input {
width: 176px;
}
}
li {
border: 1px solid #ccc;
border-top:none;
transition: background 1s linear;
&.highlight-info {
background:#ffc;
transition: background 0.2s linear;
}
&.highlight-warning {
background:#fcc;
transition: background 0.2s linear;
}
&.highlight-good {
background:#CCFFDE;
transition: background 0.2s linear;
}
.icon-plus {
opacity:0.6;
padding-top: 8px;
&:focus, &:hover{
box-shadow:none;
opacity:1;
color:#80b7ab;
}
}
.icon-close {
opacity:0.4;
&:focus, &:hover{
box-shadow:none;
opacity:1;
color:#DB8383;
}
}
&.editing {
background-color:#eee;
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
margin-top: 20px;
border: 1px solid #ccc;
border-radius: 3px;
transition: background-color 200ms linear;
input {
margin: 3px 5px;
padding: 5px 0 5px 5px;
border-radius: 0;
}
}
&.invalid {
.invalid-background;
transition: background-color 200ms linear;
.icon-plus {
&:focus, &:hover{
opacity:0.6;
color:#555;
cursor:default;
}
}
input[type="text"]:invalid:required {
background:white;
}
}
}
}
}
input[type="text"]:invalid:required{
.invalid-background;
transition: background-color 200ms linear;
}
.ui-state-default .ui-element .dragged{
margin-top:-300px;
}
#globalActions{
margin: 20px 0 0 -5px;
display: block;
}
.content-bg h1 span{
font-weight:normal;
color: #80b7ab;
}
/// this needs to be integrated into the above
.selectize-control.multi .selectize-input {
padding: 6px 5px 2px 5px;
margin: 5px 0 0 0;
border-radius: 0;
border-top-color: #b7b7b7;
border-left-color: #b7b7b7;
&.has-items{
padding: 3px 15px 0px 3px;
}
}
.selectize-input > input {
margin: 0 5px 0 5px !important;
}
.selectize-control.multi .selectize-input > div {
cursor: pointer;
margin: 0 2px 2px 0;
padding: 1px 5px 0;
background: #D7E9F8;
color: #303030;
border: 1px solid #d0d0d0;
}