Pony.fm/resources/assets/styles/body.less

228 lines
3.6 KiB
Text
Raw Normal View History

/**
* Pony.fm - A community for pony fan music.
* Copyright (C) 2015 Peter Deltchev
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
2015-09-12 13:19:18 +02:00
@import 'variables';
@import 'base/bootstrap/bootstrap';
a {
color: #C2889C;
&:hover {
2015-10-25 03:35:37 +01:00
text-decoration: none;
2015-09-12 13:19:18 +02:00
}
}
2016-08-04 04:42:46 +02:00
.loading {
md-menu-content {
display: none;
}
}
2015-09-12 13:19:18 +02:00
.site-content{
.box-sizing(border-box);
padding: 10px;
2016-08-07 15:35:34 +02:00
overflow-y: auto;
overflow-x: hidden;
> ui-view {
margin-bottom: 20px;
}
2015-09-12 13:19:18 +02:00
2016-01-06 13:50:44 +01:00
h1, h2 {
2015-10-25 03:35:37 +01:00
margin: 1px 1px 5px;
font-size: 15pt;
color: #C2889C;
line-height: normal;
overflow: hidden;
font-weight: normal;
2015-09-12 13:19:18 +02:00
}
2016-01-06 13:50:44 +01:00
h2 {
font-size: 14pt;
}
2015-09-12 13:19:18 +02:00
}
.static-page {
max-width: 800px;
margin: 0 auto;
p {
margin-bottom: 1.25em;
}
ul, ol {
li {
margin: 0.75em;
}
}
h1, h2 {
font-weight: bold;
}
2015-09-12 13:19:18 +02:00
h2 {
2016-08-08 18:11:20 +02:00
margin: 1.5em 0 0.5em;
2015-10-25 03:35:37 +01:00
font-size: 13pt;
color: #C2889C;
line-height: normal;
overflow: hidden;
2015-09-12 13:19:18 +02:00
}
}
.welcome {
padding: 5px;
margin-bottom: 10px;
background: lighten(@pfm-purple, 30%);
}
.revealable {
font-size: 10pt;
color: #222;
position: relative;
overflow: hidden;
2016-08-08 18:11:20 +02:00
padding: 0;
margin: 0;
2015-09-12 13:19:18 +02:00
h2 {
}
.reveal {
2015-10-25 03:35:37 +01:00
#gradient>.vertical(rgba(255,255,255,0), rgba(255,255,255,1));
.box-sizing(border-box);
position: absolute;
2016-08-08 18:11:20 +02:00
top: 0;
left: -1px;
2015-10-25 03:35:37 +01:00
width: 100%;
height: 100%;
2016-08-07 15:35:34 +02:00
z-index: 10;
2015-10-25 03:35:37 +01:00
border: 2px solid #fff;
cursor: pointer;
&:hover {
border: 2px solid @brand-primary;
2015-10-25 03:35:37 +01:00
}
a {
.box-sizing(border-box);
display: block;
position: absolute;
2016-08-08 18:11:20 +02:00
bottom: 0;
left: 0;
2015-10-25 03:35:37 +01:00
width: 100%;
background: #eee;
padding: 3px;
z-index: 500;
text-decoration: none;
font-size: 10pt;
}
2015-09-12 13:19:18 +02:00
}
}
.details-columns {
2016-08-07 16:22:49 +02:00
.flex-50 {
margin: 0 10px;
}
2015-09-12 13:19:18 +02:00
.left {
2015-10-25 03:35:37 +01:00
margin-right: 310px;
margin-left: 5px;
2015-09-12 13:19:18 +02:00
}
.right {
2015-10-25 03:35:37 +01:00
float: right;
width: 290px;
height: 100%;
padding-right: 10px;
img.cover {
.img-thumbnail();
2015-10-25 03:35:37 +01:00
padding: 2px;
}
.stats {
list-style: none;
2016-08-08 18:11:20 +02:00
padding: 0;
margin: 0;
2015-10-25 03:35:37 +01:00
font-size: 9pt;
color: #555;
li {
2016-08-08 18:11:20 +02:00
padding: 5px 0;
margin: 0;
2015-10-25 03:35:37 +01:00
border-bottom: 1px solid #ddd;
strong {
color: #111;
}
}
}
2015-09-12 13:19:18 +02:00
}
}
.comments {
2016-08-08 18:11:20 +02:00
h4 {
text-overflow: initial !important;
white-space: normal !important;
line-height: 1.4 !important;
}
2015-09-12 13:19:18 +02:00
form {
2016-08-08 18:11:20 +02:00
margin: 0 0 10px;
2015-09-12 13:19:18 +02:00
2015-10-25 03:35:37 +01:00
.form-row {
2016-08-08 18:11:20 +02:00
margin: 0;
2015-10-25 03:35:37 +01:00
}
2015-09-12 13:19:18 +02:00
2015-10-25 03:35:37 +01:00
input[type=text] {
2016-08-08 18:11:20 +02:00
margin: 0;
2015-10-25 03:35:37 +01:00
padding: 5px;
2016-08-07 15:35:34 +02:00
width: 100%;
2015-10-25 03:35:37 +01:00
}
2015-09-12 13:19:18 +02:00
}
ul {
2015-10-25 03:35:37 +01:00
list-style: none;
2016-08-08 18:11:20 +02:00
margin: 0;
padding: 0;
2015-10-25 03:35:37 +01:00
li {
line-height: normal;
2016-08-08 18:11:20 +02:00
padding: 5px 0;
margin: 0;
2015-10-25 03:35:37 +01:00
overflow: hidden;
img {
.img-thumbnail();
2015-10-25 03:35:37 +01:00
float: left;
padding: 1px;
height: 32px;
width: 32px;
}
.meta {
font-size: 8pt;
2016-08-08 18:11:20 +02:00
padding: 5px 0;
2015-10-25 03:35:37 +01:00
}
.content {
margin-left: 42px;
}
}
2015-09-12 13:19:18 +02:00
}
2015-10-25 03:35:37 +01:00
}