h-usersite/angular/src/styles.scss
gofnnp 266601e59b dev #12926
доработал каталог товаров, добавил работу с терминалами
2022-11-08 10:33:31 +04:00

151 lines
3.0 KiB
SCSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Сброс стилей
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}
* {
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 #09467F;
border-width: 0 0 0 6px;
color: #000;
.p-toast-icon-close {
color: #09467F;
}
}
.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;
}
.p-tree .p-tree-container .p-treenode {
font-size: 12px;
padding: 0;
}
.p-tree .p-tree-container .p-treenode .p-treenode-content {
padding: 0;
}
.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;
}
}
}
@media screen and (max-width: 960px) {
.grid.p-fluid button {
width: 100%;
margin-bottom: .5rem;
}
}