-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPrescription.css
123 lines (98 loc) · 2.14 KB
/
Prescription.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
.container {
max-width: 900px;
width: 100%;
background-color: #fff;
margin: auto;
padding: 15px;
box-shadow: 0 2px 20px #0001, 0 1px 6px #0001;
border-radius: 5px;
overflow-x: auto;
}
._table {
width: 100%;
border-collapse: collapse;
}
._table :is(th, td) {
border: 1px solid #0002;
padding: 8px 10px;
}
/* form field design start */
.form_control {
border: 1px solid #0002;
background-color: transparent;
outline: none;
padding: 8px 12px;
font-family: 1.2rem;
width: 100%;
color: #333;
font-family: Arial, Helvetica, sans-serif;
transition: 0.3s ease-in-out;
}
.form_control::placeholder {
color: inherit;
opacity: 0.5;
}
.form_control:is(:focus, :hover) {
box-shadow: inset 0 1px 6px #0002;
}
/* form field design end */
.success {
background-color: #24b96f !important;
}
.warning {
background-color: #ebba33 !important;
}
.primary {
background-color: #259dff !important;
}
.secondery {
background-color: #00bcd4 !important;
}
.danger {
background-color: #ff5722 !important;
}
.action_container {
display: inline-flex;
}
.action_container>* {
border: none;
outline: none;
color: #fff;
text-decoration: none;
display: inline-block;
padding: 8px 14px;
cursor: pointer;
transition: 0.3s ease-in-out;
}
.action_container>*+* {
border-left: 1px solid #fff5;
}
.action_container>*:hover {
filter: hue-rotate(-20deg) brightness(0.97);
transform: scale(1.05);
border-color: transparent;
box-shadow: 0 2px 10px #0004;
border-radius: 2px;
}
.action_container>*:active {
transition: unset;
transform: scale(.95);
}
.myButtonClass {
/* Change button color */
color: white;
background-color: #007bff;
/* Add padding and border */
padding: 10px 20px;
border: none;
/* Add rounded corners */
border-radius: 5px;
/* Add shadow effect */
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
/* Add hover effect */
transition: background-color 0.3s ease;
}
.myButtonClass:hover {
background-color: #0056b3;
cursor: pointer;
}