Giter Site home page Giter Site logo

be-comment-rating's People

Contributors

billerickson avatar westonruter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

be-comment-rating's Issues

Stars don't look aligned in a row

hi,

I installed this but I could not see the stars in a row,
have deactivated temporarily may be the CSS needs a correction.

Thanks
Screenshot 2020-07-22 at 6 30 38 PM

start inline-block fix

Hello
i find the problem with start inline-block and i also fix it .
can u edit it for all bro
that is the css file after edit :

be-comment-rating {
--star-size: 1; /* use CSS variables to calculate dependent dimensions later /
display: inline-flex;
padding: 0; /
to prevent flicker when mousing over padding /
border: none; /
to prevent flicker when mousing over border /
unicode-bidi: bidi-override; direction: rtl; /
for CSS-only style change on hover /
text-align: left; /
revert the RTL direction /
user-select: none; /
disable mouse/touch selection /
font-size: 3em; /
fallback - IE doesn't support CSS variables /
font-size: calc(var(--star-size) * 1em); /
because var(--star-size)em would be too good to be true /
cursor: pointer;
/
disable touch feedback on cursor: pointer - http://stackoverflow.com/q/25704650/1269037 /
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-tap-highlight-color: transparent;
margin-bottom: 1em;
}
/
the stars /
.be-comment-rating > label {
display: inline-block;
position: relative;
margin: 0;
width: 1.1em; /
magic number to overlap the radio buttons on top of the stars */
width: calc(var(--star-size) / 1 * 1.1em);
}
.be-comment-rating > *:hover,
.be-comment-rating > :hover ~ label,
.be-comment-rating:not(:hover) > input:checked ~ label {
color: transparent; /
reveal the contour/white star from the HTML markup /
cursor: inherit; /
avoid a cursor transition from arrow/pointer to text selection */
}
.be-comment-rating > *:hover:before,
.be-comment-rating > :hover ~ label:before,
.be-comment-rating:not(:hover) > input:checked ~ label:before {
content: "โ˜…";
position: absolute;
left: 0;
color: black;
}
.be-comment-rating > input {
position: relative;
transform: scale(3); /
make the radio buttons big; they don't inherit font-size /
transform: scale(var(--star-size));
/
the magic numbers below correlate with the font-size /
top: -0.5em; /
margin-top doesn't work /
top: calc(var(--star-size) / 6 * -1em);
margin-left: -2.5em; /
overlap the radio buttons exactly under the stars /
margin-left: calc(var(--star-size) / 6 * -5em);
z-index: 2; /
bring the button above the stars so it captures touches/clicks /
opacity: 0; /
comment to see where the radio buttons are /
font-size: initial; /
reset to default */

}

I add that line only display: inline-flex;
Screen shot
fix

start dosent show

Hello
after i asked the last issue :
#3
i installed the plugin and activated it and i added the filters in my functions.php
still my comment field without the starts .
1
2

can yo explain more please ?

How to add?

Hello!!
How can I add it to my WordPress site while it's not zip files?
Sorry but I never add similar plugins and I'm a beginner with AMP !!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.