Update Semantic to 2.1

Ticket #56
This commit is contained in:
Tim Schumacher 2016-06-10 00:34:34 +02:00
parent 3f1e728781
commit 4385f1acbc
425 changed files with 59924 additions and 37200 deletions

137
web/semantic/dist/components/rating.css vendored Normal file → Executable file
View file

@ -1,9 +1,9 @@
/*!
* # Semantic UI 1.11.4 - Rating
* # Semantic UI 2.1.7 - Rating
* http://github.com/semantic-org/semantic-ui/
*
*
* Copyright 2014 Contributors
* Copyright 2015 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
@ -15,30 +15,33 @@
*******************************/
.ui.rating {
display: inline-block;
vertical-align: middle;
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
white-space: nowrap;
vertical-align: baseline;
}
.ui.rating:last-child {
margin-right: 0em;
}
.ui.rating:before {
display: block;
content: '';
visibility: hidden;
clear: both;
height: 0;
}
/* Icon */
.ui.rating .icon {
cursor: pointer;
margin: 0em;
width: 1.1em;
height: auto;
text-align: center;
padding: 0em;
margin: 0em;
text-align: center;
font-weight: normal;
font-style: normal;
-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;
}
@ -47,6 +50,30 @@
*******************************/
/*-------------------
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);
}
/*-------------------
Star
--------------------*/
@ -54,28 +81,26 @@
/* Inactive */
.ui.star.rating .icon {
width: 1.1em;
width: 1.25em;
height: auto;
background: transparent;
color: rgba(0, 0, 0, 0.15);
text-shadow: none;
}
/* Active Star */
.ui.star.rating .active.icon {
background: transparent !important;
color: #ffe623 !important;
text-shadow: 0px -1px 0px #cfa300, -1px 0px 0px #cfa300, 0px 1px 0px #cfa300, 1px 0px 0px #cfa300;
text-shadow: 0px -1px 0px #ddc507, -1px 0px 0px #ddc507, 0px 1px 0px #ddc507, 1px 0px 0px #ddc507 !important;
}
/* Selected Star */
.ui.star.rating .icon.selected,
.ui.star.rating .icon.selected.active {
color: #ffb70a !important;
}
.ui.star.rating.partial {
position: relative;
z-index: 1;
}
.ui.star.rating.partial:before {
position: absolute;
z-index: -1;
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;
}
/*-------------------
@ -83,20 +108,26 @@
--------------------*/
.ui.heart.rating .icon {
width: 1.25em;
width: 1.4em;
height: auto;
background: transparent;
color: rgba(0, 0, 0, 0.15);
text-shadow: none !important;
}
/* Active Heart */
.ui.heart.rating .active.icon {
color: #ff2733 !important;
text-shadow: 0px -1px 0px #9e0000, -1px 0px 0px #9e0000, 0px 1px 0px #9e0000, 1px 0px 0px #9e0000;
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;
}
/* Selected Heart */
.ui.heart.rating .icon.selected,
.ui.heart.rating .icon.selected.active {
color: #ff2733 !important;
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;
}
@ -105,22 +136,6 @@
*******************************/
/* Inactive Icon */
.ui.rating .icon {
color: rgba(0, 0, 0, 0.15);
}
/* Active Icon */
.ui.rating .active.icon {
color: rgba(0, 0, 0, 0.85);
}
/* Selected Icon */
.ui.rating .icon.selected,
.ui.rating .icon.selected.active {
color: rgba(0, 0, 0, 0.8);
}
/*-------------------
Disabled
--------------------*/
@ -132,13 +147,13 @@
}
/*-------------------
Interacting (Active)
User Interactive
--------------------*/
/* Selected Rating */
.ui.rating.selected .active.icon {
opacity: 0.5;
opacity: 1;
}
.ui.rating.selected .icon.selected,
.ui.rating .icon.selected {
@ -150,25 +165,25 @@
Variations
*******************************/
.ui.mini.rating .icon {
font-size: 0.7rem;
.ui.mini.rating {
font-size: 0.71428571rem;
}
.ui.tiny.rating .icon {
font-size: 0.8rem;
.ui.tiny.rating {
font-size: 0.85714286rem;
}
.ui.small.rating .icon {
font-size: 0.875rem;
.ui.small.rating {
font-size: 0.92857143rem;
}
.ui.rating .icon {
.ui.rating {
font-size: 1rem;
}
.ui.large.rating .icon {
font-size: 1.1rem;
.ui.large.rating {
font-size: 1.14285714rem;
}
.ui.huge.rating .icon {
font-size: 1.5rem;
.ui.huge.rating {
font-size: 1.42857143rem;
}
.ui.massive.rating .icon {
.ui.massive.rating {
font-size: 2rem;
}