252 lines
5.3 KiB
SCSS
252 lines
5.3 KiB
SCSS
@import '~mdb-angular-ui-kit/assets/scss/mdb.scss';
|
||
@import '~@fortawesome/fontawesome-free/scss/fontawesome.scss';
|
||
@import '~@fortawesome/fontawesome-free/scss/solid.scss';
|
||
@import '~@fortawesome/fontawesome-free/scss/regular.scss';
|
||
@import '~@fortawesome/fontawesome-free/scss/brands.scss';
|
||
|
||
// @import '~mdb-angular-ui-kit/assets/scss/mdb.scss';
|
||
|
||
// Сброс стилей
|
||
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:middle}
|
||
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
|
||
html{height:100%;color:#000;}
|
||
body{line-height:1}
|
||
ol,ul{list-style:none}
|
||
blockquote,q{quotes:none}
|
||
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}
|
||
table{border-collapse:collapse;border-spacing:0}
|
||
|
||
:root {
|
||
--orange-main: #C43F00;
|
||
}
|
||
|
||
* {
|
||
font-family: 'Raleway', sans-serif;
|
||
}
|
||
|
||
.p-inputtext {
|
||
width: 100%;
|
||
border: 1px solid #B8DEFF;
|
||
border-radius: 15px;
|
||
height: 45px;
|
||
}
|
||
.p-inputtext.invalid {
|
||
border-color: red;
|
||
}
|
||
|
||
.p-dropdown {
|
||
width: 100%;
|
||
height: 39px;
|
||
}
|
||
|
||
.p-selectbutton {
|
||
display: flex;
|
||
&>.p-button{
|
||
flex: 1;
|
||
font-size: 12px;
|
||
}
|
||
}
|
||
|
||
.p-selectbutton .p-button.p-highlight {
|
||
background: #f9b004;
|
||
border-color: #f9b004;
|
||
}
|
||
|
||
.p-selectbutton .p-button.p-highlight:hover {
|
||
background: #f9b004;
|
||
border-color: #f9b004;
|
||
}
|
||
|
||
mark {
|
||
padding: 4px;
|
||
background: #009688;
|
||
color: #fff;
|
||
}
|
||
|
||
::-webkit-scrollbar {
|
||
width: 0;
|
||
}
|
||
|
||
button {
|
||
cursor: pointer;
|
||
}
|
||
|
||
.p-toast-message-custom {
|
||
background-color: #fff;
|
||
border: solid var(--orange-main);
|
||
border-width: 0 0 0 6px;
|
||
color: #000;
|
||
.p-toast-icon-close {
|
||
color: var(--orange-main);
|
||
}
|
||
}
|
||
|
||
.p-toast.p-component.p-toast-top-center {
|
||
max-width: 96vw;
|
||
}
|
||
|
||
.qrcode {
|
||
display: flex;
|
||
justify-content: center;
|
||
}
|
||
|
||
.sb-group {
|
||
width: 100%;
|
||
justify-content: space-between;
|
||
max-width: 400px;
|
||
}
|
||
|
||
input::-webkit-date-and-time-value {
|
||
text-align: left;
|
||
}
|
||
|
||
.p-treeselect {
|
||
min-width: 180px;
|
||
border-radius: 1.125rem;
|
||
padding: 0 10px;
|
||
box-shadow: 0 0 6px 2px rgb(221 221 221);
|
||
}
|
||
|
||
.p-treeselect-panel {
|
||
border-radius: 1.125rem;
|
||
top: 44px !important;
|
||
}
|
||
|
||
.p-tree {
|
||
border-radius: 1.125rem;
|
||
}
|
||
|
||
.p-tree .p-tree-container .p-treenode {
|
||
font-size: 12px;
|
||
padding: 0;
|
||
}
|
||
|
||
.p-tree .p-tree-container .p-treenode .p-treenode-content {
|
||
padding: 0;
|
||
}
|
||
|
||
.p-dialog .p-dialog-header {
|
||
border-top-right-radius: 1.125rem;
|
||
border-top-left-radius: 1.125rem;
|
||
}
|
||
|
||
.p-dialog .p-dialog-content:last-of-type {
|
||
border-bottom-right-radius: 1.125rem;
|
||
border-bottom-left-radius: 1.125rem;
|
||
}
|
||
|
||
.text-center {
|
||
text-align: center;
|
||
}
|
||
|
||
.grid.p-fluid {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
.grid.p-fluid {
|
||
.col-6 {
|
||
flex: 0 0 auto;
|
||
padding: 0.5rem;
|
||
width: 50%;
|
||
}
|
||
|
||
button {
|
||
margin: 0;
|
||
cursor: pointer;
|
||
-webkit-user-select: none;
|
||
user-select: none;
|
||
align-items: center;
|
||
vertical-align: bottom;
|
||
text-align: center;
|
||
overflow: hidden;
|
||
position: relative;
|
||
border-radius: 5px;
|
||
border: none;
|
||
padding: 8px 0;
|
||
color: #fff;
|
||
font-weight: 600;
|
||
|
||
&.p-button-success {
|
||
background: #22C55E;
|
||
}
|
||
|
||
&.p-button-secondary {
|
||
background: #64748B;
|
||
}
|
||
}
|
||
}
|
||
|
||
.grid.p-fluid button {
|
||
width: 100%;
|
||
margin-bottom: .5rem;
|
||
}
|
||
|
||
p-toast[key="c"] .p-toast {
|
||
width: 96vw;
|
||
max-width: 400px;
|
||
bottom: 57px;
|
||
}
|
||
|
||
.p-sidebar-right {
|
||
width: 450px !important;
|
||
max-width: 85% !important;
|
||
}
|
||
|
||
@media screen and (min-width: 550px) {
|
||
p-toast[key="c"] .p-toast {
|
||
bottom: 73px;
|
||
}
|
||
}
|
||
|
||
@media screen and (max-width: 1070px) {
|
||
.product-modal-view {
|
||
width: 50vw !important;
|
||
}
|
||
}
|
||
|
||
@media screen and (max-width: 800px) {
|
||
.product-modal-view {
|
||
width: 70vw !important;
|
||
}
|
||
}
|
||
|
||
@media screen and (max-width: 600px) {
|
||
.product-modal-view {
|
||
width: 80vw !important;
|
||
}
|
||
}
|
||
|
||
@media screen and (max-width: 450px) {
|
||
.product-modal-view {
|
||
width: 94vw !important;
|
||
}
|
||
}
|
||
|
||
|
||
.p-calendar {
|
||
width: 100%;
|
||
|
||
.p-inputtext {
|
||
width: 100%;
|
||
color: #000000;
|
||
border: 1px solid #000000;
|
||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol;
|
||
font-size: 1rem;
|
||
color: #495057;
|
||
background: #ffffff;
|
||
padding: 0.5rem 0.75rem;
|
||
border: 1px solid #ced4da;
|
||
transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
|
||
-webkit-appearance: none;
|
||
appearance: none;
|
||
border-radius: 4px;
|
||
cursor: pointer;
|
||
}
|
||
}
|
||
html, body { height: 100%; }
|
||
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; background: #f9f9f9; }
|
||
|
||
html, body { height: 100%; }
|
||
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
|