Files
integreat/resources/public/css/main.css
2026-05-28 21:35:43 -07:00

592 lines
12 KiB
CSS

form.dz .notification { border: 2px dashed lightgray;}
html,body {
font-size: 15px;
line-height: 1.6;
height: 100%;
background-color: #f9fafb;
}
@keyframes scaleUp {
from { opacity: 0; transform: translateY(10px); transform-origin: top center; }
}
@keyframes appear {
from { opacity: 0; }
}
@keyframes slideOut {
to {
-webkit-transform: translateY(10px);
transform: translateY(10px);
opacity: 0;
}
}
@keyframes slideIn {
from {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
opacity: 0;
}
}
@keyframes slideInFromBelow {
from {
-webkit-transform: translateY(25%);
transform: translateY(25%);
opacity: 0;
}
}
@keyframes moveToTop {
from { }
to { -webkit-transform: translateY(-100%); transform:
translateY(-100%); }
}
.nav.is-dark {
background-color: #232B2D;
color: #F6F7F7;
}
.nav.is-dark .nav-item a, .nav.is-dark a.nav-item {
color: #F6F7F7;
}
.nav.is-dark .nav-item a.button.is-default {
color: #F6F7F7;
background-color: transparent;
border-width: 2px;
}
.nav.menu {
border-bottom: 1px solid #e1e1e1;
}
.menu .icon.inline {
width: 1.5em;
height: 1.5em;
font-size: 1.5em;
}
.nav.menu .nav-item .icon-btn {
border: 3px solid #B7C6C9;
border-radius: 90px;
padding: 5px 7px;
color: #B7C6C9;
}
.nav.menu .nav-item.is-active .icon-btn {
color: #2EB398;
border: 3px solid #2EB398;
}
.slideInFromBelow {
animation: slideInFromBelow 1.5s ease both;
}
.modal {
animation: appear .7s ease both;
}
.modal.wide .modal-card {
width: 1024px;
}
.modal.semi-wide .modal-card {
width: 700px;
}
@keyframes grow-width {
from {
width: 0px;
opacity: 0;
}
}
@keyframes shrink-width {
to {
width: 0px;
opacity: 0;
}
}
@keyframes grow-height {
from {
height: 0px;
opacity: 0;
}
}
@keyframes shrink-height {
to {
height: 0px;
opacity: 0;
}
}
.appear {
animation: slideIn 0.2s ease both;
}
.disappear {
animation: slideOut 0.2s ease both;
}
.slide-in-top {
animation: grow-height 0.5s ease both;
}
.slide-out-top {
animation: shrink-height 0.5s ease both;
}
.slide-in-right {
animation: grow-width 0.5s ease both;
}
.slide-in-right > div {
width: 1000px;
overflow: hidden;
}
.slide-out-right {
animation: shrink-width 0.5s ease both;
}
.slide-out-right div {
width: 1000px;
overflow: hidden;
}
.inbox-messages {
animation: scaleUp .3s ease both;
}
.nav.menu .nav-item .icon-btn .fa {
font-size: 20px;
color: #B7C6C9;
}
.nav.menu .nav-item.is-active .icon-btn .fa {
color: #2EB398;
}
nav.navbar .navbar-item.is-active {
background-color: #f5f5f5;
color: #363636;
}
.aside {
display:block;
background-color: #F9F9F9;
border-right: 1px solid #DEDEDE;
@include until(1280px) {
}
}
.aside .subtitle {
padding-top: 2rem;
margin-bottom: 0.75rem;
}
.messages {
display:block;
background-color: #fff;
border-right: 1px solid #DEDEDE;
}
.message {
display:block;
background-color: #fff;
}
.aside .compose {
margin:0 -10px;
padding: 25px 30px;
}
.aside .main {
padding: 40px 10px 40px 30px;
color: #6F7B7E;
}
.aside .sub-main {
padding: 10px;
color: #6F7B7E;
}
.aside .title {
color: #6F7B7E;
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
}
.aside .main .item {
display: block;
padding: 10px 0;
color: #6F7B7E;
}
.aside .main .item.is-active {
background-color: #F1F1F1;
margin: 0 -50px;
padding-left: 50px;
}
.aside .main .item:is-active,.aside .main .item:hover {
background-color: #F2F2F2;
margin: 0 -50px;
padding-left: 50px;
}
.aside .main .menu-item .icon {
font-size: 19px;
padding-right: 30px;
color: #A0A0A0;
}
.aside .main .name {
font-size: 15px;
color: #5D5D5D;
font-weight: 500;
}
.messages {
padding: 40px 40px 0px 20px;
}
.message {
padding: 40px 20px;
}
.messages .action-buttons {
padding: 0;
margin-top: -20px;
}
.message .action-buttons {
padding: 0;
margin-top: -5px;
}
.action-buttons .control.is-grouped {
display: inline-block;
margin-right: 30px;
}
.action-buttons .control.is-grouped:last-child {
margin-right: 0;
}
.action-buttons .control.is-grouped .button:first-child {
border-radius: 5px 0 0 5px;
}
.action-buttons .control.is-grouped .button:last-child {
border-radius: 0 5px 5px 0;
}
.action-buttons .control.is-grouped .button {
margin-right: -5px;
border-radius: 0;
}
.pg {
display: inline-block;
top:10px;
}
.action-buttons .pg .title {
display: block;
margin-top: 0;
padding-top: 0;
margin-bottom: 3px;
font-size:12px;
color: #AAAAA;
}
.action-buttons .pg a{
font-size:12px;
color: #AAAAAA;
text-decoration: none;
}
.inbox-messages .card {
width: 100%;
}
.inbox-messages strong {
color: #5D5D5D;
}
.inbox-messages .msg-check {
padding: 0 20px;
}
.inbox-messages .msg-subject {
padding: 10px 0;
color: #5D5D5D;
}
.inbox-messages .msg-attachment {
float:right;
}
.inbox-messages .msg-snippet {
padding: 5px 20px 0px 5px;
}
.inbox-messages .msg-subject .fa {
font-size: 14px;
padding:3px 0;
}
.inbox-messages .msg-timestamp {
float: right;
padding: 0 20px;
color: #5D5D5D;
}
.icon.padded {
margin-right: 0.25em !important;
}
.message-preview .avatar {
display: inline-block;
}
.message-preview .top .address {
display: inline-block;
padding: 0 20px;
}
.avatar img {
width: 40px;
border-radius: 50px;
border: 2px solid #999;
padding: 2px;
}
.address .name {
font-size: 16px;
font-weight: bold;
}
.address .email {
font-weight: bold;
color: #B6C7D1;
}
.card.is-active {
background-color:#F5F5F5;
}
.table { table-layout: fixed }
.table td {text-overflow: ellipsis; overflow: hidden; white-space: nowrap; padding: 9px; height: 60px; vertical-align: middle; }
.table td.expandable {text-overflow: ellipsis; overflow: visible; white-space: nowrap; padding: 9px; height: 60px; vertical-align: middle; }
.table th.expandable {text-overflow: ellipsis; overflow: visible; white-space: nowrap; padding: 9px; height: 60px; vertical-align: middle; }
.table td.no-border { border: none; }
.table.compact td, .table.compact th {text-overflow: ellipsis; overflow: hidden; white-space: nowrap; padding: 9px; height: 40px; vertical-align: middle; }
.table.compact td.expandable {text-overflow: ellipsis; overflow: visible; white-space: nowrap; padding: 9px; height: 40px; vertical-align: middle; }
.typeahead {
position:relative;
overflow:visible;
}
.modal {
overflow: visible;
}
.buttons .dropdown:not(:last-child):not(.is-fullwidth) .button {
margin-right: 0.5em;
}
.dropdown.is-fullwidth {
width: 100%;
display: flex;
}
.dropdown.is-fullwidth .dropdown-trigger {
width: 100%;
}
.dropdown.is-fullwidth .dropdown-trigger * {
width: 100%;
}
.known-field.location {
width: 5em;
}
table.balance-sheet th, table.balance-sheet td {
border: 0px;
}
table.balance-sheet th.total {
border-top: 1px solid black;
}
@media print {
/* All your print styles go here */
#header, #footer, #nav, .menu, .aside ,.nav, .navbar{ display: none !important; }
.report-controls {
display: none !important;
}
#message-feed {
overflow: inherit !important;
}
}
.ph-item {
border: 0px !important;
padding: 0px !important;
margin-bottom: 0px !important;
opacity: 1.0 !important;
border-radius: 12px !important;
}
.ph-row {
margin-bottom: 0px !important;
padding: 9px 0px 9px 0px !important;
height: 32px !important;
}
.ph-row .ph-col-12 {
border-radius: 12px !important;
height: 32px !important;
margin-right:100px;
}
.test {
opacity: 1.0;
animation: appear 1s;
}
/* Below here is recent re-styling */
.table.table.grid {
border: 1px solid rgba(34,36,38,.15) !important;
/* border: 2px solid red; */
border-collapse: separate;
border-radius: 4px !important;
}
.table.table.grid td.collapsing, .table.table th.collapsing {
white-space: nowrap; vertical-align: middle;
}
.table.table.grid th {
background-color: #f9fafb;
/* border: 1px solid rgba(34,36,38,.15) !important; */
}
.table.table.grid thead tr:first-child>th:first-child {
border-radius: 4px 0px 0px 0px !important;
}
.table.table.grid thead tr:first-child>th:last-child {
border-radius: 0px 4px 0px 0px !important;
}
.table.grid.wrappable td {text-overflow: ""; overflow: visible; white-space: normal; }
.table.grid.wrappable td.expandable {text-overflow: ""; overflow: visible; white-space: normal; }
.table.grid.wrappable th.expandable {text-overflow: ""; overflow: visible; white-space: normal; }
/* This is to make is so flexbox modal footers go to new lines between error message */
.modal-card-foot {
flex-wrap: wrap;
}
.typeahead input[disabeld] {
background-color: whitesmoke !important;
border-color: whitesmoke !important;
box-shadow: none;
}
/* ===== Design Upgrades ===== */
/* Better table row hover */
.table tbody tr {
transition: background-color 0.15s ease-in-out;
}
.table tbody tr:hover {
background-color: #f3f4f6 !important;
}
/* Sidebar item hover */
.aside .main .item:hover {
background-color: #f3f4f6 !important;
transition: background-color 0.15s ease-in-out;
}
.aside .main .item.is-active {
background-color: #e5e7eb !important;
}
/* Navbar item hover */
.navbar-item:hover {
background-color: #f3f4f6 !important;
}
/* Button active/pressed state */
button:active,
a.button:active {
transform: scale(0.98);
}
/* Pagination link hover */
.pagination-link:hover {
background-color: #e5e7eb;
border-color: #d1d5db;
}
/* Tag hover */
.tag.is-delete:hover {
background-color: #ef4444 !important;
}
/* Modal card shadow */
.modal-card {
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
border-radius: 8px;
overflow: hidden;
}
/* Card elevation */
.card {
transition: box-shadow 0.2s ease-in-out;
}
.card:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
/* Sidebar viewport fix */
.aside {
min-height: calc(100dvh - 46px) !important;
}
/* Better select styling */
select {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
background-position: right 0.5rem center !important;
background-repeat: no-repeat !important;
background-size: 1.5em 1.5em !important;
padding-right: 2.5rem !important;
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
}
/* Notification polish */
.notification {
border-radius: 6px;
}
/* Better loader color */
.loader.is-loading {
border-color: #16a34a !important;
border-right-color: transparent !important;
border-top-color: transparent !important;
}
/* Input focus state */
.input:focus, .textarea:focus, .select select:focus {
border-color: #3b82f6 !important;
box-shadow: 0 0 0 1px #3b82f6 !important;
}
/* Better title styling */
.title {
font-weight: 600;
letter-spacing: -0.025em;
}
.title.is-4 {
letter-spacing: -0.02em;
}
/* Better code/mono font for numbers */
.table td {
font-variant-numeric: tabular-nums;
}
/* Subtle scrollbar styling */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f3f4f6;
}
::-webkit-scrollbar-thumb {
background: #d1d5db;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #9ca3af;
}