/root/css/style.scss
http://github.com/motemen/Teto · Sass · 226 lines · 204 code · 19 blank · 3 comment · 0 complexity · 3d00ebe01306beacf6a6fb83b80d4ead MD5 · raw file
- body {
- // padding: 0 10px;
- }
- h1, h2 {
- font: {
- family: "Lucida Grande", sans-serif;
- }
- }
- section {
- // clear: both;
- border: 1px solid #BBB;
- padding: 0 1em;
- margin-bottom: 1em;
- h1, h2 {
- font-weight: normal;
- }
- h1 {
- img {
- vertical-align: middle;
- max-height: 36px;
- }
- a.url {
- font-size: small;
- text-decoration: none;
- color: #999;
- }
- }
- }
- #container {
- width: 1080px;
- margin-left: auto;
- margin-right: auto;
- }
- section#playlist {
- width: 690px;
- float: left;
- }
- section#queue {
- width: 340px;
- float: left;
- font-size: 90%;
- // margin-left: 10px;
- margin-right: 10px;
- padding: 0;
- h1 {
- font-size: medium;
- padding: 0.5em;
- margin: 0;
- text-align: center;
- }
- li {
- padding-top: 0.5em;
- padding-bottom: 0.5em;
- }
- }
- a {
- $color: #12F;
- color: $color;
- &:hover {
- color: lighten($color, 15%);
- }
- }
- body {
- font: {
- family: Verdana, sans-serif;
- }
- }
- #playlist {
- li.track {
- min-height: 50px;
- }
- }
- li.track {
- font-size: 90%;
- padding: 0.3em;
- padding-left: 24px;
- clear: both;
- &.even {
- background-color: #FAFAFA;
- }
- &.odd {
- background-color: #FFF;
- }
- &.system {
- color: #999;
- background-color: #EAEAFA;
- min-height: 0;
- list-style: none;
- line-height: 1.5em;
- vertical-align: middle;
- span.title {
- font-size: 90%;
- }
- }
- &:hover, &:focus {
- background-color: #EFEFF5;
- }
- &.playing {
- background: {
- image: url(/image/speaker-orange.gif);
- repeat: no-repeat;
- position: 8px center;
- }
- }
- &.load-more {
- font-size: larger;
- text-align: center;
- list-style: none;
- &:hover {
- background-color: #D8D9F4;
- cursor: pointer;
- }
- }
- .title.not-loaded {
- color: #666;
- }
- a.url {
- text-decoration: none;
- color: #999;
- }
- img {
- float: right;
- max-width: 60px;
- max-height: 45px;
- margin: 0.2em;
- }
- span.meta {
- color: #999;
- font-size: 90%;
- }
- span.status {
- color: #AAA;
- font-size: smaller;
- &:before {
- content: "status: ";
- }
- }
- span.error {
- color: #F88;
- font-size: smaller;
- border: 1px solid #FCC;
- padding: 2px 4px;
- &:before {
- content: "error: ";
- }
- }
- }
- ul {
- list-style: none;
- padding: 0;
- li {
- margin: 0;
- }
- }
- #select-playlist {
- list-style: none;
- margin: 0;
- padding: 0;
- li {
- max-width: 20em;
- height: 2em;
- overflow: hidden;
- float: left;
- font-size: small;
- margin-bottom: 2px;
- margin-right: 2px;
- border: 1px solid #DDD;
- cursor: pointer;
- opacity: 0.5;
- &.selected {
- border-color: #BBB;
- opacity: 1;
- }
- &:hover, &:focus {
- background-color: #EFEFF5;
- }
- .icon-container {
- display: inline-block;
- width: 24px;
- height: 24px;
- text-align: center;
- line-height: 24px;
- img {
- vertical-align: middle;
- max-width: 16px;
- max-height: 16px;
- }
- }
- }
- }
- a.button {
- border: 1px solid #DDD;
- font-size: small;
- padding: 0.2em 0.5em;
- &:hover {
- border-color: #999;
- }
- }
- span.button {
- cursor: pointer;
- }
- #queue span.button {
- color: #DDD;
- &:hover {
- color: #999;
- }
- }