/******************************* UI Items (Views) *******************************/ /*-------------- Sizing ---------------*/ .ui.items > .item { float: left; display: block; width: 100%; margin: 0%; font-size: 1em; -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%; } .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%; } .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%; } .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%; } .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%; } .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; } /******************************* Items *******************************/ .ui.items { margin-top: 15px; margin-bottom: 15px; padding: 0px; } .ui.items > .item, .ui.items > .item > .image, .ui.items > .item > .image .overlay, .ui.items > .item > .content, .ui.items > .item > .extra { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; } .ui.items > .item { display: block; position: relative; margin: 0.5em 0em; min-height: 3em; background-color: #FFFFFF; -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1); box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1); -moz-border-radius: 0.33em; -webkit-border-radius: 0.33em; border-radius: 0.33em; padding: 0.5em; } .ui.items > .item > .image { background-color: rgba(0, 0, 0, 0.05); display: table-cell; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; } .ui.items > .item > .image > a, .ui.items > .item > .image > img { position: relative; display: block; width: 100%; overflow: hidden; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; } .ui.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.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.items > .item > .image > .overlay i { font-size: 1.3em; font-weight: bold; } /* Content */ .ui.items > .item > .content { padding: 4% 1% 6%; color: #888888; } .ui.items > .item > .content > .name, .ui.items > .item > .content > .title { display: block; margin-bottom: 0.3em; font-size: 1.25em; font-weight: bold; } .ui.items > .item > .content p { line-height: 1.33; margin: 0% 0% 5%; } .ui.items > .item > .content :last-child { margin-bottom: 0%; } /* Optional Content */ .ui.items > .item > .extra { color: #C6C7C9; padding: 0% 1% 1%; } .ui.items > .item > .extra img { display: inline-block; vertical-align: middle; } .ui.items > .item .avatar { display: inline-block; width: 5.5%; min-width: 15px; margin-right: 0.2em; vertical-align: middle; } /******************************* Table Items *******************************/ .ui.horizontal.items > .item, .ui.items > .horizontal.item { display: table; } /* prevents reflow bug in chrome by targeting webkit browser */ @media screen and (-webkit-min-device-pixel-ratio: 0) { .ui.items > .item { display: block; } } .ui.horizontal.items > .item > .image .ui.items > .horizontal.item > .image { display: table-cell; width: 50%; } .ui.horizontal.items > .item > .image + .content, .ui.items > .horizontal.item > .image + .content { width: 50%; display: table-cell; } .ui.horizontal.items > .item > .content, .ui.items > .horizontal.item > .content { padding: 1% 1.7% 11% 3%; vertical-align: top; } .ui.horizontal.items > .item > .extra, .ui.items > .horizontal.item > .extra { position: absolute; padding: 0%; bottom: 7%; left: 3%; width: 94%; } .ui.horizontal.items > .item > .image + .content + .extra, .ui.items > .horizontal.item > .image + .content + .extra { bottom: 7%; left: 53%; width: 44%; } .ui.horizontal.items > .item .avatar, .ui.items > .horizontal.item .avatar { width: 11.5%; } .ui.items > .item .avatar { max-width: 25px; }