Last change
on this file since 77205be was 77205be, checked in by gjoko kostadinov <gjokokostadinov@…>, 9 months ago |
Add entire code
|
-
Property mode
set to
100644
|
File size:
867 bytes
|
Rev | Line | |
---|
[77205be] | 1 | .rate{
|
---|
| 2 |
|
---|
| 3 | border-bottom-right-radius: 12px;
|
---|
| 4 | border-bottom-left-radius: 12px;
|
---|
| 5 |
|
---|
| 6 | }
|
---|
| 7 |
|
---|
| 8 | .rating {
|
---|
| 9 | display: flex;
|
---|
| 10 | flex-direction: row-reverse;
|
---|
| 11 | justify-content: center
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | .rating>input {
|
---|
| 15 | display: none
|
---|
| 16 | }
|
---|
| 17 |
|
---|
| 18 | .rating>label {
|
---|
| 19 | position: relative;
|
---|
| 20 | width: 1em;
|
---|
| 21 | font-size: 30px;
|
---|
| 22 | font-weight: 300;
|
---|
| 23 | color: #FFD600;
|
---|
| 24 | cursor: pointer
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | .rating>label::before {
|
---|
| 28 | content: "\2605";
|
---|
| 29 | position: absolute;
|
---|
| 30 | opacity: 0
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | .rating>label:hover:before,
|
---|
| 34 | .rating>label:hover~label:before {
|
---|
| 35 | opacity: 1 !important
|
---|
| 36 | }
|
---|
| 37 |
|
---|
| 38 | .rating>input:checked~label:before {
|
---|
| 39 | opacity: 1
|
---|
| 40 | }
|
---|
| 41 |
|
---|
| 42 | .rating:hover>input:checked~label:before {
|
---|
| 43 | opacity: 0.4
|
---|
| 44 | }
|
---|
| 45 |
|
---|
| 46 |
|
---|
| 47 | .buttons{
|
---|
| 48 | top: 36px;
|
---|
| 49 | position: relative;
|
---|
| 50 | }
|
---|
| 51 |
|
---|
| 52 |
|
---|
| 53 | .rating-submit{
|
---|
| 54 | border-radius: 15px;
|
---|
| 55 | color: #fff;
|
---|
| 56 | height: 49px;
|
---|
| 57 | }
|
---|
| 58 |
|
---|
| 59 |
|
---|
| 60 | .rating-submit:hover{
|
---|
| 61 | color: #fff;
|
---|
| 62 | }
|
---|
| 63 |
|
---|
| 64 | #my-reviews {
|
---|
| 65 | padding: 20px;
|
---|
| 66 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.