Dropdown and font updates

This commit is contained in:
Josef Citrine 2016-07-11 01:49:34 +01:00
parent 4b552a8358
commit 2ab4d8f7b8
6 changed files with 31 additions and 14 deletions

View file

@ -16,6 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
@import 'https://fonts.googleapis.com/css?family=Roboto:400,400i,700';
@import 'base/bootstrap/bootstrap'; @import 'base/bootstrap/bootstrap';
@import 'base/font-awesome/font-awesome'; @import 'base/font-awesome/font-awesome';
@import 'variables'; @import 'variables';

View file

@ -42,7 +42,7 @@
// //
//## Font, line-height, and color for body text, headings, and more. //## Font, line-height, and color for body text, headings, and more.
@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif; @font-family-sans-serif: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
@font-family-serif: Georgia, "Times New Roman", Times, serif; @font-family-serif: Georgia, "Times New Roman", Times, serif;
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`. //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
@font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace; @font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;

View file

@ -41,6 +41,7 @@
> .btn { > .btn {
float: left; float: left;
display: block; display: block;
border-radius: 15px;
} }
> .btn + .btn { > .btn + .btn {
@ -54,6 +55,11 @@
> .btn { > .btn {
background: @pfm-purple; background: @pfm-purple;
color: #fff; color: #fff;
border-radius: 0 15px 15px 0;
}
> .dropdown-toggle {
border-radius: 15px 0 0 15px;
} }
> .btn + .btn { > .btn + .btn {
@ -70,13 +76,18 @@
> .btn { > .btn {
background: @pfm-purple; background: @pfm-purple;
color: #fff; color: #fff;
border-radius: 0 15px 15px 0;
}
> .dropdown-toggle {
border-radius: 15px 0 0 15px;
} }
.dropdown-menu { .dropdown-menu {
.box-shadow(none); .material-shadow(2);
margin: 0px; margin: 0px;
border: 2px solid @pfm-purple; border: 0;
border-radius: 2px;
li.selected { li.selected {
a { a {
@ -96,7 +107,7 @@
> .btn { > .btn {
border: none; border: none;
background: #eee; background: #e0e0e0;
font-size: 8pt; font-size: 8pt;
padding: 5px 7px; padding: 5px 7px;
text-shadow: none; text-shadow: none;
@ -247,21 +258,21 @@ html .dropdown-menu {
margin: 0px; margin: 0px;
> a { > a {
padding: 6px 10px; padding: 8px 10px;
font-size: 8pt; font-size: 10pt;
} }
> .dont-close { > .dont-close {
float: right; float: right;
display: block; display: block;
width: 24px; width: 30px;
text-align: center; text-align: center;
padding: 3px 3px; padding: 8px 6px;
font-size: 10pt; font-size: 10pt;
} }
> .dont-close + a { > .dont-close + a {
margin-right: 24px; margin-right: 30px;
clear: none; clear: none;
} }

View file

@ -68,7 +68,7 @@
.box-sizing(border-box); .box-sizing(border-box);
float: left; float: left;
width: 25%; width: 25%;
padding: 5px; padding: 0px;
line-height: normal; line-height: normal;
.material-shadow(1); .material-shadow(1);
border-radius: 2px; border-radius: 2px;

View file

@ -23,7 +23,7 @@
html body { html body {
height: 100%; height: 100%;
background: #fff; background: #fff;
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
padding: 0px !important; padding: 0px !important;
overflow-x: hidden; overflow-x: hidden;
} }
@ -200,8 +200,7 @@ header {
> a { > a {
display: block; display: block;
padding: 10px 25px; padding: 12px 0 12px 22px;
padding-right: 0px;
overflow: hidden; overflow: hidden;
color: fadeout(#fff, 20%); color: fadeout(#fff, 20%);

View file

@ -142,3 +142,9 @@
.light-material-shadow(@size) when (@size = 2) { .light-material-shadow(@size) when (@size = 2) {
box-shadow: 0 3px 6px rgba(0, 0, 0, .08), 0 3px 6px rgba(0, 0, 0, .12); box-shadow: 0 3px 6px rgba(0, 0, 0, .08), 0 3px 6px rgba(0, 0, 0, .12);
} }
.img-thumbnail() {
border: 0 !important;
padding: 0 !important;
.material-shadow(2);
}