Skip to content

Commit ddb85a6

Browse files
committed
change style
1 parent 4ed1e84 commit ddb85a6

File tree

3 files changed

+19
-21
lines changed

3 files changed

+19
-21
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
<p class="title">Web Activity Time Tracker</p>
2020
</div>
2121
<div id="buttons" class="btn-block">
22-
<input type="button" value="Today" class="active" id="btnToday" />
23-
<input type="button" value="All" id="btnAll" />
24-
<input type="button" value="By days" id="btnByDays" />
22+
<a class="active" id="btnToday">Today</a>
23+
<a id="btnAll">All</a>
24+
<a id="btnByDays">By days</a>
2525
</div>
2626
<div id="chart"></div>
2727
<div id="resultTable" class="list-of-site"></div>

style/chart.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Add shadow effect to chart. If you don't like it, get rid of it. */
22
svg {
3-
-webkit-filter: drop-shadow( 0px 3px 3px rgba(0,0,0,.3) );
4-
filter: drop-shadow( 0px 3px 3px rgba(0,0,0,.25) );
3+
-webkit-filter: drop-shadow( 0px 2px 2px rgba(0,0,0,.3) );
4+
filter: drop-shadow( 0px 2px 2px rgba(0,0,0,.25) );
55
}
66

77
/*Styling for the lines connecting the labels to the slices*/
@@ -39,5 +39,5 @@ tspan{
3939
}
4040

4141
.backColorChart{
42-
background-color: rgb(227, 245, 243);
42+
/* background-color: rgb(227, 245, 243); */
4343
}

style/webact.css

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -86,34 +86,32 @@ hr {
8686
text-align: center;
8787
}
8888

89-
input[type="button"]{
90-
border: none;
91-
color: white;
92-
padding: 6px 10px;
89+
a{
90+
color: rgb(184, 179, 179);
91+
padding: 4px 5px;
9392
text-align: center;
9493
display: inline-block;
9594
font-size: 12px;
95+
font-weight: 600;
9696
margin: 4px 2px;
9797
transition-duration: 0.4s;
9898
cursor: pointer;
9999
text-decoration: none;
100100
text-transform: uppercase;
101101

102-
border-radius: 6px;
103-
border: 1px solid #0099CC;
102+
border-bottom: 2px solid rgb(184, 179, 179);
104103
background: transparent;
105-
color: #0099CC;
106-
width: 32%;
104+
width: 30%;
107105
}
108106

109-
input[type="button"]:hover {
110-
background-color: #008CBA;
111-
color: white;
107+
a:hover {
108+
color:rgb(55, 158, 86);
109+
border-bottom: 2px solid rgb(55, 158, 86);
112110
}
113111

114-
input[type="button"].active {
115-
background-color: #008CBA;
116-
color: white;
112+
a.active {
113+
color:rgb(55, 158, 86);
114+
border-bottom: 2px solid rgb(55, 158, 86);
117115
}
118116

119117
input[type="date"]{
@@ -143,7 +141,7 @@ input[type="date"]{
143141
font-weight: 600;
144142
font-size: 13px;
145143
padding: 4px;
146-
background-color: rgb(223, 221, 221);
144+
background-color: rgb(176, 233, 188);
147145
}
148146

149147
p.table-header{

0 commit comments

Comments
 (0)