Skip to content

Commit bd98225

Browse files
committed
Fix broken datepicker styles
1 parent 9f9ff96 commit bd98225

File tree

3 files changed

+29
-7
lines changed

3 files changed

+29
-7
lines changed

src/assets/css/general.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ select {
7474
.w-100 {
7575
width: 100%;
7676
}
77-
button, input[type='button'] {
77+
input[type='button'] {
7878
background: #428bff;
7979
color: #fff;
8080
border-radius: 3px;
@@ -90,22 +90,22 @@ button, input[type='button'] {
9090
width: 200px;
9191
}
9292

93-
button, input[type='button']:hover {
93+
input[type='button']:hover {
9494
background: #5c9dfe;
9595
text-decoration: none;
9696
}
9797

98-
button, input[type='button'].alert {
98+
input[type='button'].alert {
9999
background: #fe5c5c !important;
100100
}
101101

102-
button, input[type='button'].info {
102+
input[type='button'].info {
103103
background: #ffffff !important;
104104
color: black;
105105
border: 1px solid black;
106106
}
107107

108-
button, input[type='button'][disabled] {
108+
input[type='button'][disabled] {
109109
border: 1px solid #999999;
110110
background-color: #cccccc;
111111
color: #666666;

src/components/Dashboad.vue

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,19 @@ function openChart(type: TypeOfChart) {
7171
height: 390px;
7272
}
7373
.chart-btn {
74-
background-color: rgb(202, 202, 202);
74+
background-color: rgb(192, 192, 192);
75+
color: #fff;
76+
border-radius: 3px;
77+
height: 36px;
78+
line-height: 35px;
79+
padding: 0 20px;
80+
border: 0;
81+
font-size: 14px;
82+
font-weight: 500;
83+
cursor: pointer;
84+
min-width: 80px;
85+
text-align: center;
86+
width: 200px;
7587
}
7688
7789
.chart-btn.active {

src/components/Pomodoro.vue

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,18 @@ async function changeStatus() {
125125
margin-top: 5px;
126126
}
127127
button {
128-
color: white !important;
129128
border: none;
129+
color: #fff;
130+
border-radius: 3px;
131+
height: 36px;
132+
line-height: 35px;
133+
padding: 0 20px;
134+
font-size: 14px;
135+
font-weight: 500;
136+
cursor: pointer;
137+
min-width: 80px;
138+
text-align: center;
139+
width: 200px;
130140
}
131141
button.start {
132142
background-color: rgb(62, 148, 62) !important;

0 commit comments

Comments
 (0)