main
Last change
on this file since a5aba17 was c68150f, checked in by unknown <mlviktor23@…>, 2 years ago |
left: moderation, oAuth, messaging
|
-
Property mode
set to
100644
|
File size:
1.6 KB
|
Rev | Line | |
---|
[e958037] | 1 | import styled from "styled-components";
|
---|
[f5d4792] | 2 | import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
---|
[e958037] | 3 |
|
---|
| 4 | export const OpinionCard = styled.div`
|
---|
| 5 | background-color: papayawhip;
|
---|
[f5d4792] | 6 | width: auto;
|
---|
| 7 | margin-top: 20px;
|
---|
| 8 | margin-bottom: 20px;
|
---|
| 9 | padding: 10px;
|
---|
[8d83180] | 10 | box-shadow: 2px 2px 10px #aaaaaa;
|
---|
[f5d4792] | 11 | `;
|
---|
| 12 |
|
---|
| 13 | export const OpinionCardContent = styled.div`
|
---|
| 14 | padding: 5px;
|
---|
| 15 | transition: 0.5s;
|
---|
| 16 | &:hover {
|
---|
| 17 | background-color: seashell;
|
---|
| 18 | }
|
---|
| 19 | position: relative;
|
---|
[c68150f] | 20 | overflow-wrap: break-word;
|
---|
[f5d4792] | 21 | `;
|
---|
| 22 |
|
---|
| 23 | export const OpinionCardContentTitle = styled.p`
|
---|
| 24 | font-weight: bold;
|
---|
| 25 | `;
|
---|
| 26 |
|
---|
| 27 | export const OpinionCardContentTime = styled.p`
|
---|
| 28 | font-size: small;
|
---|
| 29 | font-style: italic;
|
---|
[e958037] | 30 | `;
|
---|
[5347491] | 31 |
|
---|
| 32 | export const OpinionReplyCard = styled.div`
|
---|
[f5d4792] | 33 | background-color: papayawhip;
|
---|
| 34 | width: auto;
|
---|
[5347491] | 35 | margin-left: ${(props) => props.indent};
|
---|
[f5d4792] | 36 | padding: 10px;
|
---|
| 37 | border-left: thick solid tan;
|
---|
| 38 | `;
|
---|
| 39 |
|
---|
| 40 | export const OpinionReplyCardContent = styled.div`
|
---|
| 41 | padding: 5px;
|
---|
| 42 | transition: 0.5s;
|
---|
| 43 | &:hover {
|
---|
| 44 | background-color: seashell;
|
---|
| 45 | }
|
---|
| 46 | position: relative;
|
---|
| 47 | `;
|
---|
| 48 |
|
---|
| 49 | export const OpinionReplyCardContentTime = styled.p`
|
---|
| 50 | font-size: small;
|
---|
| 51 | font-style: italic;
|
---|
| 52 | `;
|
---|
| 53 |
|
---|
| 54 | export const StyledFontAwesomeIcon = styled(FontAwesomeIcon)`
|
---|
[62b653f] | 55 | color: ${(props) => props.color};
|
---|
[f5d4792] | 56 | display: block;
|
---|
| 57 | position: absolute;
|
---|
[c68150f] | 58 | height: 20px;
|
---|
[f5d4792] | 59 | top: 50%;
|
---|
| 60 | transform: translateY(-50%);
|
---|
[ad40ec0] | 61 | right: ${(props) => props.right};
|
---|
| 62 | transition: 0.5s;
|
---|
| 63 | &:hover {
|
---|
[c68150f] | 64 | opacity: 0.5;
|
---|
[6221ab6] | 65 | cursor: pointer;
|
---|
[ad40ec0] | 66 | }
|
---|
[5347491] | 67 | `;
|
---|
[62b653f] | 68 |
|
---|
| 69 | export const VoteCount = styled.p`
|
---|
| 70 | color: darkgrey;
|
---|
| 71 | display: block;
|
---|
| 72 | position: absolute;
|
---|
| 73 | top: 80%;
|
---|
| 74 | transform: translateY(-50%);
|
---|
| 75 | right: ${(props) => props.right};
|
---|
| 76 | transition: 0.5s;
|
---|
| 77 | `;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.