Pony.fm/public/styles/components.less

381 lines
4.7 KiB
Text
Raw Normal View History

2013-07-31 13:47:16 +02:00
@import-once 'base/bootstrap/bootstrap';
@import-once 'mixins';
2013-08-13 07:11:14 +02:00
@import-once 'variables';
2013-07-25 23:33:04 +02:00
2013-08-13 07:11:14 +02:00
.stretch-to-bottom {
overflow-y: auto;
2013-07-25 23:33:04 +02:00
}
2013-08-13 07:11:14 +02:00
.dropdowns {
.clearfix();
list-style: none;
padding: 0px;
margin: 0px;
margin-bottom: 10px;
> li {
float: left;
margin: 0px;
padding: 0px;
margin-right: 10px;
line-height: normal;
2013-08-16 01:49:20 +02:00
> .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%);
}
}
}
2013-08-13 07:11:14 +02:00
&.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%);
}
}
}
}
> .btn {
border: none;
background: #eee;
font-size: 8pt;
padding: 3px 7px;
text-shadow: none;
&.btn-info {
background: @pfm-purple;
}
}
}
2013-07-25 23:33:04 +02:00
}
2013-08-13 07:11:14 +02:00
.tabs {
.clearfix();
list-style: none;
padding: 0px;
margin: 0px;
margin-bottom: 10px;
border-bottom: 4px solid #ddd;
font-size: 15px;
li {
margin: 0px;
float: left;
line-height: normal;
a {
padding: 5px 13px;
display: block;
color: #555;
&:hover {
text-decoration: none;
2013-08-18 06:18:41 +02:00
background: #eee;
2013-08-13 07:11:14 +02:00
}
}
&.active {
a {
2013-08-18 06:18:41 +02:00
cursor: default;
2013-08-13 07:11:14 +02:00
background: #eee;
color: #000;
2013-08-21 04:40:11 +02:00
border-bottom: 4px solid #C1889E;
2013-08-13 07:11:14 +02:00
margin-bottom: -4px;
}
}
}
2013-07-25 23:33:04 +02:00
}
2013-08-13 07:11:14 +02:00
ui-view {
display: block;
&:before {
.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;
}
&.loading {
position: relative;
&:before {
opacity: .8;
width: 100%;
height: 100%;
}
}
2013-07-25 23:33:04 +02:00
}
2013-08-13 07:11:14 +02:00
.toolbar {
#gradient>.vertical(#555, #222);
list-style: none;
margin: 0px;
margin-bottom: 10px;
padding: 0px;
overflow: hidden;
li {
float: left;
a, button {
.border-radius(0px);
font-size: 9pt;
}
&.delete {
float: right;
}
}
2013-07-25 23:33:04 +02:00
}
2013-07-26 11:20:34 +02:00
html body {
2013-08-13 07:11:14 +02:00
.btn {
.border-radius(0px);
}
2013-08-27 09:18:17 +02:00
.btn.btn-primary, .add-btn, .btn-success {
2013-08-19 05:39:29 +02:00
background: @pfm-purple;
2013-08-27 09:18:17 +02:00
color: #fff;
}
.btn-success.disabled {
background: @pfm-purple;
color: #eee;
2013-08-19 05:39:29 +02:00
}
2013-07-26 11:20:34 +02:00
.ui-datepicker {
.border-radius(0px);
font-size: 9pt;
padding: 3px;
.ui-datepicker-header {
.border-radius(0px);
border: none;
border-bottom: 1px solid #777;
margin: -3px;
}
2013-08-13 07:11:14 +02:00
}
2013-07-26 11:20:34 +02:00
2013-08-13 07:11:14 +02:00
.alert {
.border-radius(0px);
margin-bottom: 10px;
2013-07-26 11:20:34 +02:00
}
}
2013-07-28 19:45:21 +02:00
html .dropdown-menu {
.border-radius(0px);
padding: 0px;
> li {
margin: 0px;
> a {
padding: 3px 10px;
font-size: 8pt;
}
2013-07-31 13:47:16 +02:00
> .dont-close {
float: right;
display: block;
width: 24px;
text-align: center;
padding: 3px 3px;
}
> .dont-close + a {
margin-right: 30px;
clear: none;
}
&.selected {
> .dont-close i:before {
content: "\f068";
}
}
2013-07-28 19:45:21 +02:00
}
}
2013-07-27 05:00:45 +02:00
.pfm-popup {
.box-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
2013-07-28 08:07:25 +02:00
z-index: 1000;
2013-07-27 05:00:45 +02:00
position: absolute;
display: none;
border: 1px solid rgba(0, 0, 0, 0.2);
background: #fff;
2013-07-28 08:07:25 +02:00
overflow-y: auto;
2013-07-27 05:00:45 +02:00
&.open {
display: block;
}
2013-07-28 10:35:31 +02:00
}
.image-upload {
overflow: hidden;
.error {
clear: left;
margin-top: 14px;
}
input[type=file] {
display: none;
}
.btn {
2013-07-28 19:45:21 +02:00
.border-radius(0px) !important;
2013-07-28 10:35:31 +02:00
}
.preview {
.img-polaroid();
overflow: hidden;
width: 46px;
height: 46px;
float: left;
img {
position: relative;
display: block;
width: 100%;
}
&.canOpen {
cursor: pointer;
&:hover {
border-color: @blue;
border-style: solid;
}
}
}
p, .btn-group {
color: #555;
margin-left: 60px;
display: block;
margin-bottom: 1px;
}
p {
font-size: 9pt;
}
2013-07-28 19:45:21 +02:00
}
.modal {
form {
margin: 0px;
}
2013-07-31 13:47:16 +02:00
}
html {
2013-08-19 05:39:29 +02:00
.modal-backdrop {
background: #fff;
}
.modal {
.border-radius(0px);
border: 2px solid @pfm-purple;
}
.breadcrumb {
.border-radius(0px);
background: #eee;
margin-bottom: 10px;
font-size: 10pt;
}
2013-07-31 13:47:16 +02:00
.pagination {
border: none;
2013-08-13 07:11:14 +02:00
background: #eee;
margin: 0px;
margin-bottom: 10px;
padding: 0px;
overflow: hidden;
2013-07-31 13:47:16 +02:00
ul {
2013-07-31 13:47:16 +02:00
.border-radius(0px);
margin: 5px;
display: block;
overflow: hidden;
> li:first-child > a, > li:last-child > a {
.border-radius(0px);
}
li {
display: block;
float: left;
a {
.border-radius(0px);
border: none;
padding: 1px 10px;
display: block;
float: left;
2013-08-13 07:11:14 +02:00
color: @pfm-purple;
}
}
li.active a {
2013-08-21 04:40:11 +02:00
background: #C1889E;
2013-08-16 01:49:20 +02:00
color: #fff;
}
2013-07-31 13:47:16 +02:00
}
&.pagination-right {
float: right;
2013-07-31 13:47:16 +02:00
}
}
2013-07-25 23:33:04 +02:00
}