-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtradeCountStyle.css
86 lines (80 loc) · 1.56 KB
/
tradeCountStyle.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
/*-- CARD COUNT MOD --*/
/* background overlay */
.cIOverlay {
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
background: #fff;
background: rgba(255,255,255,0.9);
z-index: 2;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* instruction text */
.cIOverlay span {
display: block;
color: #000;
text-align: justify;
width: 30%;
font-weight: bold;
cursor: default;
}
/* textarea to input cards */
.cIOverlay textarea {
width: 30vw;
padding: 2px;
height: 100px;
background: #fff;
border: 1px solid #000;
outline: none;
}
/* button to count cards */
.cIOverlay input {
margin: 5px 0;
width: 30.5vw;
cursor: pointer;
background: #eee;
color: #000;
border: 1px solid #333;
font-size: 20px;
outline: none;
}
/* close button */
.cIOverlay input[value=X] {
font-size: 15px;
width: 28px;
height: 28px;
border-radius: 50px;
position: fixed;
right: 30%;
top: 30%;
}
/* hover effect over buttons */
.cIOverlay input:hover {
background: #888;
color: #fff;
}
/* text displaying card amount */
.cIOverlay #countText {
text-align: center;
font-size: 25px;
}
/* button added into your html */
.cardCountButton {
cursor: pointer;
font-size: 15px;
font-weight: bold;
color: #000;
background: #eee;
border: 5px outset #666;
outline: none;
float: right;
}
/* html button after it's been clicked/while in use */
.cardCountButton:focus {
border: 5px inset #666;
}