uma.less revision 862a31119ccc38b9e7836a2366c6040ec8b02591
/* VARIABLES */
@table-base-color: #1f6fb1;
@cell-hover-color: #B6D4EA;
.webkit-text-rendering-bugfix{
-webkit-transform: translateZ(0px);
-webkit-backface-visibility: hidden;
}
.invalid-background(@bgcolor: #ffd4d4){
background-color:@bgcolor;
background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(60, 60, 60, 0.1) 35px, rgba(60, 60, 60, 0.1) 70px);
}
.wordwrap{
white-space: initial;
word-wrap: break-word;
word-break: break-word;
}
.ellipsis{
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
span.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 100ms ease-in;
opacity:0;
&: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 {
width: 120px;
margin-left: -65px;
visibility: visible;
opacity: 0.9;
bottom: 30px;
left: 50%;
z-index: 999;
}
}
span.item-button-panel {
> span {
opacity:0.5;
transition:opacity 200ms linear;
&.icon-checkmark {
display:none;
}
&:hover, &:focus {
opacity:1;
box-shadow: none;
}
}
}
.content-bg {
padding: 20px 10px;
}
.policy-header {
padding:0 0 30px;
margin: 0 10px;
h1 {
font-weight:normal;
padding:0 0 10px;
line-height: 32px;
span, a{
font-weight:bold;
text-decoration:none;
}
}
h2 {
font-weight: normal;
line-height: 18px;
font-style: italic;
font-size: 12px;
span {
font-weight:normal;
color: #999;
}
a {
font-weight:normal;
text-decoration:none;
}
}
}
.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;
}
html .selectize-dropdown .optgroup-header{
font-weight:bold;
color:#80b7ab;
}
.selectize-control.multi .selectize-input > div {
cursor: pointer;
margin: 0 2px 2px 0;
padding: 1px 5px 0;
background: #A4CAE7;
color: #095390;
border: 1px solid #90A7BA;
border-radius: 2px;
&:hover, &.active{
background: #EFB6BE;
border: 1px solid #DD7785;
color: #CA3232;
}
}
.backgrid-readonly{
.selectize-control.multi .selectize-input > div {
&:hover, &.active{
background: #A4CAE7;
color: #095390;
border: 1px solid #90A7BA;
cursor: auto;
}
}
.selectize-control.multi .selectize-input, .selectize-control.single .selectize-input{
background: none;
border: none;
box-shadow: none;
}
}
.selectize-control.single .selectize-input{
padding:6px 5px 2px 5px;
border-radius: 0;
}
.selectize-dropdown-content > div{
border-top: 1px solid #eee;
&:first-of-type{
border-top:none;
}
}
#lastFSlash, select {
transition:opacity 300ms linear;
&.fade{
opacity:0;
}
}
/* XUI Overrides */
body{
/* This will prevent to sudden shift of content which can sometimes occur
* when navigating between them long views which require a scroll bar and
* short ones which do not.
*/
overflow-y: scroll;
// To remove the empty space at the bottom of the footer which causes the
// scroll bar to always be present.
.footer .container {
padding-bottom: 0;
}
}
.page-header {
h1 {
.fa {
color: #9AA2A6;
font-size: 20px;
vertical-align: middle;
}
}
}
#uma {
input[type="text"]:invalid:required, input[type="text"].invalid {
.invalid-background;
transition: background-color 200ms linear;
}
#selectUser {
width: 370px;
margin: 0 15px 10px 0;
}
#selectPermission {
min-width:370px;
margin: 0 15px 10px 0;
}
#resourceList {
margin-bottom:30px;
}
input.button {
padding-top: 5px;
padding-bottom: 5px;
margin: 26px 0 0 0;
}
label {
display: block;
padding: 0 0 4px 2px;
color: grey;
}
.backgrid{
max-width: none;
position: relative;
.string-cell, .uri-cell, .email-cell, .string-cell.editor input[type=text], .uri-cell.editor input[type=text], .email-cell.editor input[type=text], .datetime-cell {
text-align: left;
}
td.uri-cell{
padding:13px 5px;
border-left: 1px solid transparent;
border-right: 1px solid transparent;
// TODO: BOOTSTRAP: Removed due to build issues. Will need re-adding
//.transition(background, 0.1s);
&:hover{
background-color: @cell-hover-color;
cursor:pointer;
border-color: lighten(@table-base-color, 35%);
}
}
td:not(.uri-cell) a {
// Adds the click event to the td so that the entire cell is clickable so underline not needed
text-decoration: underline;
}
th {
text-align: left;
border-bottom: none;
font-weight: bold;
font-size: 15px;
vertical-align: bottom;
background-color: white;
a {
color: #777;
}
&.sortable a {
padding-right:8px;
}
&.descending a, &.ascending a {
color: @table-base-color;
padding-right:0;
}
}
thead tr {
border-bottom: 1px solid lighten(@table-base-color, 45%);
}
tbody tr {
background-color: lighten(@table-base-color, 50%);
border-bottom: 1px solid lighten(@table-base-color, 45%);
color: @table-base-color;
&:nth-child(even) {
background-color: lighten(@table-base-color, 55%);
}
&.empty {
.invalid-background(lighten(@table-base-color, 45%));
border-top: 1px solid lighten(@table-base-color, 45%);
td{
display: table-cell;
padding:10px;
}
}
td {
border-bottom: 1px solid lighten(@table-base-color, 45%);
a {
color: @table-base-color;
text-decoration: none;
font-weight:bold;
}
&.icon-share {
font-size:15px;
padding:0 10px;
text-align:center;
&:hover {
background-color: @cell-hover-color;
}
}
}
}
.ascending .sort-caret{
border-bottom: 4px solid @table-base-color;
}
.descending .sort-caret {
border-top: 4px solid @table-base-color;
}
tbody tr.unsaved-changes {
background-color:#fff;
transition: background 0.2s linear;
.backgrid-revoke-cell {
#revoke {
display:none;
}
#save, #cancel{
display:block;
}
}
}
.backgrid-filter input[type="search"]{
border-radius: 0;
padding-right: 25px;
padding-left: 25px;
}
.backgrid-filter .clear{
right: 0;
padding-right:0;
color:#D87482;
}
}
.backgrid-container{
width: 100%;
overflow-x: scroll;
border: 1px solid lighten(@table-base-color, 45%);
border-bottom: none;
height: auto;
overflow: auto;
}
.backgrid-filter.form-search {
margin: 5px 0 5px;
// TODO: BOOTSTRAP: Removed due to build issues. Will need re-adding
//.hideSearchCloseBtn;
}
.backgrid-revoke-cell {
width: 64px;
[class^="icon-"], [class*=" icon-"] {
font-size: 12px;
padding: 13px 10px 13px 10px;
&:hover, &:focus{
// TODO: BOOTSTRAP: Removed due to build issues. Will need re-adding
//color: @color-error;
}
}
#save {
&:hover, &:focus{
// TODO: BOOTSTRAP: Removed due to build issues. Will need re-adding
//color: @color-success;
}
}
#save, #cancel {
display: none;
}
}
.search {
&:after {
background-color: lighten(@table-base-color, 30%);
}
&:before {
border: 3px solid lighten(@table-base-color, 30%);
}
}
.selectize-control.multi .selectize-input, .selectize-control.single .selectize-input{
margin: 5px 0 0 0;
}
span.tooltips:hover span, span.tooltips:focus span {
width: 200px;
margin-left: -100px;
}
span.tooltips span {
color: #d7e9f8;
background-color: @table-base-color;
padding: 6px 5px;
background-image: -webkit-linear-gradient(top, lighten(@table-base-color, 10%), @table-base-color);
}
span.tooltips span:after {
border-top: 8px solid @table-base-color;
}
#footerShare{
margin: 15px -10px -20px -10px;
border-top: 1px solid rgb(213, 213, 213);
padding: 15px;
background-color: #eee;
border-radius: 0 0 5px 5px;
#footerNav{
margin: 18px 0 0;
font-size: 13px;
line-height: 13px;
a {
text-decoration:none
}
#shareCounter {
display: inline-block;
color: grey;
border-left: 2px solid grey;
padding-left: 11px;
margin-left: 10px;
}
.icon-users, .icon-user, .icon-cog, .icon-lock{
font-size:13px;
padding-right:3px;
cursor:auto;
}
}
}
#advancedView {
overflow:hidden;
max-height:0;
opacity:0;
transition:max-height 500ms ease-out, opacity 500ms ease-in-out ;
border: 1px solid lighten(@table-base-color, 45%);
border-bottom:none;
}
#selectAuthentication{
width:200px;
background-color:#ddd;
display:none;
margin-right:20px;
height:59px;
}
&.advanced-mode{
#advancedView{
max-height:500px;
opacity:1;
transition:max-height 500ms ease-out, opacity 500ms ease-in-out ;
}
#selectAuthentication{
display:block;
clear:left;
}
}
}
/* new submenu style */
#menu {
.menu {
margin:0 0 15px 0;
}
}
.content {
padding: 0px 10px;
}
.submenubar {
clear: both;
border: none;
margin: 0 5px 0;
li a {
text-decoration:none;
color: #777;
}
a:hover, .active a{
border-radius: 0;
background-color: transparent;
color: #80b7ab;
&:focus{
box-shadow:none;
}
}
}
#dialog-background.show {
opacity: 0.5;
}
#dialogs #footerShare {
margin: 15px -15px -15px -15px;
}
.border-circle-32 {
height: 32px;
border-radius: 21px;
margin: 0 10px 0 0;
width: 32px;
overflow: hidden;
}
@media (min-width: 768px) {
#subNavBar .nav-subnav > li.active > a:after {
border-bottom: 6px solid #eee;
}
}