You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
371 lines
7.0 KiB
371 lines
7.0 KiB
/*******************************
|
|
UI Items (Views)
|
|
*******************************/
|
|
|
|
/*--------------
|
|
Sizing
|
|
---------------*/
|
|
|
|
.ui.items .item {
|
|
float: left;
|
|
display: block;
|
|
|
|
width: 100%;
|
|
margin: 0%;
|
|
font-size: 13px;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-ms-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Force Clearing */
|
|
.ui.items:after {
|
|
display: block;
|
|
content: ' ';
|
|
height: 0px;
|
|
clear: both;
|
|
overflow: hidden;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.ui.two.items {
|
|
margin-left: -1%;
|
|
margin-right: -1%;
|
|
}
|
|
.ui.two.items .item {
|
|
width: 48%;
|
|
margin-left: 1%;
|
|
margin-right: 1%;
|
|
font-size: 13px;
|
|
}
|
|
.ui.two.items .item:nth-child(2n+1) {
|
|
clear: left;
|
|
}
|
|
|
|
.ui.three.items {
|
|
margin-left: -1%;
|
|
margin-right: -1%;
|
|
}
|
|
.ui.three.items .item {
|
|
width: 31.333%;
|
|
margin-left: 1%;
|
|
margin-right: 1%;
|
|
font-size: 13px;
|
|
}
|
|
.ui.three.items .item:nth-child(3n+1) {
|
|
clear: left;
|
|
}
|
|
|
|
.ui.four.items {
|
|
margin-left: -0.5%;
|
|
margin-right: -0.5%;
|
|
}
|
|
.ui.four.items .item {
|
|
width: 24%;
|
|
margin-left: 0.5%;
|
|
margin-right: 0.5%;
|
|
font-size: 12px;
|
|
}
|
|
.ui.four.items .item:nth-child(4n+1) {
|
|
clear: left;
|
|
}
|
|
|
|
.ui.five.items {
|
|
margin-left: -0.5%;
|
|
margin-right: -0.5%;
|
|
}
|
|
.ui.five.items .item {
|
|
width: 19%;
|
|
margin-left: 0.5%;
|
|
margin-right: 0.5%;
|
|
font-size: 12px;
|
|
}
|
|
.ui.five.items .item:nth-child(5n+1) {
|
|
clear: left;
|
|
}
|
|
|
|
.ui.six.items {
|
|
margin-left: -0.5%;
|
|
margin-right: -0.5%;
|
|
}
|
|
.ui.six.items .item {
|
|
width: 15.66%;
|
|
margin-left: 0.5%;
|
|
margin-right: 0.5%;
|
|
font-size: 12px;
|
|
}
|
|
.ui.six.items .item:nth-child(6n+1) {
|
|
clear: left;
|
|
}
|
|
|
|
.ui.seven.items {
|
|
margin-left: -0.5%;
|
|
margin-right: -0.5%;
|
|
}
|
|
.ui.seven.items .item {
|
|
width: 13.28%;
|
|
margin-left: 0.5%;
|
|
margin-right: 0.5%;
|
|
font-size: 11px;
|
|
}
|
|
.ui.seven.items .item:nth-child(7n+1) {
|
|
clear: left;
|
|
}
|
|
|
|
.ui.eight.items {
|
|
margin-left: -0.25%;
|
|
margin-right: -0.25%;
|
|
}
|
|
.ui.eight.items .item {
|
|
width: 12.0%;
|
|
margin-left: 0.25%;
|
|
margin-right: 0.25%;
|
|
font-size: 11px;
|
|
}
|
|
.ui.eight.items .item:nth-child(8n+1) {
|
|
clear: left;
|
|
}
|
|
|
|
.ui.nine.items {
|
|
margin-left: -0.25%;
|
|
margin-right: -0.25%;
|
|
}
|
|
.ui.nine.items .item {
|
|
width: 10.61%;
|
|
margin-left: 0.25%;
|
|
margin-right: 0.25%;
|
|
font-size: 10px;
|
|
}
|
|
.ui.nine.items .item:nth-child(9n+1) {
|
|
clear: left;
|
|
}
|
|
|
|
.ui.ten.items {
|
|
margin-left: -0.2%;
|
|
margin-right: -0.2%;
|
|
}
|
|
.ui.ten.items .item {
|
|
width: 9.6%;
|
|
margin-left: 0.2%;
|
|
margin-right: 0.2%;
|
|
font-size: 10px;
|
|
}
|
|
.ui.ten.items .item:nth-child(10n+1) {
|
|
clear: left;
|
|
}
|
|
|
|
.ui.eleven.items {
|
|
margin-left: -0.2%;
|
|
margin-right: -0.2%;
|
|
}
|
|
.ui.eleven.items .item {
|
|
width: 8.69%;
|
|
margin-left: 0.2%;
|
|
margin-right: 0.2%;
|
|
font-size: 9px;
|
|
}
|
|
.ui.eleven.items .item:nth-child(11n+1) {
|
|
clear: left;
|
|
}
|
|
|
|
.ui.twelve.items {
|
|
margin-left: -0.1%;
|
|
margin-right: -0.1%;
|
|
}
|
|
.ui.twelve.items .item {
|
|
width: 8.1333%;
|
|
margin-left: 0.1%;
|
|
margin-right: 0.1%;
|
|
font-size: 9px;
|
|
}
|
|
.ui.twelve.items .item:nth-child(12n+1) {
|
|
clear: left;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
Grid Items
|
|
*******************************/
|
|
|
|
.ui.grid.items {
|
|
margin-top: 15px;
|
|
margin-bottom: 15px;
|
|
padding: 0px;
|
|
}
|
|
.ui.grid.items > .item,
|
|
.ui.grid.items > .item > .image,
|
|
.ui.grid.items > .item > .image .overlay,
|
|
.ui.grid.items > .item > .content,
|
|
.ui.grid.items > .item > .extra {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-ms-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.ui.grid.items > .item {
|
|
display: block;
|
|
position: relative;
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
|
|
min-height: 50px;
|
|
background-color: #FFFFFF;
|
|
|
|
-moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
|
|
-webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
|
|
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
|
|
|
|
-moz-border-radius: 5px;
|
|
-webkit-border-radius: 5px;
|
|
border-radius: 5px;
|
|
|
|
padding: 0.7%;
|
|
}
|
|
|
|
.ui.grid.items .item > .image a,
|
|
.ui.grid.items .item > .image img {
|
|
position: relative;
|
|
display: block;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
-webkit-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
border-radius: 3px;
|
|
}
|
|
.ui.grid.items .item > .image a:after {
|
|
position: absolute;
|
|
display: block;
|
|
content: '';
|
|
z-index: 2;
|
|
top: 0px;
|
|
left: 0px;
|
|
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
-webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2) inset;
|
|
-moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2) inset;
|
|
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2) inset;
|
|
}
|
|
.ui.grid.items .item > .image .overlay {
|
|
position: absolute;
|
|
bottom: 0px;
|
|
left: 0px;
|
|
|
|
background: transparent -webkit-linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
|
|
background: transparent -moz-linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
|
|
background: transparent -o-linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
|
|
background: transparent -ms-linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
|
|
background: transparent linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
|
|
padding: 3% 2.5%;
|
|
width: 100%;
|
|
|
|
font-size: 1em;
|
|
font-weight: bold;
|
|
color: #FFFFFF;
|
|
|
|
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.6);
|
|
}
|
|
.ui.grid.items .item > .image .overlay i {
|
|
font-size: 1.3em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Content */
|
|
.ui.grid.items .item > .content {
|
|
padding: 4% 1% 6%;
|
|
color: #888888;
|
|
}
|
|
.ui.grid.items .item > .content > .name,
|
|
.ui.grid.items .item > .content > .title {
|
|
margin-bottom: 1%;
|
|
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
color: #009FDA;
|
|
}
|
|
.ui.grid.items .item > .content p {
|
|
line-height: 1.33;
|
|
margin: 0% 0% 5%;
|
|
}
|
|
.ui.grid.items .item > .content :last-child {
|
|
margin-bottom: 0%;
|
|
}
|
|
|
|
|
|
/* Optional Content */
|
|
.ui.grid.items .item > .extra {
|
|
color: #C6C7C9;
|
|
padding: 0% 1% 1%;
|
|
}
|
|
.ui.grid.items .item > .extra img {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.ui.grid.items .item .avatar {
|
|
display: inline-block;
|
|
width: 5.5%;
|
|
min-width: 15px;
|
|
margin-right: 0.2em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/*******************************
|
|
Table Grid Items
|
|
*******************************/
|
|
|
|
.ui.horizontal.grid.items .item,
|
|
.ui.grid.items .horizontal.item {
|
|
display: table;
|
|
}
|
|
/* prevents reflow bug in chrome by targeting webkit browser */
|
|
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
|
.ui.grid.items .item {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.ui.horizontal.grid.items .item > .image
|
|
.ui.grid.items .horizontal.item > .image {
|
|
display: table-cell;
|
|
width: 50%;
|
|
}
|
|
.ui.horizontal.grid.items .item > .image + .content,
|
|
.ui.grid.items .horizontal.item > .image + .content {
|
|
width: 50%;
|
|
display: table-cell;
|
|
}
|
|
.ui.horizontal.grid.items .item > .content,
|
|
.ui.grid.items .horizontal.item > .content {
|
|
padding: 1% 1.7% 11% 3%;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.ui.horizontal.grid.items .item > .extra,
|
|
.ui.grid.items .horizontal.item > .extra {
|
|
position: absolute;
|
|
padding: 0%;
|
|
bottom: 7%;
|
|
left: 3%;
|
|
width: 94%;
|
|
}
|
|
.ui.horizontal.grid.items .item > .image + .content + .extra,
|
|
.ui.grid.items .horizontal.item > .image + .content + .extra {
|
|
bottom: 7%;
|
|
left: 53%;
|
|
width: 44%;
|
|
}
|
|
|
|
|
|
.ui.horizontal.grid.items .item .avatar,
|
|
.ui.grid.items .horizontal.item .avatar {
|
|
width: 11.5%;
|
|
}
|
|
|
|
.ui.grid.items .item .avatar {
|
|
max-width: 25px;
|
|
}
|