Pony.fm/public/styles/components.less

212 lines
2.5 KiB
Text
Raw Normal View History

2013-07-31 13:47:16 +02:00
@import-once 'base/bootstrap/bootstrap';
@import-once 'mixins';
2013-07-25 23:33:04 +02:00
.fade-hide, .fade-show {
.transition(all cubic-bezier(0.250, 0.460, 0.450, 0.940) 350ms);
}
.fade-hide {
opacity:1;
}
.fade-hide.fade-hide-active {
opacity:0;
}
.fade-show {
opacity:0;
}
.fade-show.fade-show-active {
opacity:1;
}
2013-07-26 11:20:34 +02:00
html body {
.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;
}
.ui-datepicker-calendar {
}
}
}
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-25 23:33:04 +02:00
.dropdowns {
.clearfix();
list-style: none;
padding: 0px;
margin: 10px 0px;
> li {
2013-07-28 23:51:35 +02:00
margin: 0px;
margin-right: 5px;
2013-07-25 23:33:04 +02:00
padding: 0px;
float: left;
> a {
.border-radius(0px);
padding: 3px 10px;
font-size: 8pt;
}
ul {
.border-radius(0px);
padding: 0px;
li.selected {
a {
2013-07-31 13:47:16 +02:00
background: @green;
2013-07-25 23:33:04 +02:00
color: #fff;
&:hover {
2013-07-31 13:47:16 +02:00
background: fadeout(@green, 20%);
2013-07-25 23:33:04 +02:00
}
}
}
a {
padding: 3px 10px;
font-size: 8pt;
}
}
}
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;
}
.btn {
.border-radius(0px);
}
2013-07-31 13:47:16 +02:00
}
html {
.pagination {
border: none;
&.pagination-right {
float: right;
}
li a {
.border-radius(0px);
border: none;
padding: 1px 10px;
}
li.active a {
background: #444;
color: #ddd;
}
}
2013-07-25 23:33:04 +02:00
}