| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352 |
- /**
- * Stylesheet
- *
- * @namespace LUNGO.Theme
- * @class Default
- *
- * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
- */
- @import "constants.less";
- @import "mixins.less";
- @import "lungo.theme.default.font.css";
- @theme: #05b8e2;
- @theme-light: #05bde9;
- @theme-dark: #07acd0;
- @theme-highlight: #93d6e7;
- @theme-highlight-color: #1b6777;
- @theme-highlight-text-shadow: 0 1px 0 rgba(255,255,255,0.2);
- @theme-secondary: #2c2c2d;
- @theme-secondary-dark: #1c1c1c;
- @background-main: #2c8bca -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2c8bca), color-stop(100%,#154f93));
- @background-secondary: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2c8bca), color-stop(100%,#154f93));
- .app {
- background: @black;
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
- }
- /* @group <header> & <footer> & <article> */
- header {
- border-top-left-radius: 5px;
- border-top-right-radius: 5px;
- border-bottom: 1px solid #1a2838;
-
- background: @background-main;
-
- -webkit-box-shadow: inset 0 1px 0 #64b9e2, inset 0 -1px 0 #2566a4;
- box-shadow: inset 0 1px 0 #64b9e2, inset 0 -1px 0 #2566a4;
-
- position: absolute;
- z-index: 2;
-
- }
- footer {
- background: #353b42 -webkit-gradient(linear, left top, left bottom, color-stop(0, #353b42), color-stop(0.75, #272a2d));
-
- border-top: 1px inset #2A2A2A;
- color: #353b42;
-
- border-bottom-left-radius: 5px;
- border-bottom-right-radius: 5px;
- }
- .title {
- color: @white;
- text-shadow: 0px 1px 0px rgba(0,0,0,0.2);
- }
- article {
- background-color: #EBEBEB;
- & .title {
- color: #797979;
- text-shadow: 0px 1px 0px #fff;
- }
- }
- /* @end */
- /* @group <nav> */
- nav a {
- color: rgba(255,255,255,0.5);
- &.current, &.active { color: @white; }
- }
- .toolbar a {
- color: #cdd9e3;
- .border-radius(4px);
- font-weight: bold;
-
- &.current, &.active {
- background: #111;
- box-shadow: inset 0 1px 1px rgba(0,0,0,1), -1px 0 0 rgba(255,255,255,0.05), 1px 1px 0 rgba(255,255,255,0.05);
- }
-
- }
- .groupbar {
- //background: #ededed;
- background: #272a2d;
- border-bottom: solid 1px rgba(0,0,0,0.1);
- box-shadow: inset 0 1px 8px rgba(0,0,0,0.3);
- & a {
- color: #6e6e6e;
- &.current {
- color: #6e6e6e;
- color: #fff;
- border-bottom: solid 3px #2566a4;
- }
- }
- }
- /* @end */
- /* @group <aside> */
- aside {
- background: #252525;
- & .title {
- background: #101010;
- border: none;
- }
- & a {
- color: #fff;
- text-shadow: 0px 1px 0px #000;
- border-bottom: 1px inset #101010;
- border-top: 1px inset #868686;
- &.current {
- background: #1c1c1c;
- box-shadow: inset 0px 0px 8px #101010;
- border-top: 1px inset #1c1c1c;
- }
- & .icon {
- text-shadow: none;
- color: #7a7a7a;
- }
- }
- & .anchor {
- background: #101010;
- color: #7a7a7a;
- }
- }
- section.aside {
- box-shadow: -4px 0 8px rgba(0,0,0,0.5);
- &.onright { box-shadow: 4px 0 8px rgba(0,0,0,0.5); }
- }
- @media handheld, only screen and (min-width: 768px) {
- section.current, section.show {
- box-shadow: -4px 0 8px rgba(0,0,0,0.5);
- &.onright { box-shadow: 4px 0 8px rgba(0,0,0,0.5); }
- }
- }
- /* @end */
- /* @group .list */
- .list, .list li:not(.toolbar) a { color: #2a2a2a; }
- .list {
- & li {
- background: #fff;
- border-bottom: 1px inset #e1e1e1;
- &:last-child { border-bottom: none; }
- &.selectable:active {
- background: @theme-highlight;
- color: @theme-highlight-color;
- text-shadow: @theme-highlight-text-shadow;
- & small, & .onright:not(.bubble) {
- color: @white;
- text-shadow: none;
- }
- }
- & small, & .onright:not(.bubble) { color: #888; }
- }
- &.indented li {
- border-left: solid 1px #e1e1e1;
- border-right: solid 1px #e1e1e1;
- &:first-child { border-top: solid 1px #e1e1e1; }
- &:last-child { border-bottom: solid 1px #e1e1e1; }
- }
- & .anchor {
- background: @theme-highlight;
- color: @theme-highlight-color;
- text-shadow: @theme-highlight-text-shadow;
- border: none;
- }
- & .tip { color: #7a7a7a;
- &.darker {
- background-color: #2c2c2d;
- color: #fff;
- text-shadow: 0px 1px 0px #000;
- & a { color: #fff !important; }
- }
- &.dark {
- background-color: #f4f4f4;
- box-shadow: inset 0px 1px 0px #fff;
- text-shadow: 0px 1px 0px #fff;
- }
- }
- & .toolbar {
- border-bottom-color: rgba(0,0,0,0.2);
- & .toolbar a {
- box-shadow: 1px 0px 0px #d9d9d9;
- &:last-child { box-shadow: none; }
- &.current {
- background: transparent;
- color: #333;
- text-shadow: none !important;
- }
- }
- }
- }
- /* @end */
- /* @group widgets */
- .splash {
- background: @theme-dark;
- color: #fff;
- text-shadow: 0px 1px 0px rgba(0,0,0,0.2);
- }
- /* @group .button */
- .button {
- .border-radius(2px);
- //border-bottom: 1px inset rgba(0,0,0,0.2);
- //-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 3px rgba(0,0,0,0.2);
- -webkit-box-shadow: inset 0 -2px 0 rgba(0,0,0,0.25), inset 0 -3px 0 rgba(255,255,255, 0.05);
-
- &.big {
- -webkit-box-shadow: inset 0 -2px 0 rgba(0,0,0,0.25), inset 0 -3px 0 rgba(255,255,255, 0.05), 0 1px 2px rgba(0,0,0,0.3);
- }
-
- &:active, &.active {
- //-webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1), inset 0 0 2px rgba(0,0,0,0.2);
- -webkit-box-shadow: inset 0 29px 8px rgba(0,0,0,0.1);
- }
- &.default {
- background: #5a5a5a;
- &:active, &.active { background: #4b4b4b; }
- }
- }
- /* @end */
- /* @group <inputs> */
- input, textarea, select {
- border: 1px solid #e1e1e1;
- color: #858585;
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
- }
- input:focus, textarea:focus, select:focus {
- border-color: @theme;
- color: @theme;
- }
- label {
- color: @theme;
- text-transform: uppercase;
- font-weight: bold;
- }
- .select:after {
- background: #858585;
- color: white;
- }
- input[type="checkbox"] + span, input[type="radio"] + span {
- color: #fff;
- background: #a0a0a0;
- }
- input[type="checkbox"] + span::before,
- input[type="radio"] + span::before {
- background: #c1c1c1;
- }
- input[type="checkbox"]:checked + span,
- input[type="radio"]:checked + span {
- background: @theme-dark;
- }
- /* @group range */
- input[type="range"] {
- background-color: #c7c7c7;
- &:active { background-color: #34b7dc; }
- &::-webkit-slider-thumb {
- border: solid 7px rgba(255,255,255, 0.5);
- background: #34b7dc;
- }
- &:active::-webkit-slider-thumb {
- box-shadow: 0px 0px 4px #34b7dc;
- }
- }
- /* @end */
- /* @group .progress */
- .progress {
- .labels {
- font-size: 12px;
- font-weight: bold;
- line-height: 18px;
- color: #858585;
- }
- & .bar {
- background: #c7c7c7;
- & .value {
- background: #34b7dc;
- & .glow {
- background-color: rgba(255,255,255,0.25);
- box-shadow: 0px 0px 3px #34b7dc;
- }
- }
- }
- }
- /* @end */
- /* @end */
- .bubble {
- color: #fff;
- .border-radius(7px);
- text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
- font-weight: bold !important;
-
- border: solid 1px @white;
- box-shadow: 0 0 6px #000;
-
- &.count { background: @background-main; }
- }
- header .bubble.count {
- background: @theme-secondary;
- }
- /* @end */
|