Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
118 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
body { | ||
color: #000C; | ||
} | ||
|
||
main .comment { | ||
display: block; | ||
position: relative; | ||
padding: 0.75rem 0; | ||
} | ||
|
||
main .comment .title { | ||
margin-left: 2rem; | ||
margin-right: 0.5rem; | ||
font-weight: bold; | ||
line-height: 1.5rem; | ||
} | ||
|
||
main .comment .body { | ||
margin-left: 2rem; | ||
margin-right: 0.5rem; | ||
line-height: 2rem; | ||
} | ||
|
||
main form.new-comment-form input[type="text"] { | ||
display: block; | ||
width: calc(100% - 2.5rem); | ||
line-height: 1.5rem; | ||
font-weight: bold; | ||
} | ||
|
||
main form.new-comment-form textarea { | ||
display: block; | ||
width: calc(100% - 2.5rem); | ||
resize: vertical; | ||
line-height: 2rem; | ||
} | ||
main form.new-comment-form .position { | ||
margin-top: 0.5rem; | ||
padding: 0 2rem; | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
} | ||
|
||
.new-comment-form-position-label { | ||
display: block; | ||
padding: 0.5rem 1rem; | ||
line-height: 1rem; | ||
border: 2px solid #000C; | ||
border-radius: 1rem; | ||
cursor: pointer; | ||
} | ||
|
||
#position-form-agree:checked + label { | ||
background: #e3f2fd; | ||
border-color: #2196f3; | ||
} | ||
#position-form-disagree:checked + label { | ||
background: #ffebee; | ||
border-color: #f44336; | ||
} | ||
#position-form-neutral:checked + label { | ||
background: #eceff1; | ||
border-color: #607d8b; | ||
} | ||
|
||
main form.new-comment-form button.new-comment-form-submit-button { | ||
margin: 1rem 2rem 0 2rem; | ||
width: calc(100% - 4rem); | ||
display: block; | ||
padding: 0.5rem 1rem; | ||
line-height: 1rem; | ||
border: 2px solid #000C; | ||
border-radius: 1rem; | ||
cursor: pointer; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,17 @@ | ||
div.new-topic-form { | ||
padding: 0 0.5rem; | ||
main .comment::before { | ||
position: absolute; | ||
height: 1.5rem; | ||
width: 1rem; | ||
padding: 0.25rem 0; | ||
left: 0.5rem; | ||
} | ||
|
||
form.new-topic-form input[type="text"] { | ||
margin: 0.5rem 0 0; | ||
padding: 0.5rem; | ||
width: 100%; | ||
border: 1px solid #000; | ||
main .comment.agree::before { | ||
content: "👍"; | ||
} | ||
|
||
form.new-topic-form .position { | ||
padding: 0.5rem 0 0; | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-around; | ||
} | ||
|
||
form.new-topic-form input[type="radio"].new-topic-form-position { | ||
appearance: auto; | ||
main .comment.disagree::before { | ||
content: "👎"; | ||
} | ||
|
||
form.new-topic-form button.new-topic-form-submit-button { | ||
margin: 0.5rem 0 0; | ||
padding: 0.5rem; | ||
width: 100%; | ||
border: 1px solid #0004; | ||
cursor: pointer; | ||
main .comment.neutral::before { | ||
content: "✋"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters