@plone/volto
Version:
Volto
258 lines (212 loc) • 4.36 kB
text/less
.folder-contents {
.ui.icon.button,
.ui.icon.button:hover {
background: transparent ;
box-shadow: none;
}
.ui.compact.table td {
padding: 8px;
.row-actions {
height: 24px;
padding-top: 4px;
}
}
// #2818 allow any dropdown to reveal extra menu on hover
// not just the simple dropdown within /contents area
.ui.dropdown:hover > .menu > .item:hover > .menu,
.ui.dropdown > .menu > .item:active > .menu {
top: 0 ;
left: 100% ;
display: block;
overflow: visible;
width: auto;
height: auto;
opacity: 1;
}
.ui.dropdown .menu > .item {
display: flex;
align-items: center;
}
.ui.dropdown > .left.menu .menu {
margin: 0 ;
}
.ui.menu.top-menu {
padding: 10px 0;
border-bottom: 4px solid #c7d5d8;
overflow-x: scroll;
}
.ui.menu .menu.top-menu-menu {
border-right: 1px solid #b8c6c8;
.ui.icon.button {
padding: 10px;
border-radius: 1px;
margin-left: 4px;
color: @brown ;
&:hover {
background-color: #edf1f2 ;
}
}
}
.ui.menu .menu.top-menu-searchbox {
border-left: 1px solid #b8c6c8;
.ui.button.icon.icon-container {
padding: 0px;
&:focus-visible {
outline: 1px solid #005fcc;
}
}
}
.ui.secondary.attached.segment.contents-breadcrumbs {
display: flex;
justify-content: space-between;
.ui.dropdown {
height: 28px;
}
}
.ui.menu .item.upload:hover,
.ui.menu .item.paste:hover {
background: none;
}
.ui.dropdown .menu > .item.left-dropdown > svg {
position: relative;
top: 3px;
}
.ui.upward.dropdown > .menu {
top: 100%;
bottom: inherit;
}
.contents-table-wrapper {
width: 100%;
overflow-x: auto;
.ui.attached.table {
width: 100%;
max-width: 100%;
border: none;
}
.ui.upward.dropdown > .menu {
top: auto;
bottom: 100%;
}
}
.ui.table .icon-align,
.ui.dropdown .menu > .item.icon-align {
display: flex;
align-items: center;
padding-top: 4px;
}
.ui.table .icon-align-name {
display: flex;
overflow: hidden;
max-width: 330px;
align-items: center;
justify-content: space-between;
padding-top: 4px;
svg {
flex-shrink: 0;
color: @lightGrey;
}
span {
display: block;
overflow: hidden;
max-width: 100%;
text-overflow: ellipsis;
}
}
.ui.table .expire-align {
display: flex;
align-items: center;
}
.ui.table .icon-margin {
margin-right: 0.3em;
}
.ui.table .button-margin {
padding: 4px;
margin-right: 1em;
background-color: rgb(228, 1, 102);
color: white;
}
}
.contents-pagination {
.ui.secondary.menu .item {
color: #878f93;
}
.ui.secondary.menu a.item,
.ui.secondary.menu a.item.active {
color: @linkColor;
}
.ui.secondary.menu a.item:hover,
.ui.secondary.menu a.item.active {
background-color: #edf1f2 ;
}
}
#content-core {
.dragging-cell {
opacity: 0;
}
.dragging-row {
background: rgba(0, 0, 0, 0.05);
}
}
.ui.page.modals .content {
.upload-row {
white-space: normal;
word-break: break-all;
}
.broken-links-list {
margin-top: 30px;
}
}
.contenttype-event {
h1.documentFirstHeading {
display: flex;
}
}
.event-view .download-event {
display: flex;
align-items: center;
margin-top: 2rem;
}
/* Contents Upload Modal */
.contents-upload-modal {
.file-name {
width: 75%;
input {
padding: 0.67857143em 1em;
}
}
.ui.progress:first-child {
margin: 0 0 2.5em;
}
.progress-container {
padding: 35px;
background: white;
box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.43);
}
.progress-bar {
width: 300px;
height: 15px;
border-radius: 0;
.bar {
height: 15px;
border-radius: 0;
background: #0074a3;
}
.label {
position: relative;
margin: 0;
background: white;
color: grey;
font-size: small;
font-weight: normal;
line-height: 18px;
text-align: left;
.uploaded-files {
color: #0074a3;
}
}
}
}
.contents-upload-modal > .content {
overflow: auto;
max-height: 75vh;
}