Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new flat/modern 'sandal' theme (#961)
- Loading branch information
1 parent
60d7364
commit d48f1f4
Showing
26 changed files
with
1,772 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
@import "vendor/tachyons-colors.less"; // Import colors from the tachyons library | ||
|
||
/* Material Colors can be found here: https://material.io/guidelines/style/color.html */ | ||
@brand-primary: #1976d2; /* Material Blue 700 */ | ||
@brand-secondary: #ff6d00; /* Material Orange A700 */ | ||
|
||
@header-bg: #607d8b; /* Material Blue Grey 500 */ | ||
@header-light: #cfd8dc; /* Material Blue Grey 100 */ | ||
|
||
@action-color: @brand-primary; | ||
@action-hover-bg: @white; | ||
@action-hover-color: @black; | ||
@passive-icon-color: @gray; | ||
@highlighter-color: lighten(#FF0, 20%); | ||
|
||
@search-row-bg: @white; | ||
@search-row-bg-alt: @light-gray; | ||
@search-row-bg-hover: @lightest-blue; | ||
@search-row-selected-bg: @brand-primary; | ||
@search-row-selected-color: @white; | ||
|
||
@sidebar-title-bg: @white; | ||
@sidebar-title-color: @near-black; | ||
@sidebar-title-icon-color: @gray-light; | ||
@sidebar-item-bg: @white; | ||
@sidebar-item-color: @black; | ||
@sidebar-item-hover-bg: @lightest-blue; | ||
@sidebar-item-badge: @gray; | ||
@sidebar-active-bg: @brand-secondary; | ||
@sidebar-active-color: @white; | ||
|
||
/* Bootstrap variable changes */ | ||
|
||
@link-color: #1565c0; /* Material Blue 800 */ | ||
@link-color-hover: #0d47a1; /* Material Blue 900 */ | ||
|
||
@input-border: @light-silver; | ||
@input-color: @dark-gray; | ||
@btn-default-bg: @light-gray; | ||
@btn-default-color: @near-black; | ||
@btn-primary-bg: @action-color; | ||
|
||
@input-border-radius: .25rem; | ||
|
||
@autocomplete-hover-bg: @header-light; | ||
@dropdown-link-hover-bg: @header-light; | ||
@dropdown-link-hover-color: @black; | ||
@table-bg-hover: @header-light; | ||
@pagination-color: @header-bg; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
/* ------ Border radius changes ------ */ | ||
@list-group-border-radius: 0; | ||
@border-radius-large: 0; // modal | ||
|
||
/* ------ Common element changes ------ */ | ||
h1, h2, h3, h4 { | ||
margin: 0; | ||
margin-bottom: 1rem; | ||
|
||
.help-block & { margin: 0; } | ||
} | ||
.highlight, | ||
mark { background-color: @highlighter-color; } | ||
table { font-size: @reduced-font-size; } | ||
|
||
/* ------ Bootstrap class overrides ------ */ | ||
.badge { | ||
margin-bottom: 1px; | ||
font-size: 10px; | ||
} | ||
.btn { | ||
height: 34px; | ||
border-radius: .25rem; | ||
border-color: @silver; | ||
} | ||
.btn-default:hover, | ||
.btn-default:focus { | ||
color: @white; | ||
border-color: transparent; | ||
} | ||
.btn-link, | ||
.btn-primary { border-color: transparent; } | ||
.btn-primary:hover { | ||
background-color: @action-hover-bg; | ||
color: @action-color; | ||
border-color: @brand-primary; | ||
} | ||
.btn-link { color: @brand-primary; } | ||
|
||
.form-control { box-shadow: none; } | ||
.form-control:hover, | ||
.form-control:focus { border-color: @brand-primary; } | ||
.form-control:focus { | ||
padding-bottom: 4px; // Prevent jumping | ||
border-bottom: 3px solid @brand-secondary; | ||
box-shadow: none; | ||
} | ||
select.form-control { | ||
padding-bottom: @padding-base-vertical; | ||
border: 1px solid @light-silver; | ||
} | ||
|
||
.breadcrumb a { color: @dark-gray; } | ||
.breadcrumb .active { color: @near-black; } | ||
|
||
.nav > li > a { color: @brand-primary; } | ||
.navbar-collapse, | ||
.navbar-form { box-shadow: none; } | ||
|
||
.alert { | ||
margin-top: 1rem; | ||
margin-bottom: 1rem; | ||
border: 0; | ||
color: @black; | ||
|
||
.btn { | ||
color: @mid-gray; | ||
background-color: @white; | ||
border-color: @gray; | ||
} | ||
.btn-primary { | ||
color: @action-color; | ||
background-color: @white; | ||
border-color: @action-color; | ||
} | ||
} | ||
.alert-info, | ||
.alert-info:hover { | ||
color: @navy; | ||
background-color: @lightest-blue; | ||
a { color: @blue; } | ||
} | ||
.alert-success, | ||
.alert-success:hover { | ||
color: @dark-green; | ||
background-color: @light-green; | ||
a { color: @white; } | ||
} | ||
.alert-danger, | ||
.alert-danger:hover { | ||
color: @white; | ||
background-color: @red; | ||
a { color: @washed-red; } | ||
} | ||
|
||
.label { font-weight: 400; } | ||
|
||
@pagination-border: transparent; | ||
@pagination-hover-border: transparent; | ||
.pagination { | ||
.clearfix(); | ||
display: table; | ||
margin-left: auto; | ||
margin-right: auto; | ||
border-radius: 0; | ||
} | ||
.pagination > li > a, | ||
.pagination > li > span { | ||
padding-left: 1rem; | ||
padding-right: 1rem; | ||
font-size: 13px; | ||
font-weight: 500; | ||
line-height: 1rem; | ||
|
||
&.page-prev, | ||
&.page-next { | ||
font-size: 1rem; | ||
font-weight: bold; | ||
color: @brand-primary; | ||
} | ||
} | ||
.pagination > .active > a, | ||
.pagination > .active > span { border-radius: @border-radius-base; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@import "sandal"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
body.rtl { | ||
.result { | ||
.media-body { | ||
padding-left: 0; | ||
padding-right: .5rem; | ||
} | ||
|
||
.result-body, | ||
.result-links { | ||
float: right; | ||
text-align: right; | ||
} | ||
} | ||
} |
Oops, something went wrong.