This repository has been archived on 2024-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
calcifer/web/semantic/dist/components/rating.css

267 lines
20 KiB
CSS
Raw Normal View History

2015-03-29 19:33:23 +02:00
/*!
2016-06-10 00:34:34 +02:00
* # Semantic UI 2.1.7 - Rating
2015-03-29 19:33:23 +02:00
* http://github.com/semantic-org/semantic-ui/
*
*
2016-06-10 00:34:34 +02:00
* Copyright 2015 Contributors
2015-03-29 19:33:23 +02:00
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*******************************
Rating
*******************************/
.ui.rating {
2016-06-10 00:34:34 +02:00
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
white-space: nowrap;
vertical-align: baseline;
2015-03-29 19:33:23 +02:00
}
.ui.rating:last-child {
margin-right: 0em;
}
/* Icon */
.ui.rating .icon {
2016-06-10 00:34:34 +02:00
padding: 0em;
2015-03-29 19:33:23 +02:00
margin: 0em;
text-align: center;
font-weight: normal;
font-style: normal;
2016-06-10 00:34:34 +02:00
-webkit-box-flex: 1;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
cursor: pointer;
width: 1.25em;
height: auto;
-webkit-transition: opacity 0.1s ease, background 0.1s ease, text-shadow 0.1s ease, color 0.1s ease;
transition: opacity 0.1s ease, background 0.1s ease, text-shadow 0.1s ease, color 0.1s ease;
2015-03-29 19:33:23 +02:00
}
/*******************************
Types
*******************************/
2016-06-10 00:34:34 +02:00
/*-------------------
Standard
--------------------*/
/* Inactive Icon */
.ui.rating .icon {
background: transparent;
color: rgba(0, 0, 0, 0.15);
}
/* Active Icon */
.ui.rating .active.icon {
background: transparent;
color: rgba(0, 0, 0, 0.85);
}
/* Selected Icon */
.ui.rating .icon.selected,
.ui.rating .icon.selected.active {
background: transparent;
color: rgba(0, 0, 0, 0.87);
}
2015-03-29 19:33:23 +02:00
/*-------------------
Star
--------------------*/
/* Inactive */
.ui.star.rating .icon {
2016-06-10 00:34:34 +02:00
width: 1.25em;
height: auto;
background: transparent;
2015-03-29 19:33:23 +02:00
color: rgba(0, 0, 0, 0.15);
2016-06-10 00:34:34 +02:00
text-shadow: none;
2015-03-29 19:33:23 +02:00
}
/* Active Star */
.ui.star.rating .active.icon {
2016-06-10 00:34:34 +02:00
background: transparent !important;
2015-03-29 19:33:23 +02:00
color: #ffe623 !important;
2016-06-10 00:34:34 +02:00
text-shadow: 0px -1px 0px #ddc507, -1px 0px 0px #ddc507, 0px 1px 0px #ddc507, 1px 0px 0px #ddc507 !important;
2015-03-29 19:33:23 +02:00
}
/* Selected Star */
.ui.star.rating .icon.selected,
.ui.star.rating .icon.selected.active {
2016-06-10 00:34:34 +02:00
background: transparent !important;
color: #ffcc00 !important;
text-shadow: 0px -1px 0px #e6a200, -1px 0px 0px #e6a200, 0px 1px 0px #e6a200, 1px 0px 0px #e6a200 !important;
2015-03-29 19:33:23 +02:00
}
/*-------------------
Heart
--------------------*/
.ui.heart.rating .icon {
2016-06-10 00:34:34 +02:00
width: 1.4em;
height: auto;
background: transparent;
2015-03-29 19:33:23 +02:00
color: rgba(0, 0, 0, 0.15);
2016-06-10 00:34:34 +02:00
text-shadow: none !important;
2015-03-29 19:33:23 +02:00
}
/* Active Heart */
.ui.heart.rating .active.icon {
2016-06-10 00:34:34 +02:00
background: transparent !important;
color: #ff6d75 !important;
text-shadow: 0px -1px 0px #cd0707, -1px 0px 0px #cd0707, 0px 1px 0px #cd0707, 1px 0px 0px #cd0707 !important;
2015-03-29 19:33:23 +02:00
}
/* Selected Heart */
.ui.heart.rating .icon.selected,
.ui.heart.rating .icon.selected.active {
2016-06-10 00:34:34 +02:00
background: transparent !important;
color: #ff3000 !important;
text-shadow: 0px -1px 0px #aa0101, -1px 0px 0px #aa0101, 0px 1px 0px #aa0101, 1px 0px 0px #aa0101 !important;
2015-03-29 19:33:23 +02:00
}
/*******************************
States
*******************************/
/*-------------------
Disabled
--------------------*/
/* disabled rating */
.ui.disabled.rating .icon {
cursor: default;
}
/*-------------------
2016-06-10 00:34:34 +02:00
User Interactive
2015-03-29 19:33:23 +02:00
--------------------*/
/* Selected Rating */
.ui.rating.selected .active.icon {
2016-06-10 00:34:34 +02:00
opacity: 1;
2015-03-29 19:33:23 +02:00
}
.ui.rating.selected .icon.selected,
.ui.rating .icon.selected {
opacity: 1;
}
/*******************************
Variations
*******************************/
2016-06-10 00:34:34 +02:00
.ui.mini.rating {
font-size: 0.71428571rem;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.tiny.rating {
font-size: 0.85714286rem;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.small.rating {
font-size: 0.92857143rem;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.rating {
2015-03-29 19:33:23 +02:00
font-size: 1rem;
}
2016-06-10 00:34:34 +02:00
.ui.large.rating {
font-size: 1.14285714rem;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.huge.rating {
font-size: 1.42857143rem;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.massive.rating {
2015-03-29 19:33:23 +02:00
font-size: 2rem;
}
/*******************************
Theme Overrides
*******************************/
@font-face {
font-family: 'Rating';
src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggjCBsAAAC8AAAAYGNtYXCj2pm8AAABHAAAAKRnYXNwAAAAEAAAAcAAAAAIZ2x5ZlJbXMYAAAHIAAARnGhlYWQBGAe5AAATZAAAADZoaGVhA+IB/QAAE5wAAAAkaG10eCzgAEMAABPAAAAAcGxvY2EwXCxOAAAUMAAAADptYXhwACIAnAAAFGwAAAAgbmFtZfC1n04AABSMAAABPHBvc3QAAwAAAAAVyAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADxZQHg/+D/4AH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EoAlAAANzU0NzY7ATY3Njc2NzY3Njc2MzIXFhcWFRQHMzIXFhUUBxYVFAcUFRQHFgcGKwEiJyYnJisBIicmNTcUFxYzMjc2NTQnJiMiBwYVFzMyFxYXFhcWFxYXFhcWOwEyNTQnNjc2NTQnNjU0JyYnNjc2NTQnJisBNDc2NTQnJiMGBwYHBgcGBwYHBgcGBwYHBgcGBwYrARUACwoQTgodEQ4GBAMFBgwLDxgTEwoKDjMdFhYOAgoRARkZKCUbGxsjIQZSEAoLJQUFCAcGBQUGBwgFBUkJBAUFBAQHBwMDBwcCPCUjNwIJBQUFDwMDBAkGBgsLDmUODgoJGwgDAwYFDAYQAQUGAwQGBgYFBgUGBgQJSbcPCwsGJhUPCBERExMMCgkJFBQhGxwWFR4ZFQoKFhMGBh0WKBcXBgcMDAoLDxIHBQYGBQcIBQYGBQgSAQEBAQICAQEDAgEULwgIBQoLCgsJDhQHCQk
font-weight: normal;
font-style: normal;
}
.ui.rating .icon {
font-family: 'Rating';
line-height: 1;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
font-weight: normal;
font-style: normal;
text-align: center;
}
/* Empty Star */
.ui.rating .icon:before {
content: '\f006';
}
/* Active Star */
.ui.rating .active.icon:before {
content: '\f005';
}
/*-------------------
Star
--------------------*/
/* Unfilled Star */
.ui.star.rating .icon:before {
content: '\f005';
}
/* Active Star */
.ui.star.rating .active.icon:before {
content: '\f005';
}
/* Partial */
.ui.star.rating .partial.icon:before {
content: '\f006';
}
.ui.star.rating .partial.icon {
content: '\f005';
}
/*-------------------
Heart
--------------------*/
/* Empty Heart
.ui.heart.rating .icon:before {
content: '\f08a';
}
*/
.ui.heart.rating .icon:before {
content: '\f004';
}
/* Active */
.ui.heart.rating .active.icon:before {
content: '\f004';
}
/*******************************
Site Overrides
*******************************/