@import '../../styles/colors.scss'; .flexWrap { display: flex; flex-direction: column; gap: 15px; container-type: inline-size; } .orderedFilesList { counter-reset: item; list-style-type: none; margin: 0; li { display: flex; align-items: center; transition: ease 0.4s; border-radius: 4px; background: #ffffff; padding: 7px 10px; color: rgba(0, 0, 0, 0.5); min-height: 45px; cursor: pointer; gap: 10px; &::before { content: counter(item) ' '; counter-increment: item; font-size: 14px; } :nth-child(1) { flex-grow: 1; font-size: 16px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } button { color: $primary-main; } &:hover, &.active, &:focus-within { background: $primary-main; color: white; button { color: white; } } } } .uploadFileText { margin-left: 12px; } .paperGroup { border-radius: 4px; background: white; padding: 15px; display: flex; flex-direction: column; gap: 15px; overflow-x: hidden; overflow-y: auto; } .inputWrapper { display: flex; align-items: center; flex-shrink: 0; height: 36px; overflow: hidden; border-radius: 4px; outline: solid 1px #dddddd; background: white; width: 100%; &:focus-within { outline-color: $primary-main; } } .addCounterpart { flex-shrink: 0; display: flex; align-items: center; justify-content: start; gap: 10px; background: white; border-radius: 0 0 4px 4px; padding: 15px; > .inputWrapper { flex-shrink: 1; } } .users { flex-shrink: 0; max-height: 33vh; border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: -15px; } .user { display: flex; gap: 10px; font-size: 14px; text-align: start; justify-content: center; align-items: center; a:hover { text-decoration: none; } } .avatar { flex-grow: 1; min-width: 0; &:first-child { margin-left: 24px; } img { // Override the default avatar size width: 30px; height: 30px; } } .fileName { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; flex-grow: 1; } .toolbox { display: grid; grid-template-columns: 1fr; @container (min-width: 204px) { grid-template-columns: repeat(2, 1fr); } @container (min-width: 309px) { grid-template-columns: repeat(3, 1fr); } gap: 15px; overflow-x: hidden; overflow-y: auto; container-type: inline-size; } .toolItem { transition: ease 0.2s; display: flex; flex-direction: column; gap: 5px; border-radius: 4px; padding: 10px 5px 5px 5px; background: rgba(0, 0, 0, 0.05); color: rgba(0, 0, 0, 0.5); text-align: center; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; -webkit-user-select: none; user-select: none; &.selected { background: $primary-main; color: white; } &:not(.selected, .comingSoon) { &:hover { background: $primary-light; color: white; } } &.comingSoon { opacity: 0.5; cursor: not-allowed; } }