Просмотр файла delta_framework-main/assets/css/style.css

Размер файла: 5.54Kb
body {
    background: linear-gradient(0deg, #b9deed, #efefef);
}

.main {
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 30px;
}

.main .logo {
    text-align: center;
}

.main .header {
    background: #00abff;
    border-radius: 10px 10px 0px 0px;
}

.main .logo .logoText {
    font-size: 3em;
    font-weight: bolder;
    text-shadow: 1px 1px black;
    color: #00abff;
}

.main .header .mainMenu {
    display: flex;
    flex-wrap: wrap;
}

.main .header .mainMenu .menuItem {
    padding: 10px;
}

.main .header .mainMenu .menuItem:hover {
    background: #0085c7;
}

.main .header .mainMenu .menuItem.active {
    background: #0085c7;
}

.main .header .mainMenu .menuItem:first-child:hover, .main .header .mainMenu .menuItem.active:first-child {
    border-radius: 10px 0px 0px 0px;
}

.main .header .mainMenu .menuItem a {
    text-decoration: none;
    color: white;
    text-shadow: 1px 1px black;
}

.main .footer {
    background: #00abff;
    color: white;
    padding: 10px;
    border-radius: 0px 0px 10px 10px;
}

.main .footer a {
    color: white;
    text-decoration: none;
}

.main .content {
    padding: 10px;
    border-left: 1px solid #00abff;
    border-right: 1px solid #00abff;
    background: white;
}

.main .content .breadcrumbs {
    font-size: 0.8em;
    font-style: italic;
}

.main .content .breadcrumbs a {
    text-decoration: none;
    color: #00abff;
}

.main .alert {
    background: #57b6ef;
    color: white;
    padding: 5px 0px 5px 0px;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
}

.main .alert:before {
    content: " ➡ ";
}

.main .alert.alert-error {
    background: #ff1c1c;
}

.main .alert.alert-success {
    background: #389b38;
}

.main .alert.alert-info {
    background: #00abff;
}

.main h1, .main h2, .main h3, .main h4 {
    color: #00abff;
}

.table {
    border: 1px solid #eee;
    table-layout: fixed;
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.table th {
    font-weight: bold;
    padding: 5px;
    background: #efefef;
    border: 1px solid #dddddd;
}

.table td {
    padding: 5px 10px;
    border: 1px solid #eee;
    text-align: left;
}

.table tbody tr:nth-child(odd) {
    background: #fff;
}

.table tbody tr:nth-child(even) {
    background: #F7F7F7;
}


.main textarea {
    width: 100%;
    resize: vertical;
    padding: 15px;
    height: 150px;
    border: 1px solid #00abff;
    margin-bottom: 10px;
}

.main .input {
    width: 100%;
    margin-bottom: 5px;
    margin-top: 5px;
    border: 1px solid #00abff;
    padding: 10px;
}

.main .input.captchaInput {
    width: 98%;
}

.main .w100 {
    width: 100%;
}

.main .button {
    background: #00abff;
    color: white;
    border: 0;
    padding: 10px;
    cursor: pointer;
}

.main .button:hover {
    background: #0085c7;
}

.main .messageBox {
    display: flex;
    flex-direction: column;

    /*подумать
    overflow-y: scroll;
    overflow-x: hidden;
    height: 300px;
    */
}

.main .messageBox .message {
    width: fit-content;
    min-width: 300px;
    max-width: 80%;
    padding: 20px 10px;
    position: relative;
    background: #eee;
    border-radius: 3px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.main .messageBox .message.fromMe {
    align-self: end;
    background: #00abff;
    color: white;
}


.main .messageBox .message a {
    color: inherit;
    text-decoration: none;
}

img.dialogImage {
    max-width: 300px;
    max-height: 300px;
}

a.fileLink {
    text-decoration: underline !important;
}

a.fileLink:before {
    content: "📂 "
}

.main .messageBox .message.fromCompanion:before {
    content: "";
    border: solid transparent;
    position: absolute;
    right: 100%;
    top: 50%;
    border-right-color: #eee;
    border-width: 9px;
    margin-top: -9px;
}

.main .messageBox .message.fromMe:before {
    content: "";
    border: solid transparent;
    position: absolute;
    left: 100%;
    top: 50%;
    border-right-color: #00abff;
    border-width: 9px;
    margin-top: -9px;
    transform: rotate(180deg);
}

.main .messageBox .message .name {
    font-weight: bold;
    position: absolute;
    top: 5px;
    text-decoration: none;
}

.main .messageBox .message .text {
    margin-top: 10px;
    margin-bottom: 10px;
}

.main .messageBox .message .date {
    font-size: 0.7em;
    align-self: end;
}

.main .header .mainMenu .userInfo {
    margin-left: auto;
    background: #006fa7;
    padding: 10px;
    color: white;
    border-radius: 10px 10px 0px 10px;
}

.main .header .mainMenu a {
    color: white;
    text-decoration: none;
}

.deliveryStatus {
    background: #cecece;
    width: 10px;
    height: 10px;
    border-radius: 45px;
    position: absolute;
    right: 8px;
    top: 8px;
}
.deliveryStatus.viewed {
    background: #00f700;
}

.input-file {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
}
.input-file span {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    font-size: 14px;
    vertical-align: middle;
    color: rgb(255 255 255);
    text-align: center;
    background-color: #00abff;
    padding: 10px;
    box-sizing: border-box;
    border: none;
    margin: 0;
}
.input-file input[type=file] {
    position: absolute;
    z-index: -1;
    opacity: 0;
    display: block;
    width: 0;
    height: 0;
}

/* Hover/active */
.input-file:hover span {
    background-color: #0085c7;
}
.input-file:active span {
    background-color: #2E703A;
}

/* Disabled */
.input-file input[type=file]:disabled + span {
    background-color: #eee;
}