Newer
Older
Sunfish / Resources / $sunfish / style.css
@XWolf Override XWolf Override on 14 Mar 2021 5 KB Resources
html {
    margin: 0;
    padding: 0;
    background: #b9b9b9;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    background: white;
}

a {
    text-decoration: none;
    color: black;
}

* {
    box-sizing: border-box;
}

a:hover {
    color: #5d6962;
}

#head {
    height: 4.7rem;
    background: white url(/$sunfish/logo.png) 1rem 1rem no-repeat;
    padding: 1rem;
    position: relative;
}

#main-title {
    font-family: 'Montserrat', Verdana, sans-serif;
    font-size: 2.2rem;
    left: 4.5rem;
    top: 0.3rem;
    position: absolute;
}

#main-subtitle {
    position: absolute;
    font-family: 'Montserrat', Verdana, sans-serif;
    font-size: 1.1rem;
    color: #000000b2;
    top: 1.3rem;
    left: 13rem;
}

#main-location {
    position: absolute;
    bottom: 0;
    left: 4.5rem;
    right: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #696969;
    background: #a6e1ff;
    padding: 0.2rem;
    border-top-left-radius: 0.6rem;
    border-bottom-left-radius: 0.6rem;
}

#main-location>a::after {
    content: " / ";
    color: #777777;
}

#main-location>a>i.material-icons-round {
    font-size: 1.3rem;
    vertical-align: bottom;
}

#main-toolbar {
    position: absolute;
    right: 4rem;
    top: 0.8rem;
}

#main-toolbar i.material-icons-round {
    font-size: 26px;
    cursor: pointer;
    color: dimgrey;
}

#main-toolbar i.material-icons-round:hover {
    font-size: 26px;
    cursor: pointer;
    color: #818181;
}

#wrapper {
    margin: 0 auto;
    padding: 0.5rem;
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
}

.item {
    position: relative;
    cursor: pointer;
    cursor: hand;
    padding: 0.5rem;
    margin: 5px 5px 9px 5px;
    width: 22.5rem;
    max-width: calc(100% - 2rem);
    display: inline-block;
    border-bottom: 1px solid #DEDEDE;
    text-align: initial;
    height: 3rem;
}

.item:hover {
    background-color: #ecf9ff;
    border-radius: 0.2rem;
}

.item-icon {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    max-width: 32px;
    max-height: 32px;
}

.item-name {
    position: absolute;
    top: 0.3rem;
    left: 3rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.item-desc {
    position: absolute;
    bottom: 0.5rem;
    left: 4rem;
    font-weight: 400;
    font-size: 0.7rem;
    color: gray;
}

.item-actions {
    position: absolute;
    bottom: 0.1rem;
    right: 0rem;
    padding-right: 0.5rem;
}

.item-actions i.material-icons-round {
    font-size: 1.1rem;
    color: #aaaaaa;
    margin-left: 0.3rem;
}

.test {
    background-color: #4f6e05;
}

.item.active {
    cursor: pointer;
}

.item>a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.desktop .item-actions {
    display: none;
}

.desktop .item:hover .item-actions {
    display: unset;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 30rem;
    max-width: 90%;
    background-color: rgba(39, 36, 31, 0.822);
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    color: white;
    padding: 1rem;
    margin-left: -15rem;
    margin-top: -5rem;
    border-radius: 0.5rem;
}

.popup.error {
    background-color: rgba(116, 11, 3, 0.822);
}

.popup>.body {
    padding-bottom: 1rem;
    font-size: 1.1rem;
}

.popup>.buttons {
    text-align: right;
}

.popup>.body>.input>input {
    display: block;
    width: 100%;
}

.popup-wall {
    z-index: 200;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.199);
}

button {
    background-color: #e2d9cd;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    color: #424242;
    border: 0;
    border-radius: 1rem;
    margin-left: 0.5rem;
    padding: 0.3rem 1rem;
    outline: none;
}

button:hover {
    background-color: #beb7ae;
}

button.warning {
    background-color: tomato;
}

button.warning:hover {
    background-color: #d4523b;
}

input {
    border: 0;
    background-color: whitesmoke;
    border-radius: 1rem;
    font-family: 'Open Sans', sans-serif;
    margin-top: 1rem;
    padding: 0.3rem 1rem;
    outline: none;
}

input:hover {
    background-color: #cecece;
}

.upload-drop {
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
}

.upload-drop-icon {
    position: absolute;
    top: 5%;
    height: 90%;
    left: 25%;
    width: 50%;
    bottom: 25%;
    border: 10px dashed #c1c1c1;
    border-radius: 2rem;
    vertical-align: middle;
    overflow: hidden;
}

.upload-drop-icon>i.material-icons-round {
    width: 100%;
    color: white;
    height: 100%;
    vertical-align: middle;
    font-size: 8rem;
    margin-top: 35%;
    text-align: center;
}

.upload-drop-icon>i.material-icons-round::before {
    content: "Drop here to upload";
    position: absolute;
    top: 58%;
    left: 0;
    right: 0;
    font-family: 'Open Sans';
    font-size: 1rem;
}

.upload-list {
    height: calc( 100% - 4rem);
    overflow-y: auto;
    padding: 0 1rem;
    margin: 1rem 0;
}

.upload-progress-box {
    height: 2rem;
    background: #383838;
    position: relative;
}

.upload-progress {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: #a6e1ff;
}

.upload-item {
    font-family: 'Open Sans';
    color: white;
    margin-bottom: 1rem;
}

.upload-item-progress-box {
    height: 1rem;
    background: #383838;
    border-radius: 0.5rem;
    margin-top: 0.2rem;
    border: 1px solid black;
    position: relative;
    overflow: hidden;
}

.upload-item-progress {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: #a6e1ff url(/$sunfish/logo.png) 100% 0.05rem/0.8rem 0.8rem no-repeat;
}

.upload-close {
    margin-top: 0.15rem;
    background: #6d6d6d;
    color: white;
    margin-left: calc( 100% - 5rem);
}

body.dragging .upload-drop{
    display: block;
}