Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6a1892a

Browse files
update button style
1 parent bff25fe commit 6a1892a

File tree

1 file changed

+47
-9
lines changed

1 file changed

+47
-9
lines changed

‎src/index.scss‎

Lines changed: 47 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ body {
104104
}
105105

106106
.message-to-board-send-button {
107-
width: 45px;
107+
margin-left: 6px;
108108
}
109109
}
110110

@@ -224,7 +224,6 @@ body {
224224
}
225225

226226
.pause-button {
227-
width: 47px;
228227
text-align: center;
229228
}
230229

@@ -362,17 +361,56 @@ input[type="text"]{
362361
color: #7F8C8D !important;
363362
}
364363

364+
.dark {
365+
button {
366+
background-color: $teal1;
367+
color: $onyx;
368+
369+
&:hover {
370+
background-color: $teal0;
371+
}
372+
373+
&:active {
374+
box-shadow: 0 0 0 2px $fog;
375+
}
376+
}
377+
}
378+
365379
button {
366-
background: #B9C7C9;
367-
border: 1px solid #E1E1E1;
368-
box-sizing: border-box;
369-
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25);
370-
border-radius: 1px;
380+
background-color: $teal3;
371381
color: $white;
372-
padding: 6px 5px;
382+
align-items: center;
383+
display: flex;
384+
font-family: 'Open Sans',sans-serif;
385+
font-style: normal;
386+
font-weight: 700;
387+
font-size: 14px;
388+
justify-content: center;
373389
cursor: pointer;
390+
letter-spacing: .01em;
391+
line-height: 23.8px;
392+
outline: none;
393+
padding: 0 16px;
394+
position: relative;
395+
text-align: center;
396+
text-decoration: none;
397+
border-width: 2px;
398+
border-radius: 32px;
399+
text-transform: uppercase;
400+
transition: none;
401+
box-shadow: none;
402+
border-color: transparent;
374403

375404
&[disabled] {
376405
opacity: 0.5;
406+
pointer-events: none;
377407
}
378-
}
408+
409+
&:hover {
410+
background-color: $teal5;
411+
}
412+
413+
&:active {
414+
box-shadow: 0 0 0 2px $teal0;
415+
}
416+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /