scinote-web/app/assets/stylesheets/my_modules/repositories.scss

145 lines
2.5 KiB
SCSS
Raw Normal View History

2020-01-15 23:46:01 +08:00
// scss-lint:disable SelectorDepth SelectorFormat QualifyingElement
// scss-lint:disable NestingDepth ImportantRule
.my-module-inventories {
.main-actions {
align-items: center;
display: flex;
.filter-container {
flex-grow: 1;
}
}
.dataTables_scroll {
.dataTables_scrollBody {
thead {
opacity: 0;
}
}
}
tbody {
2020-01-24 23:33:44 +08:00
tr {
.assigned-column {
.repository-row-lock-icon {
display: none !important;
}
}
}
2020-01-15 23:46:01 +08:00
2020-01-24 23:33:44 +08:00
tr:hover {
2020-01-15 23:46:01 +08:00
.assigned-column {
.repository-row-edit-icon {
display: none !important;
}
.circle-icon {
margin-left: 30px !important;
}
}
}
}
.pagination-row {
align-items: center;
display: flex;
.pagination-info,
.pagination-actions {
flex-grow: 1;
}
.pagination-info {
align-items: center;
display: flex;
.dataTables_info {
padding-top: 0;
}
.dataTables_length {
margin-right: 24px;
width: 170px;
.dropdown-selector-container {
width: inherit;
}
label {
margin-bottom: 0;
}
}
}
}
}
2020-04-02 18:05:07 +08:00
2020-04-03 19:15:56 +08:00
#assigned-items-container {
2020-04-02 18:05:07 +08:00
.assigned-repository {
border: $border-default;
border-radius: $border-radius-modal;
margin-bottom: 10px;
.assigned-repository-caret {
align-items: center;
color: inherit;
display: flex;
height: 52px;
padding: 0 18px;
text-decoration: none;
&:hover,
&:active {
text-decoration: none;
}
&:not(.collapsed) .fa-caret-right {
@include rotate(90deg);
}
.fa-caret-right {
flex-shrink: 0;
margin-right: 10px;
}
.assigned-repository-title {
@include font-h3;
overflow: hidden;
padding-right: 55px;
position: relative;
text-overflow: ellipsis;
white-space: nowrap;
&::after {
color: $color-alto;
content: attr(data-rows-count);
display: inline-block;
line-height: 22px;
padding-left: 5px;
position: absolute;
right: 0;
width: 55px;
}
}
.action-buttons {
flex-grow: 1;
flex-shrink: 0;
text-align: right;
.fas {
cursor: pointer;
line-height: 36px;
text-align: center;
width: 36px;
}
}
}
2020-04-03 19:15:56 +08:00
&:hover {
background: $color-concrete;
}
2020-04-02 18:05:07 +08:00
}
}