repcofkk/app/static/css/style.css

171 lines
2.9 KiB
CSS

.roboto {
font-family: Roboto, sans-serif;
}
.col-3 > *, .h-title, .m-widget1__title, .m-widget_content-title {
font-family: Roboto, sans-serif;
}
* {
box-sizing: border-box;
}
.h-title {
font-size: 12px;
color: #9699a2;
}
.h-content {
font-size: 20px;
font-weight: bold;
}
.status {
font-size: 16px;
}
table {
border-collapse: collapse;
width: 100%;
}
.m-widget1__item {
overflow-x: auto;
}
th, td {
border: 1px solid #000000;
text-align: center;
padding: 8px;
}
th {
background-color: var(--primary);
color: #fff;
}
td {
background-color: #ffffff;
}
.highlight {
color: yellow;
}
.row-separator > * {
border-bottom: 1px solid var(--gray);
}
.row-separator:last-child {
border-bottom: none;
}
::-webkit-scrollbar {
width: 5px; /* Ширина всего элемента навигации */
height: 5px;
}
::-webkit-scrollbar-track {
background: transparent; /* Цвет дорожки */
}
::-webkit-scrollbar-thumb {
background-color: var(--gray); /* Цвет бегунка */
border-radius: 20px; /* Округление бегунка */
border: 3px solid var(--gray); /* Оформление границ бегунка */
}
.buttons {
display: none;
}
@media only screen and (max-width: 600px) and (orientation: portrait) {
.buttons {
display: block;
}
}
body {
overflow-x: hidden;
box-sizing: border-box;
}
/*Лента - ДЕМО*/
.box {
z-index: 0;
}
.ribbon {
position: fixed;
right: -5px;
top: -5px;
z-index: 1;
overflow: hidden;
width: 93px;
height: 93px;
text-align: right;
pointer-events: none
}
.ribbon span {
font-size: 0.8rem;
color: #fff;
text-transform: uppercase;
text-align: center;
font-weight: bold;
line-height: 32px;
transform: rotate(45deg);
width: 125px;
display: block;
background: #79a70a;
background: linear-gradient(#9bc90d 0%, #79a70a 100%);
box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
position: absolute;
top: 17px;
/ / change this, if no border right: - 29 px;
/ / change this, if no border
}
.ribbon span::before {
content: '';
position: absolute;
left: 0px;
top: 100%;
z-index: -1;
border-left: 3px solid #79A70A;
border-right: 3px solid transparent;
border-bottom: 3px solid transparent;
border-top: 3px solid #79A70A;
}
.ribbon span::after {
content: '';
position: absolute;
right: 0%;
top: 100%;
z-index: -1;
border-right: 3px solid #79A70A;
border-left: 3px solid transparent;
border-bottom: 3px solid transparent;
border-top: 3px solid #79A70A;
}
.red span {
background: linear-gradient(#f70505 0%, #8f0808 100%);
}
.red span::before {
border-left-color: #8f0808;
border-top-color: #8f0808;
}
.red span::after {
border-right-color: #8f0808;
border-top-color: #8f0808;
}
.bold {
font-weight: bold;
}