-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
134 lines (112 loc) · 2.12 KB
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
opacity: 1;
}
body{
margin:0;
padding: 0;
font-family: 'Martel', serif;
}
ul{
margin:0;
padding: 5px;
}
#container{
display: flex;
justify-content: stretch;
align-items: stretch;
min-height: 100vh;
}
#container>div{ flex: 1; }
/* #produtos-display{
} */
#carrinho-display{
max-width: 30vw;
}
#produtos-container, #carrinho-container{
background-color: white;
box-shadow: 0 0 5px rgba(0,0,0,.5);
margin:10px;
min-height: 90vh;
}
#produtos-container>h3, #carrinho-container>h3{
padding: 0;
margin: 0;
padding: 5px 10px;
text-align: right;
}
#produtos-container{
border: 1px solid red;
flex-grow: 1;
}
#carrinho-container{
border: 1px solid blue;
}
#lista-produtos li{
border: 1px solid silver;
box-shadow: 0 0 10px rgba(0,0,0,.5);
width: 190px;
text-align: center;
padding: 5px;
margin: 5px;
}
.action-buttons{
display: flex;
justify-content: space-around;
}
.action-buttons button{
background-color: blue;
border: none;
border-radius: 3px;
padding: 10px;
color: white;
outline: none;
}
.action-buttons button:hover{
background-color: #3333ff;
}
#lista-produtos{
display: flex;
flex-wrap: wrap;
justify-content: center;
list-style: none;
}
#lista-produtos li img{
width: 125px;
height: 125px;
}
#lista-carrinho li{
display: flex;
justify-content: space-evenly;
align-items: center;
box-shadow: 0 3px 6px rgba(0,0,0,.3);
padding: 10px;
}
#lista-carrinho li input{
width: 35px;
height: 35px;
padding: 5px;
text-align: center;
font-size: 16px;
border:none;
outline: none;
}
#lista-carrinho li img{
width: 45px;
height: 45px;
}
.remover-item{
border: none;
background-image: url("./imagens/trash.svg");
background-size: 1.2em 1.2em;
background-position: center;
background-repeat: no-repeat;
width: 2em;
height: 2em;
outline: none;
}
.total{
padding:5px;
}
.total p{
text-align: right;
}