mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-12 02:51:49 -05:00
75 lines
1.5 KiB
Plaintext
75 lines
1.5 KiB
Plaintext
/** @define RoleList */
|
|
@import "../shared/branding/colors.default.less";
|
|
|
|
.RoleList {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.RoleList-tagContainer {
|
|
display: flex;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.RoleList-tag {
|
|
border-radius: 5px;
|
|
padding: 2px 10px;
|
|
margin: 4px 0px;
|
|
border: 1px solid @d7grey;
|
|
font-size: 12px;
|
|
color: @default-interface-txt;
|
|
text-transform: uppercase;
|
|
background-color: @default-bg;
|
|
margin-right: 5px;
|
|
max-width: 100%;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.RoleList-tag--deletable {
|
|
margin-right: 0px;
|
|
border-top-right-radius: 0px;
|
|
border-bottom-right-radius: 0px;
|
|
border-right: 0;
|
|
max-wdith: ~"calc(100% - 23px)";
|
|
}
|
|
|
|
.RoleList-deleteContainer {
|
|
border: 1px solid @d7grey;
|
|
border-left-color: @default-bg;
|
|
background-color: @default-bg;
|
|
border-top-right-radius: 5px;
|
|
border-bottom-right-radius: 5px;
|
|
padding: 0 5px;
|
|
margin: 4px 0px;
|
|
margin-right: 5px;
|
|
align-items: center;
|
|
display: flex;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.RoleList-tagDelete {
|
|
font-size: 13px;
|
|
color: @default-icon;
|
|
}
|
|
|
|
.RoleList-name {
|
|
flex: initial;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.RoleList-tag--deletable > .RoleList-name {
|
|
max-width: ~"calc(100% - 23px)";
|
|
}
|
|
|
|
.RoleList-deleteContainer:hover, {
|
|
border-color: @default-err;
|
|
background-color: @default-err;
|
|
}
|
|
|
|
.RoleList-deleteContainer:hover > .RoleList-tagDelete {
|
|
color: @default-bg;
|
|
}
|