Pony.fm/resources/assets/styles/components/search.less

118 lines
2.2 KiB
Text
Raw Normal View History

2016-01-16 10:10:07 +01:00
/**
* Pony.fm - A community for pony fan music.
* Copyright (C) 2016 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/>.
*/
@import '../base/bootstrap/bootstrap';
@import '../mixins';
@import '../variables';
2016-01-16 10:10:07 +01:00
.search {
2016-07-11 01:41:32 +02:00
width: 1200px;
margin-left: auto;
margin-right: auto;
margin-top: 10px;
}
2016-01-16 10:10:07 +01:00
input.search-input {
2016-07-11 01:41:32 +02:00
background: lighten(@pfm-logo-purple, 10%);
color: #fff;
border: 0;
font-size: 13px;
2016-07-11 01:41:32 +02:00
padding: 15px;
margin-bottom: 0;
2016-07-11 01:41:32 +02:00
height: @pfm-top-bar-size - 20px;
border-radius: 2px;
.light-material-shadow(1);
&::-webkit-input-placeholder {
color: #fff;
opacity: 1;
}
&::-moz-input-placeholder {
color: #fff;
opacity: 1;
}
&:ms-input-placeholder {
color: #fff;
opacity: 1;
}
2016-01-16 10:10:07 +01:00
}
.search-results {
2016-07-11 01:41:32 +02:00
width: 1200px;
padding: 5px 15px;
2016-01-16 10:10:07 +01:00
background: #fff;
2016-07-11 01:41:32 +02:00
.material-shadow(3);
2016-01-16 10:10:07 +01:00
.-column1, .-column2 {
width: 48%;
float: left;
2016-07-11 01:41:32 +02:00
margin-bottom: 10px;
}
.-column1 {
padding-right: 2%;
}
.-column2 {
padding-left: 2%;
}
2016-01-16 10:10:07 +01:00
ol li {
list-style: disc;
}
li a {
padding: 0;
overflow: hidden;
color: @pfm-light-grey;
}
.-section-header {
background: transparent;
color: @pfm-purple;
2016-07-11 01:41:32 +02:00
margin-top: 10px;
2016-01-16 10:10:07 +01:00
padding-left: 0;
}
.albums-listing, .playlists-listing, .users-listing {
2016-01-16 10:10:07 +01:00
li {
width: 100%;
}
}
}
2016-07-11 01:41:32 +02:00
@media only screen and (max-width: 1580px) {
.search {
width: 800px;
}
.search-results {
width: 800px;
}
}
@media only screen and (max-width: 1170px) {
.search {
width: 430px;
}
.search-results {
width: 430px;
}
}