@import "variables"; @import "mixins"; $secondary-color: rgb(20, 144, 179); .viewDashboard { h2 { font-size: 2rem; margin-left: 10px; border-bottom: solid 1px #efefef; padding-bottom: 5px; margin-bottom: 10px; i { font-size: 2.3rem; } } >div { clear: both; } ul { list-style: none; margin: 0; padding: 0; clear: both; li { list-style: none; position: relative; } } .app-launcher { clear: both; margin-bottom: 2em; ul { li { margin: 10px; width: 140px; height: 140px; float: left; border: 5px solid #ccc; font-family: 'Lato', sans-serif; font-weight: 400; font-size: 1.15rem; text-align: center; background-color: #efefef; border-radius: 50%; transition: box-shadow 0.5s ease; display: table; &:hover, &:focus, &:active { box-shadow: 0px 0px 20px rgba($secondary-color, 0.8); border-color: white; } a { text-decoration: none; display: table-cell; vertical-align: middle; line-height: normal; transition: font-weight .2s ease-out; border-radius: 50%; color: #045183; &:hover, &:focus { color: white; background-color: #1490b3; } } } } } .server-config { } .server-functions { ul li { display: inline-block; margin: 10px; } } // TODO: Move this out to a higher level .btn { display: inline-block; margin-bottom: 0; // For input.btn font-weight: $btn-font-weight; text-align: center; vertical-align: middle; touch-action: manipulation; cursor: pointer; background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214 border: 1px solid transparent; white-space: nowrap; &, &:active, &.active { &:focus, &.focus { @include tab-focus; } } &:hover, &:focus, &.focus { text-decoration: none; } &:active, &.active { outline: 0; background-image: none; @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125)); } &.disabled, &[disabled], fieldset[disabled] & { cursor: not-allowed; @include opacity(.65); @include box-shadow(none); } // [converter] extracted a& to a.btn } a.btn { &.disabled, fieldset[disabled] & { pointer-events: none; // Future-proof disabling of clicks on `<a>` elements } } }