2015-10-25 06:17:45 +01:00
|
|
|
/**
|
|
|
|
* Pony.fm - A community for pony fan music.
|
2018-04-21 06:25:36 +02:00
|
|
|
* Copyright (C) 2015 Feld0
|
2015-10-25 06:17:45 +01:00
|
|
|
*
|
|
|
|
* 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/>.
|
|
|
|
*/
|
|
|
|
|
2016-02-27 04:40:45 +01:00
|
|
|
@import '../base/bootstrap/bootstrap';
|
|
|
|
@import '../mixins';
|
|
|
|
@import '../variables';
|
2015-09-12 13:19:18 +02:00
|
|
|
|
|
|
|
.stretch-to-bottom {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdowns {
|
|
|
|
.clearfix();
|
|
|
|
list-style: none;
|
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
> li {
|
2015-10-25 03:35:37 +01:00
|
|
|
float: left;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
margin-right: 10px;
|
|
|
|
line-height: normal;
|
|
|
|
|
|
|
|
> .btn {
|
|
|
|
float: left;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .btn + .btn {
|
|
|
|
.transition(background 300ms ease-out);
|
|
|
|
|
|
|
|
display: none;
|
|
|
|
margin: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.has-filter {
|
|
|
|
> .btn {
|
|
|
|
background: @pfm-purple;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .btn + .btn {
|
|
|
|
display: block;
|
|
|
|
background: darken(@pfm-purple, 20%);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: darken(@pfm-purple, 40%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
> .btn {
|
|
|
|
background: @pfm-purple;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
.box-shadow(none);
|
|
|
|
|
|
|
|
margin: 0px;
|
|
|
|
border: 2px solid @pfm-purple;
|
|
|
|
|
|
|
|
li.selected {
|
|
|
|
a {
|
|
|
|
background: @pfm-purple;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
a:hover {
|
|
|
|
background: lighten(@pfm-purple, 5%);
|
2016-05-20 01:08:57 +02:00
|
|
|
color: #fff;
|
2015-10-25 03:35:37 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .btn {
|
|
|
|
border: none;
|
|
|
|
background: #eee;
|
|
|
|
font-size: 8pt;
|
2016-05-20 01:08:57 +02:00
|
|
|
padding: 5px 7px;
|
2015-10-25 03:35:37 +01:00
|
|
|
text-shadow: none;
|
|
|
|
|
|
|
|
&.btn-info {
|
|
|
|
background: @pfm-purple;
|
|
|
|
}
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs {
|
|
|
|
.clearfix();
|
|
|
|
|
|
|
|
list-style: none;
|
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
border-bottom: 4px solid #ddd;
|
|
|
|
font-size: 15px;
|
|
|
|
|
|
|
|
li {
|
2015-10-25 03:35:37 +01:00
|
|
|
margin: 0px;
|
|
|
|
float: left;
|
|
|
|
line-height: normal;
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding: 5px 13px;
|
|
|
|
display: block;
|
|
|
|
color: #555;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
background: #eee;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
a {
|
|
|
|
cursor: default;
|
|
|
|
background: #eee;
|
|
|
|
color: #000;
|
|
|
|
border-bottom: 4px solid #C1889E;
|
|
|
|
margin-bottom: -4px;
|
|
|
|
}
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ui-view {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
&:before {
|
2015-10-25 03:35:37 +01:00
|
|
|
.transition(opacity 250ms);
|
|
|
|
|
|
|
|
opacity: 0;
|
|
|
|
background: #fff;
|
|
|
|
content: ' ';
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
z-index: 999;
|
|
|
|
width: 0px;
|
|
|
|
height: 0px;
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.loading {
|
2015-10-25 03:35:37 +01:00
|
|
|
position: relative;
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
&:before {
|
|
|
|
opacity: .8;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar {
|
|
|
|
#gradient>.vertical(#555, #222);
|
|
|
|
list-style: none;
|
|
|
|
margin: 0px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
padding: 0px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
li {
|
2015-10-25 03:35:37 +01:00
|
|
|
float: left;
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
a, button {
|
|
|
|
.border-radius(0px);
|
|
|
|
font-size: 9pt;
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
&.delete {
|
|
|
|
float: right;
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
html body {
|
|
|
|
.btn {
|
2015-10-25 03:35:37 +01:00
|
|
|
.border-radius(0px);
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn.btn-primary, .add-btn, .btn-success {
|
2015-10-25 03:35:37 +01:00
|
|
|
background: @pfm-purple;
|
2016-05-20 01:08:57 +02:00
|
|
|
border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
|
2015-10-25 03:35:37 +01:00
|
|
|
color: #fff;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-success.disabled {
|
2015-10-25 03:35:37 +01:00
|
|
|
background: @pfm-purple;
|
|
|
|
color: #eee;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
2016-05-03 21:30:57 +02:00
|
|
|
.btn.selected {
|
|
|
|
background: #7A4F7D;
|
|
|
|
}
|
|
|
|
|
2015-09-12 13:19:18 +02:00
|
|
|
.ui-datepicker {
|
2015-10-25 03:35:37 +01:00
|
|
|
.border-radius(0px);
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
font-size: 9pt;
|
|
|
|
padding: 3px;
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
.ui-datepicker-header {
|
|
|
|
.border-radius(0px);
|
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid #777;
|
|
|
|
margin: -3px;
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert {
|
2015-10-25 03:35:37 +01:00
|
|
|
.border-radius(0px);
|
|
|
|
margin-bottom: 10px;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
html .dropdown-menu {
|
|
|
|
.border-radius(0px);
|
|
|
|
padding: 0px;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
> li {
|
2015-10-25 03:35:37 +01:00
|
|
|
margin: 0px;
|
|
|
|
|
|
|
|
> a {
|
2016-05-20 21:12:48 +02:00
|
|
|
padding: 6px 10px;
|
2015-10-25 03:35:37 +01:00
|
|
|
font-size: 8pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .dont-close {
|
|
|
|
float: right;
|
|
|
|
display: block;
|
|
|
|
width: 24px;
|
|
|
|
text-align: center;
|
|
|
|
padding: 3px 3px;
|
2016-05-20 01:18:27 +02:00
|
|
|
font-size: 10pt;
|
2015-10-25 03:35:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
> .dont-close + a {
|
2016-05-20 01:08:57 +02:00
|
|
|
margin-right: 24px;
|
2015-10-25 03:35:37 +01:00
|
|
|
clear: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
> .dont-close i:before {
|
|
|
|
content: "\f068";
|
|
|
|
}
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pfm-popup {
|
|
|
|
.box-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
|
|
|
|
z-index: 1000;
|
|
|
|
position: absolute;
|
|
|
|
display: none;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
|
|
background: #fff;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
&.open {
|
2015-10-25 03:35:37 +01:00
|
|
|
display: block;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-upload {
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.error {
|
2015-10-25 03:35:37 +01:00
|
|
|
clear: left;
|
|
|
|
margin-top: 14px;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type=file] {
|
2015-10-25 03:35:37 +01:00
|
|
|
display: none;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
2015-10-25 03:35:37 +01:00
|
|
|
.border-radius(0px) !important;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.preview {
|
2016-05-20 01:08:57 +02:00
|
|
|
.img-thumbnail();
|
2015-10-25 03:35:37 +01:00
|
|
|
overflow: hidden;
|
2016-05-20 21:12:48 +02:00
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
2015-10-25 03:35:37 +01:00
|
|
|
float: left;
|
|
|
|
|
|
|
|
img {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.canOpen {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
2016-05-20 01:08:57 +02:00
|
|
|
border-color: @brand-primary;
|
2015-10-25 03:35:37 +01:00
|
|
|
border-style: solid;
|
|
|
|
}
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
p, .btn-group {
|
2015-10-25 03:35:37 +01:00
|
|
|
color: #555;
|
|
|
|
margin-left: 60px;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 1px;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2015-10-25 03:35:37 +01:00
|
|
|
font-size: 9pt;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
form {
|
2015-10-25 03:35:37 +01:00
|
|
|
margin: 0px;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
.modal-backdrop {
|
2015-10-25 03:35:37 +01:00
|
|
|
background: #fff;
|
2016-05-21 20:29:07 +02:00
|
|
|
opacity: 0.5;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
2015-10-25 03:35:37 +01:00
|
|
|
.border-radius(0px);
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
border: 2px solid @pfm-purple;
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
h2 {
|
|
|
|
font-size: 12pt;
|
|
|
|
color: #C2889C;
|
|
|
|
line-height: normal;
|
|
|
|
margin-bottom: 5px;
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
small {
|
|
|
|
font-size: 10pt;
|
|
|
|
}
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb {
|
2015-10-25 03:35:37 +01:00
|
|
|
.border-radius(0px);
|
|
|
|
background: #eee;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
font-size: 10pt;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.pagination {
|
2016-05-22 00:22:43 +02:00
|
|
|
.border-radius(0px);
|
2015-10-25 03:35:37 +01:00
|
|
|
border: none;
|
|
|
|
background: #eee;
|
|
|
|
margin: 0px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
padding: 0px;
|
|
|
|
overflow: hidden;
|
2016-05-22 00:22:43 +02:00
|
|
|
width: 100%;
|
2015-10-25 03:35:37 +01:00
|
|
|
|
|
|
|
ul {
|
|
|
|
.border-radius(0px);
|
|
|
|
margin: 5px;
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
2016-05-22 00:22:43 +02:00
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
2015-10-25 03:35:37 +01:00
|
|
|
|
|
|
|
> li:first-child > a, > li:last-child > a {
|
|
|
|
.border-radius(0px);
|
|
|
|
}
|
|
|
|
|
2016-05-22 00:22:43 +02:00
|
|
|
.disabled {
|
|
|
|
a {
|
|
|
|
color: #999;
|
|
|
|
background-color: transparent;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
a {
|
|
|
|
.border-radius(0px);
|
|
|
|
border: none;
|
|
|
|
padding: 1px 10px;
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
color: @pfm-purple;
|
2016-05-22 00:22:43 +02:00
|
|
|
background-color: #fff;
|
2015-10-25 03:35:37 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li.active a {
|
|
|
|
background: #C1889E;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.pagination-right {
|
|
|
|
float: right;
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
2015-10-29 11:24:12 +01:00
|
|
|
|
|
|
|
.pagination-jump {
|
|
|
|
form {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="number"] {
|
|
|
|
margin: 0;
|
|
|
|
height: 22px;
|
|
|
|
width: 60px;
|
|
|
|
padding: 0 5px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2016-02-16 14:04:00 +01:00
|
|
|
|
|
|
|
// This submit button is hidden because the
|
|
|
|
// ng-submit directive it's part of doesn't work
|
|
|
|
// without a submit button present in the form.
|
|
|
|
input[type="submit"] {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-10-29 11:24:12 +01:00
|
|
|
}
|
2015-10-25 03:35:37 +01:00
|
|
|
}
|