2020-06-03 19:42:09 +08:00
|
|
|
.repositories-index {
|
2023-05-25 19:12:27 +08:00
|
|
|
.content-body {
|
|
|
|
--content-header-size: 3.5rem;
|
|
|
|
height: calc(100vh - var(--navbar-height) - var(--content-header-size));
|
|
|
|
}
|
2023-05-03 04:58:11 +08:00
|
|
|
|
2023-05-09 20:53:50 +08:00
|
|
|
.view-switch {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2023-05-03 04:58:11 +08:00
|
|
|
.toolbar-wrapper {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2020-06-03 19:42:09 +08:00
|
|
|
&.active {
|
|
|
|
[data-view-mode="archived"] {
|
2021-11-17 21:53:04 +08:00
|
|
|
display: none !important;
|
2020-06-03 19:42:09 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.archived {
|
|
|
|
[data-view-mode="active"] {
|
2021-11-17 21:53:04 +08:00
|
|
|
display: none !important;
|
2020-07-02 20:29:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-readonly="true"] {
|
|
|
|
.main-actions {
|
|
|
|
.toolbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter-container {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2020-06-03 19:42:09 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-07-06 18:47:42 +08:00
|
|
|
|
|
|
|
#rename-repo-modal {
|
|
|
|
.modal-footer {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#create-repo-modal {
|
|
|
|
.modal-footer {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#new_repository {
|
|
|
|
.modal-footer {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
2022-01-05 22:02:09 +08:00
|
|
|
|
|
|
|
.main-actions {
|
2023-05-03 04:58:11 +08:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
.view-switch {
|
|
|
|
.caret {
|
|
|
|
margin: 8px 0 8px 8px;
|
|
|
|
}
|
|
|
|
|
2023-05-11 14:32:52 +08:00
|
|
|
.view-switch-button {
|
2023-05-11 18:40:56 +08:00
|
|
|
outline: 1px solid $color-alto;
|
2023-05-11 14:32:52 +08:00
|
|
|
}
|
|
|
|
|
2023-05-03 04:58:11 +08:00
|
|
|
&.open {
|
|
|
|
.caret {
|
|
|
|
transform: rotateX(180deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
@include font-button;
|
|
|
|
min-width: 100%;
|
2023-05-30 17:15:06 +08:00
|
|
|
padding: 0;
|
2023-05-03 04:58:11 +08:00
|
|
|
|
|
|
|
.divider-label {
|
|
|
|
@include font-small;
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
padding: .25em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.divider {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
cursor: pointer;
|
|
|
|
padding: .5em 1em;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
.button-icon {
|
|
|
|
margin-right: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:not(.divider-label) {
|
|
|
|
background: $color-concrete;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
height: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
margin: -1em;
|
|
|
|
padding: .5em 1em;
|
|
|
|
width: calc(100% + 2em);
|
|
|
|
|
|
|
|
&.selected::after {
|
|
|
|
@include font-awesome;
|
|
|
|
content: $font-fas-check;
|
|
|
|
margin-left: auto;
|
|
|
|
position: absolute;
|
|
|
|
right: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cards-switch {
|
|
|
|
&.active::after {
|
|
|
|
@include font-awesome;
|
|
|
|
content: "\f00c";
|
|
|
|
position: absolute;
|
|
|
|
right: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-05 22:02:09 +08:00
|
|
|
.dropdown-menu {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
2023-05-24 15:57:06 +08:00
|
|
|
|
|
|
|
|
|
|
|
#repositoriesList_wrapper {
|
2023-05-24 17:48:32 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
|
2023-05-24 15:57:06 +08:00
|
|
|
.dataTables_scroll {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
2023-05-25 19:12:27 +08:00
|
|
|
height: calc(100% - var(--datatable-pagination-row) - 4rem);
|
2023-05-24 15:57:06 +08:00
|
|
|
z-index: 1;
|
|
|
|
}
|
2023-05-25 19:12:27 +08:00
|
|
|
|
|
|
|
.dataTables_scrollHead {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
2023-05-24 15:57:06 +08:00
|
|
|
}
|