Skip to content

Commit 83efa2e

Browse files
committed
more styles
1 parent 4d575f1 commit 83efa2e

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

src/index.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ body {
2626
margin: 20px; }
2727

2828
.event-item.priority {
29-
background: white; }
29+
background: white;
30+
border-color: #1ab3c1; }
3031

3132
.event-item__image {
3233
width: 100%;
@@ -54,6 +55,8 @@ body {
5455
content: '\f0c1';
5556
font-family: 'FontAwesome';
5657
margin-right: 5px; }
58+
.event-item__url:hover, .event-item__url:active, .event-item__url:focus {
59+
text-decoration: underline; }
5760

5861
.react-add-to-calendar {
5962
position: relative;
@@ -64,7 +67,11 @@ body {
6467

6568
.react-add-to-calendar__button {
6669
border: 2px solid #86e6ee;
67-
padding: 10px; }
70+
padding: 10px;
71+
cursor: pointer; }
72+
.react-add-to-calendar__button:hover, .react-add-to-calendar__button:active, .react-add-to-calendar__button:focus {
73+
border-color: #1ab3c1;
74+
background-color: #86e6ee; }
6875

6976
.react-add-to-calendar__dropdown {
7077
position: absolute;

src/index.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ body {
3939

4040
.event-item.priority {
4141
background: white;
42+
border-color: $blue;
4243
}
4344

4445
.event-item__image {
@@ -73,6 +74,12 @@ body {
7374
font-family: 'FontAwesome';
7475
margin-right: 5px;
7576
}
77+
78+
&:hover,
79+
&:active,
80+
&:focus {
81+
text-decoration: underline;
82+
}
7683
}
7784

7885
.react-add-to-calendar {
@@ -87,6 +94,14 @@ body {
8794
.react-add-to-calendar__button {
8895
border: 2px solid $blue-light;
8996
padding: 10px;
97+
cursor: pointer;
98+
99+
&:hover,
100+
&:active,
101+
&:focus {
102+
border-color: $blue;
103+
background-color: $blue-light;
104+
}
90105
}
91106

92107
.react-add-to-calendar__dropdown {

0 commit comments

Comments
 (0)