From a933345755247807bc5140e816391ac85a453d6f Mon Sep 17 00:00:00 2001 From: Raghavendra Kamath Date: Fri, 27 Apr 2018 12:01:08 +0530 Subject: [PATCH] migrated the templates to frappe_theme - now org requires frappe_theme (see hooks.py) - footer is kept in templates since io and org have different footer --- foundation/hooks.py | 2 +- .../public/css/bootstrap-for-webform.css | 1725 ----------------- foundation/public/css/reset.css | 367 ---- foundation/public/css/style.css | 159 -- foundation/public/less/base.less | 219 --- foundation/public/less/erpnext-org-theme.less | 1067 ---------- foundation/public/less/indicator.less | 88 - foundation/public/less/variables.less | 13 - foundation/templates/base.html | 67 - foundation/templates/includes/blog/blog.html | 19 - .../templates/includes/blog/blogger.html | 13 - foundation/templates/includes/blog/hero.html | 12 - .../templates/includes/breadcrumbs.html | 12 - .../includes/email-subscription-block.html | 5 - foundation/templates/includes/list/list.html | 26 - foundation/templates/includes/macros.html | 15 - .../includes/navbar/dropdown_items.html | 17 - .../includes/navbar/dropdown_login.html | 17 - .../templates/includes/navbar/navbar.html | 11 - .../includes/navbar/navbar_items.html | 21 - .../includes/navbar/navbar_link.html | 13 - .../includes/navbar/navbar_login.html | 25 - .../includes/navbar/navbar_search.html | 9 - foundation/templates/includes/sponsors.html | 42 - foundation/templates/web.html | 53 - foundation/website/css/web_form.css | 52 - .../blog_post/templates/blog_post.html | 34 - .../blog_post/templates/blog_post_row.html | 16 - foundation/www/about.html | 2 +- foundation/www/get-started.html | 2 +- foundation/www/index.html | 2 +- foundation/www/service-providers.html | 4 +- 32 files changed, 6 insertions(+), 4123 deletions(-) delete mode 100644 foundation/public/css/bootstrap-for-webform.css delete mode 100644 foundation/public/css/reset.css delete mode 100644 foundation/public/css/style.css delete mode 100644 foundation/public/less/base.less delete mode 100644 foundation/public/less/erpnext-org-theme.less delete mode 100644 foundation/public/less/indicator.less delete mode 100644 foundation/public/less/variables.less delete mode 100644 foundation/templates/base.html delete mode 100644 foundation/templates/includes/blog/blog.html delete mode 100644 foundation/templates/includes/blog/blogger.html delete mode 100644 foundation/templates/includes/blog/hero.html delete mode 100644 foundation/templates/includes/breadcrumbs.html delete mode 100644 foundation/templates/includes/email-subscription-block.html delete mode 100644 foundation/templates/includes/list/list.html delete mode 100644 foundation/templates/includes/macros.html delete mode 100644 foundation/templates/includes/navbar/dropdown_items.html delete mode 100644 foundation/templates/includes/navbar/dropdown_login.html delete mode 100644 foundation/templates/includes/navbar/navbar.html delete mode 100644 foundation/templates/includes/navbar/navbar_items.html delete mode 100644 foundation/templates/includes/navbar/navbar_link.html delete mode 100644 foundation/templates/includes/navbar/navbar_login.html delete mode 100644 foundation/templates/includes/navbar/navbar_search.html delete mode 100644 foundation/templates/includes/sponsors.html delete mode 100644 foundation/templates/web.html delete mode 100644 foundation/website/css/web_form.css delete mode 100644 foundation/website/doctype/blog_post/templates/blog_post.html delete mode 100644 foundation/website/doctype/blog_post/templates/blog_post_row.html diff --git a/foundation/hooks.py b/foundation/hooks.py index 07d6433a..fc3841a5 100644 --- a/foundation/hooks.py +++ b/foundation/hooks.py @@ -36,7 +36,7 @@ web_include_css = "/assets/foundation/css/style.css" # application home page (will override Website Settings) home_page = "index" -template_apps = ['foundation', 'erpnext', 'frappe'] +template_apps = ['foundation', 'frappe_theme', 'erpnext', 'frappe'] website_context = { # "navbar_search": 1, "brand_html": "Oensource ERP SoftwareERPNext.org", diff --git a/foundation/public/css/bootstrap-for-webform.css b/foundation/public/css/bootstrap-for-webform.css deleted file mode 100644 index aa81aaa6..00000000 --- a/foundation/public/css/bootstrap-for-webform.css +++ /dev/null @@ -1,1725 +0,0 @@ -.table { - width: 100%; - max-width: 100%; - margin-bottom: 20px; -} -.table > thead > tr > th, -.table > tbody > tr > th, -.table > tfoot > tr > th, -.table > thead > tr > td, -.table > tbody > tr > td, -.table > tfoot > tr > td { - padding: 8px; - line-height: 1.42857143; - vertical-align: top; - border-top: 1px solid #d1d8dd; -} -.table > thead > tr > th { - vertical-align: bottom; - border-bottom: 2px solid #d1d8dd; -} -.table > caption + thead > tr:first-child > th, -.table > colgroup + thead > tr:first-child > th, -.table > thead:first-child > tr:first-child > th, -.table > caption + thead > tr:first-child > td, -.table > colgroup + thead > tr:first-child > td, -.table > thead:first-child > tr:first-child > td { - border-top: 0; -} -.table > tbody + tbody { - border-top: 2px solid #d1d8dd; -} -.table .table { - background-color: #fff; -} -.table-condensed > thead > tr > th, -.table-condensed > tbody > tr > th, -.table-condensed > tfoot > tr > th, -.table-condensed > thead > tr > td, -.table-condensed > tbody > tr > td, -.table-condensed > tfoot > tr > td { - padding: 5px; -} -.table-bordered { - border: 1px solid #d1d8dd; -} -.table-bordered > thead > tr > th, -.table-bordered > tbody > tr > th, -.table-bordered > tfoot > tr > th, -.table-bordered > thead > tr > td, -.table-bordered > tbody > tr > td, -.table-bordered > tfoot > tr > td { - border: 1px solid #d1d8dd; -} -.table-bordered > thead > tr > th, -.table-bordered > thead > tr > td { - border-bottom-width: 2px; -} -.table-striped > tbody > tr:nth-child(odd) { - background-color: #f9f9f9; -} -.table-hover > tbody > tr:hover { - background-color: #f5f5f5; -} -table col[class*="col-"] { - position: static; - display: table-column; - float: none; -} -table td[class*="col-"], -table th[class*="col-"] { - position: static; - display: table-cell; - float: none; -} -.table > thead > tr > td.active, -.table > tbody > tr > td.active, -.table > tfoot > tr > td.active, -.table > thead > tr > th.active, -.table > tbody > tr > th.active, -.table > tfoot > tr > th.active, -.table > thead > tr.active > td, -.table > tbody > tr.active > td, -.table > tfoot > tr.active > td, -.table > thead > tr.active > th, -.table > tbody > tr.active > th, -.table > tfoot > tr.active > th { - background-color: #f5f5f5; -} -.table-hover > tbody > tr > td.active:hover, -.table-hover > tbody > tr > th.active:hover, -.table-hover > tbody > tr.active:hover > td, -.table-hover > tbody > tr:hover > .active, -.table-hover > tbody > tr.active:hover > th { - background-color: #e8e8e8; -} -.table > thead > tr > td.success, -.table > tbody > tr > td.success, -.table > tfoot > tr > td.success, -.table > thead > tr > th.success, -.table > tbody > tr > th.success, -.table > tfoot > tr > th.success, -.table > thead > tr.success > td, -.table > tbody > tr.success > td, -.table > tfoot > tr.success > td, -.table > thead > tr.success > th, -.table > tbody > tr.success > th, -.table > tfoot > tr.success > th { - background-color: transparent; -} -.table-hover > tbody > tr > td.success:hover, -.table-hover > tbody > tr > th.success:hover, -.table-hover > tbody > tr.success:hover > td, -.table-hover > tbody > tr:hover > .success, -.table-hover > tbody > tr.success:hover > th { - background-color: rgba(0, 0, 0, 0); -} -.table > thead > tr > td.info, -.table > tbody > tr > td.info, -.table > tfoot > tr > td.info, -.table > thead > tr > th.info, -.table > tbody > tr > th.info, -.table > tfoot > tr > th.info, -.table > thead > tr.info > td, -.table > tbody > tr.info > td, -.table > tfoot > tr.info > td, -.table > thead > tr.info > th, -.table > tbody > tr.info > th, -.table > tfoot > tr.info > th { - background-color: transparent; -} -.table-hover > tbody > tr > td.info:hover, -.table-hover > tbody > tr > th.info:hover, -.table-hover > tbody > tr.info:hover > td, -.table-hover > tbody > tr:hover > .info, -.table-hover > tbody > tr.info:hover > th { - background-color: rgba(0, 0, 0, 0); -} -.table > thead > tr > td.warning, -.table > tbody > tr > td.warning, -.table > tfoot > tr > td.warning, -.table > thead > tr > th.warning, -.table > tbody > tr > th.warning, -.table > tfoot > tr > th.warning, -.table > thead > tr.warning > td, -.table > tbody > tr.warning > td, -.table > tfoot > tr.warning > td, -.table > thead > tr.warning > th, -.table > tbody > tr.warning > th, -.table > tfoot > tr.warning > th { - background-color: transparent; -} -.table-hover > tbody > tr > td.warning:hover, -.table-hover > tbody > tr > th.warning:hover, -.table-hover > tbody > tr.warning:hover > td, -.table-hover > tbody > tr:hover > .warning, -.table-hover > tbody > tr.warning:hover > th { - background-color: rgba(0, 0, 0, 0); -} -.table > thead > tr > td.danger, -.table > tbody > tr > td.danger, -.table > tfoot > tr > td.danger, -.table > thead > tr > th.danger, -.table > tbody > tr > th.danger, -.table > tfoot > tr > th.danger, -.table > thead > tr.danger > td, -.table > tbody > tr.danger > td, -.table > tfoot > tr.danger > td, -.table > thead > tr.danger > th, -.table > tbody > tr.danger > th, -.table > tfoot > tr.danger > th { - background-color: transparent; -} -.table-hover > tbody > tr > td.danger:hover, -.table-hover > tbody > tr > th.danger:hover, -.table-hover > tbody > tr.danger:hover > td, -.table-hover > tbody > tr:hover > .danger, -.table-hover > tbody > tr.danger:hover > th { - background-color: rgba(0, 0, 0, 0); -} -.table-responsive { - min-height: .01%; - overflow-x: auto; -} -@media screen and (max-width: 767px) { - .table-responsive { - width: 100%; - margin-bottom: 15px; - overflow-y: hidden; - -ms-overflow-style: -ms-autohiding-scrollbar; - border: 1px solid #d1d8dd; - } - .table-responsive > .table { - margin-bottom: 0; - } - .table-responsive > .table > thead > tr > th, - .table-responsive > .table > tbody > tr > th, - .table-responsive > .table > tfoot > tr > th, - .table-responsive > .table > thead > tr > td, - .table-responsive > .table > tbody > tr > td, - .table-responsive > .table > tfoot > tr > td { - white-space: nowrap; - } - .table-responsive > .table-bordered { - border: 0; - } - .table-responsive > .table-bordered > thead > tr > th:first-child, - .table-responsive > .table-bordered > tbody > tr > th:first-child, - .table-responsive > .table-bordered > tfoot > tr > th:first-child, - .table-responsive > .table-bordered > thead > tr > td:first-child, - .table-responsive > .table-bordered > tbody > tr > td:first-child, - .table-responsive > .table-bordered > tfoot > tr > td:first-child { - border-left: 0; - } - .table-responsive > .table-bordered > thead > tr > th:last-child, - .table-responsive > .table-bordered > tbody > tr > th:last-child, - .table-responsive > .table-bordered > tfoot > tr > th:last-child, - .table-responsive > .table-bordered > thead > tr > td:last-child, - .table-responsive > .table-bordered > tbody > tr > td:last-child, - .table-responsive > .table-bordered > tfoot > tr > td:last-child { - border-right: 0; - } - .table-responsive > .table-bordered > tbody > tr:last-child > th, - .table-responsive > .table-bordered > tfoot > tr:last-child > th, - .table-responsive > .table-bordered > tbody > tr:last-child > td, - .table-responsive > .table-bordered > tfoot > tr:last-child > td { - border-bottom: 0; - } -} -fieldset { - min-width: 0; - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 20px; - font-size: 21px; - line-height: inherit; - color: #333; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -label { - display: inline-block; - max-width: 100%; - margin-bottom: 5px; - font-weight: bold; -} -input[type="search"] { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - margin-top: 1px \9; - line-height: normal; -} -input[type="file"] { - display: block; -} -input[type="range"] { - display: block; - width: 100%; -} -select[multiple], -select[size] { - height: auto; -} -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -output { - display: block; - padding-top: 5px; - font-size: 14px; - line-height: 1.42857143; - color: #555; -} -.form-control { - display: block; - width: 100%; - height: 30px; - padding: 4px 10px; - font-size: 14px; - line-height: 1.42857143; - color: #555; - background-color: #fff; - background-image: none; - border: 1px solid #d1d8dd; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; - -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; -} -.form-control:focus { - border-color: #ced5db; - outline: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(206, 213, 219, .6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(206, 213, 219, .6); -} -.form-control:focus { - border-color: #ced5db; - outline: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 3px rgba(206, 213, 219, .6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 3px rgba(206, 213, 219, .6); -} -.form-control::-moz-placeholder { - color: #d1d8dd; - opacity: 1; -} -.form-control:-ms-input-placeholder { - color: #d1d8dd; -} -.form-control::-webkit-input-placeholder { - color: #d1d8dd; -} -.form-control[disabled], -.form-control[readonly], -fieldset[disabled] .form-control { - cursor: not-allowed; - background-color: #eee; - opacity: 1; -} -textarea.form-control { - height: auto; -} -input[type="search"] { - -webkit-appearance: none; -} -@media screen and (-webkit-min-device-pixel-ratio: 0) { - input[type="date"], - input[type="time"], - input[type="datetime-local"], - input[type="month"] { - line-height: 30px; - } - input[type="date"].input-sm, - input[type="time"].input-sm, - input[type="datetime-local"].input-sm, - input[type="month"].input-sm, - .input-group-sm input[type="date"], - .input-group-sm input[type="time"], - .input-group-sm input[type="datetime-local"], - .input-group-sm input[type="month"] { - line-height: 30px; - } - input[type="date"].input-lg, - input[type="time"].input-lg, - input[type="datetime-local"].input-lg, - input[type="month"].input-lg, - .input-group-lg input[type="date"], - .input-group-lg input[type="time"], - .input-group-lg input[type="datetime-local"], - .input-group-lg input[type="month"] { - line-height: 46px; - } -} -.form-group { - margin-bottom: 15px; -} -.radio, -.checkbox { - position: relative; - display: block; - margin-top: 10px; - margin-bottom: 10px; -} -.radio label, -.checkbox label { - min-height: 20px; - padding-left: 20px; - margin-bottom: 0; - font-weight: normal; - cursor: pointer; -} -.radio input[type="radio"], -.radio-inline input[type="radio"], -.checkbox input[type="checkbox"], -.checkbox-inline input[type="checkbox"] { - position: absolute; - margin-top: 4px \9; - margin-left: -20px; -} -.radio + .radio, -.checkbox + .checkbox { - margin-top: -5px; -} -.radio-inline, -.checkbox-inline { - display: inline-block; - padding-left: 20px; - margin-bottom: 0; - font-weight: normal; - vertical-align: middle; - cursor: pointer; -} -.radio-inline + .radio-inline, -.checkbox-inline + .checkbox-inline { - margin-top: 0; - margin-left: 10px; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"].disabled, -input[type="checkbox"].disabled, -fieldset[disabled] input[type="radio"], -fieldset[disabled] input[type="checkbox"] { - cursor: not-allowed; -} -.radio-inline.disabled, -.checkbox-inline.disabled, -fieldset[disabled] .radio-inline, -fieldset[disabled] .checkbox-inline { - cursor: not-allowed; -} -.radio.disabled label, -.checkbox.disabled label, -fieldset[disabled] .radio label, -fieldset[disabled] .checkbox label { - cursor: not-allowed; -} -.form-control-static { - padding-top: 5px; - padding-bottom: 5px; - margin-bottom: 0; -} -.form-control-static.input-lg, -.form-control-static.input-sm { - padding-right: 0; - padding-left: 0; -} -.input-sm { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -select.input-sm { - height: 30px; - line-height: 30px; -} -textarea.input-sm, -select[multiple].input-sm { - height: auto; -} -.form-group-sm .form-control { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -select.form-group-sm .form-control { - height: 30px; - line-height: 30px; -} -textarea.form-group-sm .form-control, -select[multiple].form-group-sm .form-control { - height: auto; -} -.input-lg { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.33; - border-radius: 6px; -} -select.input-lg { - height: 46px; - line-height: 46px; -} -textarea.input-lg, -select[multiple].input-lg { - height: auto; -} -.form-group-lg .form-control { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.33; - border-radius: 6px; -} -select.form-group-lg .form-control { - height: 46px; - line-height: 46px; -} -textarea.form-group-lg .form-control, -select[multiple].form-group-lg .form-control { - height: auto; -} -.has-feedback { - position: relative; -} -.has-feedback .form-control { - padding-right: 37.5px; -} -.form-control-feedback { - position: absolute; - top: 0; - right: 0; - z-index: 2; - display: block; - width: 30px; - height: 30px; - line-height: 30px; - text-align: center; - pointer-events: none; -} -.input-lg + .form-control-feedback { - width: 46px; - height: 46px; - line-height: 46px; -} -.input-sm + .form-control-feedback { - width: 30px; - height: 30px; - line-height: 30px; -} -.has-success .help-block, -.has-success .control-label, -.has-success .radio, -.has-success .checkbox, -.has-success .radio-inline, -.has-success .checkbox-inline, -.has-success.radio label, -.has-success.checkbox label, -.has-success.radio-inline label, -.has-success.checkbox-inline label { - color: #98d85b; -} -.has-success .form-control { - border-color: #98d85b; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); -} -.has-success .form-control:focus { - border-color: #7ece32; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ccecad; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ccecad; -} -.has-success .input-group-addon { - color: #98d85b; - background-color: transparent; - border-color: #98d85b; -} -.has-success .form-control-feedback { - color: #98d85b; -} -.has-warning .help-block, -.has-warning .control-label, -.has-warning .radio, -.has-warning .checkbox, -.has-warning .radio-inline, -.has-warning .checkbox-inline, -.has-warning.radio label, -.has-warning.checkbox label, -.has-warning.radio-inline label, -.has-warning.checkbox-inline label { - color: #ffa00a; -} -.has-warning .form-control { - border-color: #ffa00a; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); -} -.has-warning .form-control:focus { - border-color: #d68300; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ffc870; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ffc870; -} -.has-warning .input-group-addon { - color: #ffa00a; - background-color: transparent; - border-color: #ffa00a; -} -.has-warning .form-control-feedback { - color: #ffa00a; -} -.has-error .help-block, -.has-error .control-label, -.has-error .radio, -.has-error .checkbox, -.has-error .radio-inline, -.has-error .checkbox-inline, -.has-error.radio label, -.has-error.checkbox label, -.has-error.radio-inline label, -.has-error.checkbox-inline label { - color: #ff5858; -} -.has-error .form-control { - border-color: #ff5858; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); -} -.has-error .form-control:focus { - border-color: #ff2525; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ffbebe; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ffbebe; -} -.has-error .input-group-addon { - color: #ff5858; - background-color: transparent; - border-color: #ff5858; -} -.has-error .form-control-feedback { - color: #ff5858; -} -.has-feedback label ~ .form-control-feedback { - top: 25px; -} -.has-feedback label.sr-only ~ .form-control-feedback { - top: 0; -} -.help-block { - display: block; - margin-top: 5px; - margin-bottom: 10px; - color: #6b8196; -} -@media (min-width: 768px) { - .form-inline .form-group { - display: inline-block; - margin-bottom: 0; - vertical-align: middle; - } - .form-inline .form-control { - display: inline-block; - width: auto; - vertical-align: middle; - } - .form-inline .form-control-static { - display: inline-block; - } - .form-inline .input-group { - display: inline-table; - vertical-align: middle; - } - .form-inline .input-group .input-group-addon, - .form-inline .input-group .input-group-btn, - .form-inline .input-group .form-control { - width: auto; - } - .form-inline .input-group > .form-control { - width: 100%; - } - .form-inline .control-label { - margin-bottom: 0; - vertical-align: middle; - } - .form-inline .radio, - .form-inline .checkbox { - display: inline-block; - margin-top: 0; - margin-bottom: 0; - vertical-align: middle; - } - .form-inline .radio label, - .form-inline .checkbox label { - padding-left: 0; - } - .form-inline .radio input[type="radio"], - .form-inline .checkbox input[type="checkbox"] { - position: relative; - margin-left: 0; - } - .form-inline .has-feedback .form-control-feedback { - top: 0; - } -} -.form-horizontal .radio, -.form-horizontal .checkbox, -.form-horizontal .radio-inline, -.form-horizontal .checkbox-inline { - padding-top: 5px; - margin-top: 0; - margin-bottom: 0; -} -.form-horizontal .radio, -.form-horizontal .checkbox { - min-height: 25px; -} -.form-horizontal .form-group { - margin-right: -15px; - margin-left: -15px; -} -@media (min-width: 768px) { - .form-horizontal .control-label { - padding-top: 5px; - margin-bottom: 0; - text-align: right; - } -} -.form-horizontal .has-feedback .form-control-feedback { - right: 15px; -} -@media (min-width: 768px) { - .form-horizontal .form-group-lg .control-label { - padding-top: 14.3px; - } -} -@media (min-width: 768px) { - .form-horizontal .form-group-sm .control-label { - padding-top: 6px; - } -} -.btn { - display: inline-block; - padding: .25rem .5rem; - margin-bottom: 0; - font-size: 1rem; - font-weight: normal; - line-height: 1.42857143; - text-align: center; - white-space: nowrap; - vertical-align: middle; - -ms-touch-action: manipulation; - touch-action: manipulation; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - background-image: none; - border: 1px solid transparent; - border-radius: .25rem; -} -.btn:focus, -.btn:active:focus, -.btn.active:focus, -.btn.focus, -.btn:active.focus, -.btn.active.focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn:hover, -.btn:focus, -.btn.focus { - color: inherit; - text-decoration: none; -} -.btn:active, -.btn.active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); -} -.btn.disabled, -.btn[disabled], -fieldset[disabled] .btn { - pointer-events: none; - cursor: not-allowed; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - box-shadow: none; - opacity: .65; -} -.btn-default { - color: inherit; - background-color: #f0f4f7; - border-color: transparent; -} -.btn-default:hover, -.btn-default:focus, -.btn-default.focus, -.btn-default:active, -.btn-default.active, -.open > .dropdown-toggle.btn-default { - color: inherit; - background-color: #cfdce5; - border-color: rgba(0, 0, 0, 0); -} -.btn-default:active, -.btn-default.active, -.open > .dropdown-toggle.btn-default { - background-image: none; -} -.btn-default.disabled, -.btn-default[disabled], -fieldset[disabled] .btn-default, -.btn-default.disabled:hover, -.btn-default[disabled]:hover, -fieldset[disabled] .btn-default:hover, -.btn-default.disabled:focus, -.btn-default[disabled]:focus, -fieldset[disabled] .btn-default:focus, -.btn-default.disabled.focus, -.btn-default[disabled].focus, -fieldset[disabled] .btn-default.focus, -.btn-default.disabled:active, -.btn-default[disabled]:active, -fieldset[disabled] .btn-default:active, -.btn-default.disabled.active, -.btn-default[disabled].active, -fieldset[disabled] .btn-default.active { - background-color: #f0f4f7; - border-color: transparent; -} -.btn-default .badge { - color: #f0f4f7; - background-color: inherit; -} -.btn-primary { - color: #fff; - background-color: #5e64ff; - border-color: #444bff; -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary.focus, -.btn-primary:active, -.btn-primary.active, -.open > .dropdown-toggle.btn-primary { - color: #fff; - background-color: #2b33ff; - border-color: #0711ff; -} -.btn-primary:active, -.btn-primary.active, -.open > .dropdown-toggle.btn-primary { - background-image: none; -} -.btn-primary.disabled, -.btn-primary[disabled], -fieldset[disabled] .btn-primary, -.btn-primary.disabled:hover, -.btn-primary[disabled]:hover, -fieldset[disabled] .btn-primary:hover, -.btn-primary.disabled:focus, -.btn-primary[disabled]:focus, -fieldset[disabled] .btn-primary:focus, -.btn-primary.disabled.focus, -.btn-primary[disabled].focus, -fieldset[disabled] .btn-primary.focus, -.btn-primary.disabled:active, -.btn-primary[disabled]:active, -fieldset[disabled] .btn-primary:active, -.btn-primary.disabled.active, -.btn-primary[disabled].active, -fieldset[disabled] .btn-primary.active { - background-color: #5e64ff; - border-color: #444bff; -} -.btn-primary .badge { - color: #5e64ff; - background-color: #fff; -} -.btn-success { - color: #fff; - background-color: #98d85b; - border-color: #8bd346; -} -.btn-success:hover, -.btn-success:focus, -.btn-success.focus, -.btn-success:active, -.btn-success.active, -.open > .dropdown-toggle.btn-success { - color: #fff; - background-color: #7ece32; - border-color: #6db22a; -} -.btn-success:active, -.btn-success.active, -.open > .dropdown-toggle.btn-success { - background-image: none; -} -.btn-success.disabled, -.btn-success[disabled], -fieldset[disabled] .btn-success, -.btn-success.disabled:hover, -.btn-success[disabled]:hover, -fieldset[disabled] .btn-success:hover, -.btn-success.disabled:focus, -.btn-success[disabled]:focus, -fieldset[disabled] .btn-success:focus, -.btn-success.disabled.focus, -.btn-success[disabled].focus, -fieldset[disabled] .btn-success.focus, -.btn-success.disabled:active, -.btn-success[disabled]:active, -fieldset[disabled] .btn-success:active, -.btn-success.disabled.active, -.btn-success[disabled].active, -fieldset[disabled] .btn-success.active { - background-color: #98d85b; - border-color: #8bd346; -} -.btn-success .badge { - color: #98d85b; - background-color: #fff; -} -.btn-info { - color: #fff; - background-color: #8d99a6; - border-color: #7f8c9b; -} -.btn-info:hover, -.btn-info:focus, -.btn-info.focus, -.btn-info:active, -.btn-info.active, -.open > .dropdown-toggle.btn-info { - color: #fff; - background-color: #707f90; - border-color: #616e7c; -} -.btn-info:active, -.btn-info.active, -.open > .dropdown-toggle.btn-info { - background-image: none; -} -.btn-info.disabled, -.btn-info[disabled], -fieldset[disabled] .btn-info, -.btn-info.disabled:hover, -.btn-info[disabled]:hover, -fieldset[disabled] .btn-info:hover, -.btn-info.disabled:focus, -.btn-info[disabled]:focus, -fieldset[disabled] .btn-info:focus, -.btn-info.disabled.focus, -.btn-info[disabled].focus, -fieldset[disabled] .btn-info.focus, -.btn-info.disabled:active, -.btn-info[disabled]:active, -fieldset[disabled] .btn-info:active, -.btn-info.disabled.active, -.btn-info[disabled].active, -fieldset[disabled] .btn-info.active { - background-color: #8d99a6; - border-color: #7f8c9b; -} -.btn-info .badge { - color: #8d99a6; - background-color: #fff; -} -.btn-warning { - color: #fff; - background-color: #ffa00a; - border-color: #f09300; -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning.focus, -.btn-warning:active, -.btn-warning.active, -.open > .dropdown-toggle.btn-warning { - color: #fff; - background-color: #d68300; - border-color: #b26d00; -} -.btn-warning:active, -.btn-warning.active, -.open > .dropdown-toggle.btn-warning { - background-image: none; -} -.btn-warning.disabled, -.btn-warning[disabled], -fieldset[disabled] .btn-warning, -.btn-warning.disabled:hover, -.btn-warning[disabled]:hover, -fieldset[disabled] .btn-warning:hover, -.btn-warning.disabled:focus, -.btn-warning[disabled]:focus, -fieldset[disabled] .btn-warning:focus, -.btn-warning.disabled.focus, -.btn-warning[disabled].focus, -fieldset[disabled] .btn-warning.focus, -.btn-warning.disabled:active, -.btn-warning[disabled]:active, -fieldset[disabled] .btn-warning:active, -.btn-warning.disabled.active, -.btn-warning[disabled].active, -fieldset[disabled] .btn-warning.active { - background-color: #ffa00a; - border-color: #f09300; -} -.btn-warning .badge { - color: #ffa00a; - background-color: #fff; -} -.btn-danger { - color: #fff; - background-color: #ff5858; - border-color: #ff3f3f; -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger.focus, -.btn-danger:active, -.btn-danger.active, -.open > .dropdown-toggle.btn-danger { - color: #fff; - background-color: #ff2525; - border-color: #ff0101; -} -.btn-danger:active, -.btn-danger.active, -.open > .dropdown-toggle.btn-danger { - background-image: none; -} -.btn-danger.disabled, -.btn-danger[disabled], -fieldset[disabled] .btn-danger, -.btn-danger.disabled:hover, -.btn-danger[disabled]:hover, -fieldset[disabled] .btn-danger:hover, -.btn-danger.disabled:focus, -.btn-danger[disabled]:focus, -fieldset[disabled] .btn-danger:focus, -.btn-danger.disabled.focus, -.btn-danger[disabled].focus, -fieldset[disabled] .btn-danger.focus, -.btn-danger.disabled:active, -.btn-danger[disabled]:active, -fieldset[disabled] .btn-danger:active, -.btn-danger.disabled.active, -.btn-danger[disabled].active, -fieldset[disabled] .btn-danger.active { - background-color: #ff5858; - border-color: #ff3f3f; -} -.btn-danger .badge { - color: #ff5858; - background-color: #fff; -} -.btn-link { - font-weight: normal; - color: #36414c; - border-radius: 0; -} -.btn-link, -.btn-link:active, -.btn-link.active, -.btn-link[disabled], -fieldset[disabled] .btn-link { - background-color: transparent; - -webkit-box-shadow: none; - box-shadow: none; -} -.btn-link, -.btn-link:hover, -.btn-link:focus, -.btn-link:active { - border-color: transparent; -} -.btn-link:hover, -.btn-link:focus { - color: #161b1f; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -fieldset[disabled] .btn-link:hover, -.btn-link[disabled]:focus, -fieldset[disabled] .btn-link:focus { - color: #777; - text-decoration: none; -} -.btn-lg, -.btn-group-lg > .btn { - padding: 10px 16px; - font-size: 18px; - line-height: 1.33; - border-radius: 6px; -} -.btn-sm, -.btn-group-sm > .btn { - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -.btn-xs, -.btn-group-xs > .btn { - padding: 1px 5px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} - -.collapse { - display: none; - visibility: hidden; -} -.collapse.in { - display: block; - visibility: visible; -} -tr.collapse.in { - display: table-row; -} -tbody.collapse.in { - display: table-row-group; -} -.collapsing { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition-timing-function: ease; - -o-transition-timing-function: ease; - transition-timing-function: ease; - -webkit-transition-duration: .35s; - -o-transition-duration: .35s; - transition-duration: .35s; - -webkit-transition-property: height, visibility; - -o-transition-property: height, visibility; - transition-property: height, visibility; -} -.caret { - display: inline-block; - width: 0; - height: 0; - margin-left: 2px; - vertical-align: middle; - border-top: 4px solid; - border-right: 4px solid transparent; - border-left: 4px solid transparent; -} -.dropdown { - position: relative; -} -.dropdown-toggle:focus { - outline: 0; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - font-size: 14px; - text-align: left; - list-style: none; - background-color: #fff; - -webkit-background-clip: padding-box; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, .15); - border-radius: 4px; - -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); - box-shadow: 0 6px 12px rgba(0, 0, 0, .175); -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - height: 1px; - margin: 9px 0; - overflow: hidden; - background-color: #d8dfe5; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 1.42857143; - color: #333; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus { - color: #262626; - text-decoration: none; - background-color: #f0f4f7; -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: inherit; - text-decoration: none; - background-color: #f0f4f7; - outline: 0; -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #777; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - cursor: not-allowed; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.open > .dropdown-menu { - display: block; -} -.open > a { - outline: 0; -} -.dropdown-menu-right { - right: 0; - left: auto; -} -.dropdown-menu-left { - right: auto; - left: 0; -} -.dropdown-header { - display: block; - padding: 3px 20px; - font-size: 12px; - line-height: 1.42857143; - color: #777; - white-space: nowrap; -} -.dropdown-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 990; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - content: ""; - border-top: 0; - border-bottom: 4px solid; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 2px; -} -@media (min-width: 768px) { - .navbar-right .dropdown-menu { - right: 0; - left: auto; - } - .navbar-right .dropdown-menu-left { - right: auto; - left: 0; - } -} -.btn-group, -.btn-group-vertical { - position: relative; - display: inline-block; - vertical-align: middle; -} -.btn-group > .btn, -.btn-group-vertical > .btn { - position: relative; - float: left; -} -.btn-group > .btn:hover, -.btn-group-vertical > .btn:hover, -.btn-group > .btn:focus, -.btn-group-vertical > .btn:focus, -.btn-group > .btn:active, -.btn-group-vertical > .btn:active, -.btn-group > .btn.active, -.btn-group-vertical > .btn.active { - z-index: 2; -} -.btn-group .btn + .btn, -.btn-group .btn + .btn-group, -.btn-group .btn-group + .btn, -.btn-group .btn-group + .btn-group { - margin-left: -1px; -} -.btn-toolbar { - margin-left: -5px; -} -.btn-toolbar .btn-group, -.btn-toolbar .input-group { - float: left; -} -.btn-toolbar > .btn, -.btn-toolbar > .btn-group, -.btn-toolbar > .input-group { - margin-left: 5px; -} -.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { - border-radius: 0; -} -.btn-group > .btn:first-child { - margin-left: 0; -} -.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.btn-group > .btn:last-child:not(:first-child), -.btn-group > .dropdown-toggle:not(:first-child) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group > .btn-group { - float: left; -} -.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { - border-radius: 0; -} -.btn-group > .btn-group:first-child > .btn:last-child, -.btn-group > .btn-group:first-child > .dropdown-toggle { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.btn-group > .btn-group:last-child > .btn:first-child { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-right: 8px; - padding-left: 8px; -} -.btn-group > .btn-lg + .dropdown-toggle { - padding-right: 12px; - padding-left: 12px; -} -.btn-group.open .dropdown-toggle { - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); -} -.btn-group.open .dropdown-toggle.btn-link { - -webkit-box-shadow: none; - box-shadow: none; -} -.btn .caret { - margin-left: 0; -} -.btn-lg .caret { - border-width: 5px 5px 0; - border-bottom-width: 0; -} -.dropup .btn-lg .caret { - border-width: 0 5px 5px; -} -.btn-group-vertical > .btn, -.btn-group-vertical > .btn-group, -.btn-group-vertical > .btn-group > .btn { - display: block; - float: none; - width: 100%; - max-width: 100%; -} -.btn-group-vertical > .btn-group > .btn { - float: none; -} -.btn-group-vertical > .btn + .btn, -.btn-group-vertical > .btn + .btn-group, -.btn-group-vertical > .btn-group + .btn, -.btn-group-vertical > .btn-group + .btn-group { - margin-top: -1px; - margin-left: 0; -} -.btn-group-vertical > .btn:not(:first-child):not(:last-child) { - border-radius: 0; -} -.btn-group-vertical > .btn:first-child:not(:last-child) { - border-top-right-radius: 4px; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group-vertical > .btn:last-child:not(:first-child) { - border-top-left-radius: 0; - border-top-right-radius: 0; - border-bottom-left-radius: 4px; -} -.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { - border-radius: 0; -} -.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, -.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { - border-top-left-radius: 0; - border-top-right-radius: 0; -} -.btn-group-justified { - display: table; - width: 100%; - table-layout: fixed; - border-collapse: separate; -} -.btn-group-justified > .btn, -.btn-group-justified > .btn-group { - display: table-cell; - float: none; - width: 1%; -} -.btn-group-justified > .btn-group .btn { - width: 100%; -} -.btn-group-justified > .btn-group .dropdown-menu { - left: auto; -} -[data-toggle="buttons"] > .btn input[type="radio"], -[data-toggle="buttons"] > .btn-group > .btn input[type="radio"], -[data-toggle="buttons"] > .btn input[type="checkbox"], -[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] { - position: absolute; - clip: rect(0, 0, 0, 0); - pointer-events: none; -} -.input-group { - position: relative; - display: table; - border-collapse: separate; -} -.input-group[class*="col-"] { - float: none; - padding-right: 0; - padding-left: 0; -} -.input-group .form-control { - position: relative; - z-index: 2; - float: left; - width: 100%; - margin-bottom: 0; -} -.input-group-lg > .form-control, -.input-group-lg > .input-group-addon, -.input-group-lg > .input-group-btn > .btn { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.33; - border-radius: 6px; -} -select.input-group-lg > .form-control, -select.input-group-lg > .input-group-addon, -select.input-group-lg > .input-group-btn > .btn { - height: 46px; - line-height: 46px; -} -textarea.input-group-lg > .form-control, -textarea.input-group-lg > .input-group-addon, -textarea.input-group-lg > .input-group-btn > .btn, -select[multiple].input-group-lg > .form-control, -select[multiple].input-group-lg > .input-group-addon, -select[multiple].input-group-lg > .input-group-btn > .btn { - height: auto; -} -.input-group-sm > .form-control, -.input-group-sm > .input-group-addon, -.input-group-sm > .input-group-btn > .btn { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -select.input-group-sm > .form-control, -select.input-group-sm > .input-group-addon, -select.input-group-sm > .input-group-btn > .btn { - height: 30px; - line-height: 30px; -} -textarea.input-group-sm > .form-control, -textarea.input-group-sm > .input-group-addon, -textarea.input-group-sm > .input-group-btn > .btn, -select[multiple].input-group-sm > .form-control, -select[multiple].input-group-sm > .input-group-addon, -select[multiple].input-group-sm > .input-group-btn > .btn { - height: auto; -} -.input-group-addon, -.input-group-btn, -.input-group .form-control { - display: table-cell; -} -.input-group-addon:not(:first-child):not(:last-child), -.input-group-btn:not(:first-child):not(:last-child), -.input-group .form-control:not(:first-child):not(:last-child) { - border-radius: 0; -} -.input-group-addon, -.input-group-btn { - width: 1%; - white-space: nowrap; - vertical-align: middle; -} -.input-group-addon { - padding: 4px 10px; - font-size: 14px; - font-weight: normal; - line-height: 1; - color: #555; - text-align: center; - background-color: #f0f4f7; - border: 1px solid #d1d8dd; - border-radius: 4px; -} -.input-group-addon.input-sm { - padding: 5px 10px; - font-size: 12px; - border-radius: 3px; -} -.input-group-addon.input-lg { - padding: 10px 16px; - font-size: 18px; - border-radius: 6px; -} -.input-group-addon input[type="radio"], -.input-group-addon input[type="checkbox"] { - margin-top: 0; -} -.input-group .form-control:first-child, -.input-group-addon:first-child, -.input-group-btn:first-child > .btn, -.input-group-btn:first-child > .btn-group > .btn, -.input-group-btn:first-child > .dropdown-toggle, -.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), -.input-group-btn:last-child > .btn-group:not(:last-child) > .btn { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.input-group-addon:first-child { - border-right: 0; -} -.input-group .form-control:last-child, -.input-group-addon:last-child, -.input-group-btn:last-child > .btn, -.input-group-btn:last-child > .btn-group > .btn, -.input-group-btn:last-child > .dropdown-toggle, -.input-group-btn:first-child > .btn:not(:first-child), -.input-group-btn:first-child > .btn-group:not(:first-child) > .btn { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.input-group-addon:last-child { - border-left: 0; -} -.input-group-btn { - position: relative; - font-size: 0; - white-space: nowrap; -} -.input-group-btn > .btn { - position: relative; -} -.input-group-btn > .btn + .btn { - margin-left: -1px; -} -.input-group-btn > .btn:hover, -.input-group-btn > .btn:focus, -.input-group-btn > .btn:active { - z-index: 2; -} -.input-group-btn:first-child > .btn, -.input-group-btn:first-child > .btn-group { - margin-right: -1px; -} -.input-group-btn:last-child > .btn, -.input-group-btn:last-child > .btn-group { - margin-left: -1px; -} -.tooltip { - position: absolute; - z-index: 1070; - display: block; - font-size: 12px; - font-weight: normal; - line-height: 1.4; - visibility: visible; - filter: alpha(opacity=0); - opacity: 0; -} -.tooltip.in { - filter: alpha(opacity=90); - opacity: .9; -} -.tooltip.top { - padding: 5px 0; - margin-top: -3px; -} -.tooltip.right { - padding: 0 5px; - margin-left: 3px; -} -.tooltip.bottom { - padding: 5px 0; - margin-top: 3px; -} -.tooltip.left { - padding: 0 5px; - margin-left: -3px; -} -.tooltip-inner { - max-width: 200px; - padding: 3px 8px; - color: #fff; - text-align: center; - text-decoration: none; - background-color: #000; - border-radius: 4px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #000; -} -.tooltip.top-left .tooltip-arrow { - right: 5px; - bottom: 0; - margin-bottom: -5px; - border-width: 5px 5px 0; - border-top-color: #000; -} -.tooltip.top-right .tooltip-arrow { - bottom: 0; - left: 5px; - margin-bottom: -5px; - border-width: 5px 5px 0; - border-top-color: #000; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #000; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #000; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000; -} -.tooltip.bottom-left .tooltip-arrow { - top: 0; - right: 5px; - margin-top: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000; -} -.tooltip.bottom-right .tooltip-arrow { - top: 0; - left: 5px; - margin-top: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000; -} - -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1060; - display: none; - max-width: 276px; - padding: 1px; - font-size: 14px; - font-weight: normal; - line-height: 1.42857143; - text-align: left; - white-space: normal; - background-color: #fff; - -webkit-background-clip: padding-box; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, .2); - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2); - box-shadow: 0 5px 10px rgba(0, 0, 0, .2); -} diff --git a/foundation/public/css/reset.css b/foundation/public/css/reset.css deleted file mode 100644 index 75fb7d43..00000000 --- a/foundation/public/css/reset.css +++ /dev/null @@ -1,367 +0,0 @@ -/*! - * this reset is a copy of bootstrap's reboot.css which is inturn a fork of normalise* - * - * - * Bootstrap Reboot v4.0.0-beta.3 (https://getbootstrap.com) - * Copyright 2011-2017 The Bootstrap Authors - * Copyright 2011-2017 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) - */ - -*, -*::before, -*::after { - box-sizing: border-box; -} - -html { - font-family: sans-serif; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; - -ms-overflow-style: scrollbar; - -webkit-tap-highlight-color: transparent; - line-height: 1.62; - font-size: 14px; -} - -@media screen and (min-width: 1199px) { - html { - font-size: 16px; - } -} - -@-ms-viewport { - width: device-width; -} - -article, -aside, -dialog, -figcaption, -figure, -footer, -header, -hgroup, -main, -nav, -section { - display: block; -} - -body { - margin: 0; - font-weight: 400; - text-align: left; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica", "Arial", "Noto", "Oxygen-Sans", "Noto Sans", "Ubuntu", "Cantarell", sans-serif, "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - color: #36414c; - font-feature-settings: "kern" 1; - font-kerning: normal; - text-rendering: optimizeLegibility; -} - -[ tabindex = "-1" ]:focus { - outline: 0; -} - -hr { - box-sizing: content-box; - height: 0; - overflow: visible; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - margin-bottom: 1rem; - margin-top: 0; - font-weight: 500; -} - -p { - margin-top: 0; - margin-bottom: 1rem; -} - -abbr[ title ], -abbr[ data-original-title ] { - text-decoration: underline; - -webkit-text-decoration: underline dotted; - cursor: help; - border-bottom: 0; -} - -address { - margin-bottom: 1rem; - font-style: normal; - line-height: inherit; -} - -ol, -ul, -dl { - margin-top: 0; - margin-bottom: 1rem; -} - -ol ol, -ul ul, -ol ul, -ul ol { - margin-bottom: 0; -} - -dt { - font-weight: 700; -} - -dd { - margin-bottom: 0.5rem; - margin-left: 0; -} - -blockquote { - margin: 0 0 1rem; -} - -dfn { - font-style: italic; -} - -b, -strong { - font-weight: bolder; -} - -small { - font-size: 80%; -} - -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} - -sub { - bottom: -0.25em; -} - -sup { - top: -0.5em; -} - -a { - text-decoration: none; - background-color: transparent; - -webkit-text-decoration-skip: objects; -} - -a:hover { - text-decoration: underline; -} - -a:not([ href ]):not([ tabindex ]) { - text-decoration: none; -} - -a:not([ href ]):not([ tabindex ]):focus, -a:not([ href ]):not([ tabindex ]):hover { - text-decoration: none; -} - -a:not([ href ]):not([ tabindex ]):focus { - outline: 0; -} - -pre, -code, -kbd, -samp { - font-family: monospace, monospace; - font-size: 1em; -} - -pre { - margin-top: 0; - margin-bottom: 1rem; - overflow: auto; - -ms-overflow-style: scrollbar; -} - -figure { - margin: 0 0 1rem; -} - -img { - vertical-align: middle; - border-style: none; - max-width: 100%; - border-radius: 0.25em; -} - -svg:not(:root) { - overflow: hidden; -} - -a, -area, -button, -[ role = "button" ], -input:not([ type = "range" ]), -label, -select, -summary, -textarea { - -ms-touch-action: manipulation; - touch-action: manipulation; -} - -table { - border-collapse: collapse; -} - -caption { - padding-top: 0.75rem; - padding-bottom: 0.75rem; - color: #6c757d; - text-align: left; - caption-side: bottom; -} - -th { - text-align: inherit; -} - -label { - display: inline-block; - margin-bottom: 0.5rem; -} - -button { - border-radius: 0; -} - -button:focus { - outline: none; - outline: 5px auto -webkit-focus-ring-color; -} - -input, -button, -select, -optgroup, -textarea { - margin: 0; - font-family: inherit; - font-size: inherit; - line-height: inherit; -} - -button, -input { - overflow: visible; -} - -button, -select { - text-transform: none; -} - -button, -html [type="button"], -[type="reset"], -[type="submit"] { - -webkit-appearance: button; -} - -button::-moz-focus-inner, -[type="button"]::-moz-focus-inner, -[type="reset"]::-moz-focus-inner, -[type="submit"]::-moz-focus-inner { - padding: 0; - border-style: none; -} - -input[type="radio"], -input[type="checkbox"] { - box-sizing: border-box; - padding: 0; -} - -input[type="date"], -input[type="time"], -input[type="datetime-local"], -input[type="month"] { - -webkit-appearance: listbox; -} - -textarea { - overflow: auto; - resize: vertical; -} - -fieldset { - min-width: 0; - padding: 0; - margin: 0; - border: 0; -} - -legend { - display: block; - width: 100%; - max-width: 100%; - padding: 0; - margin-bottom: 0.5rem; - font-size: 1.5rem; - line-height: inherit; - color: inherit; - white-space: normal; -} - -progress { - vertical-align: baseline; -} - -[type="number"]::-webkit-inner-spin-button, -[type="number"]::-webkit-outer-spin-button { - height: auto; -} - -[type="search"] { - outline-offset: -2px; - -webkit-appearance: none; -} - -[type="search"]::-webkit-search-cancel-button, -[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -::-webkit-file-upload-button { - font: inherit; - -webkit-appearance: button; -} - -output { - display: inline-block; -} - -summary { - display: list-item; - cursor: pointer; -} - -template { - display: none; -} - -[hidden] { - display: none !important; -} diff --git a/foundation/public/css/style.css b/foundation/public/css/style.css deleted file mode 100644 index e6857f10..00000000 --- a/foundation/public/css/style.css +++ /dev/null @@ -1,159 +0,0 @@ -.navbar { - padding: 0.5rem 0; -} - -.media-img { - max-width: 150px; -} - -.stars { - width: 125px; -} - -.breadcrumb { - background-color: #fff; - margin: 0 -1rem; -} - -img, -.img { - max-width: 100%; -} - -/* avatar */ - -.avatar { - display: inline-block; - vertical-align: middle; - width: 50px; - height: 50px; -} - -.avatar-frame { - display: inline-block; - width: 100%; - height: 0; - padding: 50% 0; - background-size: cover; - background-repeat: no-repeat; - background-position: center center; - border-radius: 4px; -} - -.avatar img { - max-width: 100%; - max-height: 100%; - border-radius: 4px; -} - -.avatar-empty { - border: 1px dashed #d1d8dd; - border-radius: 4px; -} - -.avatar-small { - margin-right: 5px; - width: 24px; - height: 24px; -} - -.avatar-small .standard-image { - font-size: 14px; -} - -.avatar-small .avatar-frame { - border-radius: 3px; -} - -.avatar-medium { - margin-right: 5px; - width: 36px; - height: 36px; -} - -.avatar-medium .standard-image { - font-size: 18px; -} - -.avatar-large { - margin-right: 10px; - width: 72px; - height: 72px; -} - -.avatar-large .standard-image { - font-size: 36px; -} - -.avatar-xl { - margin-right: 10px; - width: 108px; - height: 108px; -} - -.avatar-xl .standard-image { - font-size: 72px; -} - -.avatar-xs { - margin-right: 3px; - margin-top: -2px; - width: 17px; - height: 17px; - border: none; - border-radius: 3px; -} - -.avatar-xs .standard-image { - font-size: 9px; -} - -.avatar-text { - display: inline; - width: 100%; - height: 0; - padding-bottom: 100%; -} - -.standard-image { - width: 100%; - height: 0; - padding: 50% 0; - display: inline-block; - text-align: center; - border-radius: 4px; - font-size: 14px; - line-height: 0; - color: #d1d8dd; - border: 1px solid #d1d8dd; - font-weight: normal; - margin-top: -1px; -} - -/* comments */ - -.comment-header { - border-bottom: 1px solid #ebeff2; - padding: 30px 0 15px; -} - -.comment-row { - margin: 0 -15px; - padding: 15px; -} - -.pull-right { - float: right; -} - -.inline-block { - display: inline-block; -} - -.comment-row h6 { - font-size: 0.75rem; -} - -.hidden { - display:none; -} diff --git a/foundation/public/less/base.less b/foundation/public/less/base.less deleted file mode 100644 index c5a8f7ca..00000000 --- a/foundation/public/less/base.less +++ /dev/null @@ -1,219 +0,0 @@ -/*utilities*/ -.align-items-center { - align-items: center; -} - -.hide, -.hidden { - display: none; - visibility: hidden; -} - -.top-zero { - margin-top: 0; -} - -.bottom-zero { - margin-bottom: 0; -} - -.top-spacer { - margin-top: 2.5rem; -} - -.bottom-spacer { - margin-bottom: 2.5rem; -} - -.top-spacer-4 { - margin-top: 4rem; -} - -.bottom-spacer-4 { - margin-bottom: 4rem; -} - -.gray-bg { - background-color: @light-bg; -} - -.dark-bg { - background-color: @text-dark; -} - -.text-left { - text-align: left; -} - -.text-right { - text-align: right; -} - -.text-center { - text-align: center; -} - -.text-muted { - color: @text-muted; -} - -.text-light { - color: @text-light; -} - -.text-white { - color: #fff; -} - -.text-normal { - font-size: 1rem; -} - -.text-medium { - font-size: 1.5rem; -} - -.text-small { - font-size: 0.5rem; -} - -.centered { - margin-left: auto; - margin-right: auto; -} - -.bold { - font-weight: bold; -} - -.list-unstyled { - padding: 0; - - li { - list-style: none; - } -} - -.list-circle { - list-style: circle; -} - -.bullet { - &::before { - content: "\2022"; - display: inline-block; - width: 1em; - font-size: 1.25rem; - } -} - -.half-width { - max-width: 50%; -} - -.border { - border: @border; -} - -.border-top { - border-top: @border; -} - -.border-top-light { - border-top: @border-light; -} - -.saturate { - filter: grayscale(100%); - - &:hover { - filter: grayscale(0%); - } -} - -/* colors */ - -.green-bullet { - &::before { - color: @indicator-green; - } -} - -/* components */ - -.grid-of-four, -.grid-of-three { - grid-gap: 2.5rem; - display: grid; -} - -.grid-of-four { - grid-template-columns: repeat(1, 1fr); - - @media screen and (min-width: @screen-palm) { - grid-template-columns: repeat(2, 1fr); - } - - @media screen and (min-width: @screen-xs) { - grid-template-columns: repeat(3, 1fr); - } - - @media screen and (min-width: @screen-sm) { - grid-template-columns: repeat(4, 1fr); - } -} - -.grid-of-three { - grid-template-columns: repeat(1, 1fr); - - @media screen and (min-width: @screen-palm) { - grid-template-columns: repeat(2, 1fr); - } - - @media screen and (min-width: @screen-xs) { - grid-template-columns: repeat(3, 1fr); - } -} - -.columns { - display: flex; - justify-content: space-between; - flex-direction: column; - - @media screen and (min-width: @screen-xs) { - flex-direction: inherit; - } -} - -.column { - margin-bottom: 1rem; - - @media screen and (min-width: @screen-xs) { - margin: 0; - } -} - -.three-column { - max-width: 100%; - - @media screen and (min-width: @screen-xs) { - max-width: 33%; - } -} - -.copyright { - font-size: 1rem; - - @media screen and (min-width: @screen-xs) { - font-size: 0.75rem; - } -} - -.flex-wrap { - flex-wrap: wrap; - justify-content: flex-start; -} - -.grid-center { - justify-items: center; -} diff --git a/foundation/public/less/erpnext-org-theme.less b/foundation/public/less/erpnext-org-theme.less deleted file mode 100644 index 401fd688..00000000 --- a/foundation/public/less/erpnext-org-theme.less +++ /dev/null @@ -1,1067 +0,0 @@ -@import "variables.less"; -@import "base.less"; -@import (css) "reset.css"; -@import "indicator.less"; - -a { - color: @brand-primary; - text-decoration: none; - transition: color @transition; - - &:hover { - color: @text-dark; - text-decoration: underline; - } - - &:focus, - &:visited { - outline: 0; - } -} - -[ data-path = "" ] .get-started { - display: none; -} - -.header-1, -.header-2, -.header-3 { - line-height: 1.025; -} - -.header-1 { - font-size: 2.5rem; -} - -.header-2 { - font-size: 1.5rem; -} - -.header-3 { - font-size: 1rem; -} - -.navbar { - padding: 1rem; - background-color: #fff; - - @media screen and (min-width: @screen-xs) { - padding: 1rem 2.5rem; - } -} - -.navbar-header { - display: flex; - justify-content: space-between; - align-items: center; -} - -.navbar-icon { - width: 1.5rem; - margin-right: 0.5rem; - padding-bottom: 0.07rem; -} - -.navbar-brand { - font-size: 1rem; - font-weight: bold; - letter-spacing: 0.005em; - text-decoration: none; - color: @text-color; - - &:hover { - text-decoration: none; - color: @text-dark; - } -} - -.navbar-brand:visited { - color: @text-color; -} - -.menu { - display: flex; - margin: 0; -} - -.menu-item { - margin-left: 1.5rem; -} - -.menu-links { - color: @text-light; - text-decoration: none; - - &:hover { - text-decoration: none; - } -} - -.container, -.page-content-wrapper { - max-width: 100%; - margin: 0 auto; - - @media screen and (min-width: @screen-sm) { - max-width: @screen-sm; - } - - @media screen and (min-width: @screen-md) { - max-width: @screen-md; - } -} - -.section-padding.hero { - padding: 2.5rem 1rem; - - @media screen and (min-width: @screen-xs) { - padding: 10.5rem 1.5rem; - } -} - -.section-padding { - padding: 2.5rem 1rem; - - @media screen and (min-width: @screen-xs) { - padding: 6.5rem 1.5rem; - } -} - -.reviews { - max-width: 200px; -} - -.stars { - width: 125px; -} - -.footer-brand { - order: 10; - - @media screen and (min-width: @screen-xs) { - order: unset; - } -} - -.section-bullet { - margin-bottom: 0.5rem; -} - -.page { - padding: 0 1rem; - border-top: 1px solid @light-border-color; - - @media screen and (min-width: @screen-xs) { - padding: 0 2.5rem; - } -} - -.hero-illustration { - width: 100%; - max-width: 800px; -} - -.list-items { - text-align: center; - border-radius: 0.5rem; - background-color: #fff; - min-width: 200px; - transition: all @transition; - margin: 0 1rem; - - @media screen and (min-width: @screen-palm) { - margin: 0; - } - - &:hover { - box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.05); - } -} - -.contact-content { - max-width: 90%; - - @media screen and (min-width: @screen-palm) { - max-width: 50%; - } -} - -.countries { - max-width: 100%; - - @media screen and (min-width: @screen-palm) { - max-width: 50%; - min-width: 50%; - } - - @media screen and (min-width: @screen-xs) { - max-width: 25%; - min-width: 25%; - } -} - -.intro-copy { - max-width: @screen-md/2; - margin: 0 auto 1.5rem auto; -} - -.primary-links { - color: @text-light; - transition: all @transition; - - &:hover { - color: @text-dark; - text-decoration: none; - } -} - -.button { - padding: 1rem 1.5rem; - border-radius: 0.25em; - cursor: pointer; - transition: all @transition; - border-bottom: 3px solid rgba(0, 0, 0, 0.2); - text-decoration: none; - - &:hover { - text-decoration: none; - } -} - -.button-primary { - font-size: 1.5em; - color: #fff; - background: @brand-primary; - border-right: 0; - border-left: 0; - border-top: 0; - line-height: 3; - - &:hover { - background: @button-primary-hover; - color: #fff; - } -} - -.button-primary-small { - color: #fff; - background: #7575ff; - border-right: 0; - border-left: 0; - border-top: 0; - padding: 0.45rem 1rem; - - &:hover { - background: @button-primary-hover; - color: #fff; - } -} - -.button-secondary { - font-size: 1.5em; - color: @text-light; - background: @btn-bg; - border-right: 0; - border-left: 0; - border-top: 0; - line-height: 3; - - &:hover { - background: @button-secondary-hover; - color: @text-dark; - } -} - -.secondary-link { - color: @text-light; - transition: color @transition; - - &:hover { - color: @text-dark; - } -} - -.bulleted-list { - margin: 0; - padding-left: 1em; - - li { - padding-bottom: 1em; - } -} - -.footer-title { - margin-bottom: 0.5rem; -} - -.footer-list { - padding-left: 0; -} - -.footer-email-input { - border: 1px solid @text-muted; - border-radius: 0.25rem; - padding: 0.25rem; - color: @text-muted; - margin-right: 0.5rem; -} - -.page_content li, -.sidebar-item, -.footer-list li { - margin-bottom: 0.5rem; -} - -.page-container { - display: flex; - max-width: @screen-md; - margin: 0 auto; - flex-direction: column-reverse; - - @media screen and (min-width: @screen-xs) { - flex-direction: row; - } -} - -.page-content { - width: 100%; - padding: 4rem 0; - - h1:first-child { - margin-top: 0; - } -} - -.breadcrumb { - padding: 0; - margin-bottom: 1.5rem; - - a { - background-color: transparent; - color: @text-muted; - - &:focus, - &:visited { - background-color: transparent; - color: @text-muted; - } - - &:hover { - color: @text-dark; - transition: color @transition; - } - } -} - -.breadcrumb > li { - display: inline-block; -} - -.breadcrumb > li + li::before { - padding: 0 5px; - color: @text-muted; - content: "/\00a0"; -} - -.sidebar-block { - padding: 4rem 0; - min-width: 200px; - border-top: 1px solid @light-border-color; - - @media screen and (min-width: @screen-xs) { - border-right: 1px solid @light-border-color; - border-top: 0; - } -} - -.blog-page { - padding: 4rem 0; - max-width: 700px; - margin: 0 auto; -} - -.page-content.with-sidebar { - @media screen and (min-width: @screen-xs) { - padding: 4rem 0 4rem 2.5rem; - } - - padding: 1rem; -} - -hr { - margin-top: 20px; - margin-bottom: 20px; - border: 0; - border-top: 1px solid @light-border-color; -} - -.footer-link { - color: @text-muted; - transition: color @transition; - - &:hover { - color: #fff; - } -} - -.button-dark { - color: #fff; - background: @text-muted; - border-right: 0; - border-left: 0; - border-top: 0; - padding: 0.45rem 1rem; -} - -.footer-icon { - width: 4rem; - margin-right: unset; - - @media screen and (min-width: @screen-xs) { - margin-right: 0.5rem; - } -} - -.footer-email-title { - margin-bottom: 0.5rem; -} - -/* loaned from bootstrap need to cleanup*/ - -/*progress bar*/ -.progress { - height: 1.5rem; - margin-bottom: 1.5rem; - overflow: hidden; - background-color: #f5f5f5; - border-radius: 0.25rem; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); -} - -.progress-bar { - height: inherit; -} - -.progress-bar-success { - background-color: #98d85b; -} - -.sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; -} - -/*progress bar*/ -.clickable a { - color: @text-color; -} - -.clickable a:focus { - outline: 0; -} - -.fade.in { - opacity: 1; -} - -caption { - padding-top: 8px; - padding-bottom: 8px; - color: @text-muted; - text-align: left; -} - -th { - text-align: left; -} - -.input-group { - position: relative; - display: table; - border-collapse: separate; -} - -.btn-group, -.btn-group-vertical { - position: relative; - display: inline-block; - vertical-align: middle; -} - -.note-popover .popover-content > .btn-group, -.panel-heading.note-toolbar > .btn-group { - margin-top: 5px; - margin-right: 5px; - margin-left: 0; -} - -.note-popover .popover-content, -.panel-heading.note-toolbar { - padding: 0 0 5px 5px; - margin: 0; -} - -.panel-heading { - padding: 0.5rem 1rem; - border-bottom: 1px solid transparent; - border-top-left-radius: 0.25em; - border-top-right-radius: 0.25em; -} - -.panel-default > .panel-heading { - color: #333; - background-color: #f7fafc; - border-color: @border-color; -} - -.panel-body { - padding-left: 1rem; -} - -.modal { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - display: none; - overflow: hidden; - outline: 0; -} - -.modal-open .modal { - overflow-x: hidden; - overflow-y: auto; -} - -.modal-backdrop.in { - filter: alpha(opacity=50); - opacity: 0.5; -} - -.modal-backdrop { - position: absolute; - top: 0; - right: 0; - left: 0; - background-color: #334143; -} - -.modal-dialog { - width: 600px; - margin: 2rem auto; -} - -.modal.in .modal-dialog { - transform: translate(0, 0); -} - -.modal-content { - position: relative; - background-color: #fff; - background-clip: padding-box; - border: 1px solid #d1d8dd; - border-radius: 0.25rem; - outline: 0; - box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); -} - -.modal-header { - min-height: 1rem; - padding: 1rem; - border-bottom: 1px solid #d1d8dd; -} - -.modal-title { - margin: 0; - line-height: 1.42857143; -} - -.modal-body { - position: relative; - padding: 1rem; -} - -.close { - float: right; - font-size: 1.5rem; - font-weight: bold; - line-height: 1; - color: #000; - text-shadow: 0 1px 0 #fff; - filter: alpha(opacity=20); - opacity: 0.2; -} - -.modal-header .close { - margin-top: -2px; -} - -.close:hover, -.close:focus { - color: #000; - text-decoration: none; - cursor: pointer; - filter: alpha(opacity=50); - opacity: 0.5; -} - -.btn-default { - color: inherit; - background-color: #f0f4f7; - border-color: transparent; -} - -.btn { - display: inline-block; - padding: 0.25em 0.75em; - margin-bottom: 0; - font-size: 1em; - font-weight: normal; - text-align: center; - white-space: nowrap; - vertical-align: middle; - cursor: pointer; - user-select: none; - background-image: none; - border: 1px solid transparent; - border-radius: 0.25em; -} - -.btn-block { - background-image: none; - border: 1px solid transparent; - border-radius: 0.25em; - display: block; - width: 100%; -} - -.form-control { - display: block; - width: 100%; - height: 2em; - padding: 0.5em; - color: #2e3338; - background-color: #fff; - background-image: none; - border: 1px solid #d1d8dd; - border-radius: 0.25em; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - transition: border-color ease-out 0.15s, box-shadow ease-out 0.15s; -} - -.form-signin .form-control { - position: relative; - height: auto; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 0.5rem; - margin-bottom: 0.5rem; -} - -code { - color: #fc4f51; - background: #fff5f5; - padding: 0.25em; - border-radius: 0.25em; - font-size: 0.85em; -} - -/*loaned from frappe*/ -textarea.form-control { - height: auto; -} - -.col-sm-6 { - margin-bottom: 1rem; -} - -.col-sm-8 { - @media screen and (min-width: @screen-xs) { - width: 66.66%; - } -} - -.comment-view { - padding-bottom: 2.5rem; -} - -.no-results { - text-align: center; - padding: 10rem 0; -} - -.add-comment-section { - padding-bottom: 2rem; -} - -.comment-header { - border-bottom: @border; - padding: 2rem 0 1rem; -} - -.comment-row { - margin: 0 1rem; - padding: 1rem; -} - -.comment-row:last-child { - margin-bottom: 2rem; - border-bottom: 0; -} - -.page-card { - max-width: 360px; - padding: 1em; - margin: 8rem auto; - border: @border; - border-radius: 0.25em; - background-color: #fff; - box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.1); -} - -.page-card .page-card-head { - padding: 0.75em 1em; - margin: -1em; - margin-bottom: 1em; - border-bottom: @border; -} - -.login-content .btn { - margin-top: 3rem; -} - -.btn-primary { - background-color: @brand-primary; - border-color: @brand-primary; - color: #fff; - transition: background-color 0.3s ease-in; -} - -.btn-primary:hover, -.btn-primary:focus, -.btn-primary.focus, -.btn-primary:active, -.btn-primary.active, -.open > .dropdown-toggle.btn-primary { - color: #fff; - background-color: @button-primary-hover; - border-color: @button-primary-hover; - text-decoration: none; -} - -img.blog-cover-image, -.blog-text img, -.screenshot { - box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); - border: 1px solid #d1d8dd; -} - -.btn-next-wrapper { - margin-top: 4rem; -} - -.input-group-btn { - display: table-cell; - vertical-align: middle; - white-space: nowrap; - height: 2rem; -} - -.dropdown-menu { - display: none; - position: absolute; - list-style: none; - margin: 0; - padding: 0; - box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.05); - background-color: #fff; - - li { - padding: 0.5rem; - margin: 0; - transition: background-color @transition; - cursor: pointer; - - &:hover { - background-color: @btn-bg; - } - } -} - -.display-block { - display: block; -} - -.caret { - display: inline-block; - width: 0; - height: 0; - margin-left: 2px; - vertical-align: middle; - border-top: 0.25rem solid; - border-right: 0.25rem solid transparent; - border-left: 0.25rem solid transparent; -} - -.bounty-amount .form-control { - margin-right: 1.5rem; -} - -.input-group-btn .dropdown-toggle { - margin-left: 1.5rem; -} - -/*blog*/ - -/*TODO Needs refactor in frappe to use utilities.less*/ - -.blog-list-content { - border: 0; - background: transparent; -} - -.blog-list-item { - padding-bottom: 4rem; - border-bottom: 1px solid @navbar-default-border; - - &:last-child { - border-bottom: 0; - } - - a { - color: @text-color; - } - - h1{ - margin-top: 0; - } -} - -.blog-list-item:not(:first-child) { - padding-top: 4rem; -} - -.blogpost-cover-img { - width: 75%; - margin-bottom: 0.5rem; -} - -.blog-header { - font-size: 2.5rem; -} - -.blog-container img { - margin-bottom: 1.5rem; -} - -.blog-comments { - position: relative; - border-top: @border; -} - -.blog-info { - margin: 2.5rem 0; -} - -.blog-text { - font-size: 1.15em; - line-height: 1.62; -} - -.blog-content { - margin-bottom: 2.5rem; -} - -.blogger { - padding-top: 0; - padding-bottom: 2.5rem; -} - -.blogger-name { - margin-top: 0.25em; - font-weight: normal; - font-size: 1rem; - - a { - color: @text-color; - } -} - -.avatar { - display: inline-block; - width: 3rem; - height: 3rem; - margin-right: 1rem; -} - -.blog-list-item .avatar { - margin-right: 1em; -} - -.avatar img { - max-width: 100%; - max-height: 100%; - border-radius: 0.25em; -} - -.avatar-medium { - margin-right: 0.25em; - width: 2rem; - height: 2rem; -} - -.inline-block { - display: inline-block; -} - -.blog-container, -.max-width-medium { - max-width: 700px; -} - -.media { - display: flex; - background: @light-bg; - margin-bottom: 1.5rem; - border-radius: 0.25em; - padding: 1.5rem; - flex-direction: column; - - @media screen and (min-width: @screen-palm) { - flex-direction: row; - } -} - -.media-left { - margin-bottom: 1.5rem; - - @media screen and (min-width: @screen-palm) { - margin-right: 2.5rem; - margin-bottom: 0; - } -} - -.media-heading { - margin-top: 0; -} - -.media-object { - width: 6.5rem; - max-width:inherit; -} - -.with-border { - border-radius: 0.25em; - padding: 1rem; - margin-bottom: 2rem; - border: 1px solid @border-color; - - a { - text-decoration: none; - color: @text-color; - - &:hover { - text-decoration: none; - color: @text-dark; - } - } - - &:hover { - background-color: @light-bg; - } -} - -/* individual elements */ - -.gold-member { - display: flex; - padding: 2.5rem 0; - transition: background-color @transition; - border-bottom: 1px solid @border-color; - - &:hover { - background-color: @light-bg; - } -} - -.individual-member { - border-bottom: 1px solid @border-color; - padding-bottom: 2.5rem; -} - -.box { - padding: 1.5rem; - border: 1px solid @border-color; - border-radius: 0.25em; - transition: background-color @transition; - - &:hover { - background-color: @light-bg; - } -} - -.grid-boxes { - font-size: 1.5rem; - display: block; - padding: 1.5rem; - - span { - display: block; - } -} - -.thumb-small { - width: 100px; -} - -.grid-images { - width: 150px; - padding-bottom: 1.5rem; -} - -.feature-img { - max-width: 250px; -} - -.community-bg { - background-image: linear-gradient(to bottom, rgba(46, 51, 56, 0.5), @text-dark), url("/assets/foundation/img/community-2016.jpg"); - background-size: cover; - background-repeat: no-repeat; - background-position: center; - background-attachment: fixed; -} - -.community-bg .intro-copy, -.about .intro-copy { - max-width: 800px; -} - -/* added to make iframe responsive */ -.embed-container { - position: relative; - padding-bottom: 56.25%; - height: 0; - overflow: hidden; - max-width: 800px; - width: auto; -} - -.embed-container iframe, -.embed-container object, -.embed-container embed { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; -} diff --git a/foundation/public/less/indicator.less b/foundation/public/less/indicator.less deleted file mode 100644 index 42f9feeb..00000000 --- a/foundation/public/less/indicator.less +++ /dev/null @@ -1,88 +0,0 @@ -@import "../../../../frappe/frappe/public/less/variables.less"; - -.indicator, -.indicator-right { - background: none; - font-size: 12px; - vertical-align: middle; - font-weight: bold; - color: #6c7680; -} - -.indicator::before, -.indicator-right::after { - content: ""; - display: inline-block; - height: 8px; - width: 8px; - border-radius: 8px; -} - -.indicator::before { - margin: 0 4px 0 0; -} - -.indicator-right::after { - margin: 0 0 0 4px; -} - -.indicator.grey::before, -.indicator-right.grey::after { - background: @btn-bg; -} - -.indicator.blue::before, -.indicator-right.blue::after { - background: @indicator-blue; -} - -.indicator.red::before, -.indicator-right.red::after { - background: @indicator-red; -} - -.indicator.green::before, -.indicator-right.green::after { - background: @indicator-green; -} - -.indicator.orange::before, -.indicator-right.orange::after { - background: @indicator-orange; -} - -.indicator.purple::before, -.indicator-right.purple::after { - background: @indicator-purple; -} - -.indicator.darkgrey::before, -.indicator-right.darkgrey::after { - background: @indicator-darkgrey; -} - -.indicator.black::before, -.indicator-right.black::after { - background: @text-color; -} - -.indicator.yellow::before, -.indicator-right.yellow::after { - background: @indicator-yellow; -} - -.indicator.light-blue::before, -.indicator-right.light-blue::after { - background: @indicator-light-blue; -} - -.indicator.lightblue::before, -.indicator-right.lightblue::after { - background: @indicator-light-blue; -} - -.modal-header .indicator { - float: left; - margin-top: 7.5px; - margin-right: 3px; -} diff --git a/foundation/public/less/variables.less b/foundation/public/less/variables.less deleted file mode 100644 index aae770ea..00000000 --- a/foundation/public/less/variables.less +++ /dev/null @@ -1,13 +0,0 @@ -@import "../../../../frappe/frappe/public/less/variables.less"; - -@brand-primary: #7575ff; -@screen-sm-min: 768px; -@screen-xs-max: (@screen-sm-min - 1); -@button-primary-hover: darken(desaturate(@brand-primary, 50%), 15%); -@button-secondary-hover: lighten(@light-bg, 15%); -@primary-link-color: lighten(@brand-primary, 5%); -@border: 1px solid @border-color; -@border-light: 1px solid @light-border-color; -@transition: 0.3s ease-out; -@screen-palm: 500px; -@dark-border-color: darken(@border-color, 60%); diff --git a/foundation/templates/base.html b/foundation/templates/base.html deleted file mode 100644 index 36bda7ab..00000000 --- a/foundation/templates/base.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - {% block title %} {{ title | striptags }} {% endblock %} - - {% block favicon %} - - - {% endblock %} - {%- block head -%} - {% block meta_block %}{% endblock %} - - - {% if path == 'login' or template == 'website/doctype/web_form/templates/web_form.html' %} - - {% endif %} - {%- endblock -%} - {%- block head_include %}{{ head_include or "" }}{% endblock -%} - {%- block style %}{%- endblock -%} - - - -
- {%- block navbar -%}{% include "templates/includes/navbar/navbar.html" %}{%- endblock -%} - {% block content %} - {{ content }} - {% endblock %} - {%- block footer -%}{% include "templates/includes/footer/footer.html" %}{%- endblock -%} -
- {% block base_scripts %} - - - - - -{% endblock %} -{%- if js_globals is defined %} - -{% endif -%} -{%- for link in web_include_js %} - -{%- endfor -%} -{%- block script %}{%- endblock %} - -{%- block body_include %}{{ body_include or "" }}{% endblock -%} - - diff --git a/foundation/templates/includes/blog/blog.html b/foundation/templates/includes/blog/blog.html deleted file mode 100644 index 5afaeb6a..00000000 --- a/foundation/templates/includes/blog/blog.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "templates/web.html" %} - -{% block title %}{{ blog_title or _("Blog") }}{% endblock %} -{% block header %}

{{ blog_title or _("Blog") }}

{% endblock %} -{% block hero %}{% endblock %} - -{% block page_content %} - - -
-
- {% include "templates/includes/list/list.html" %} -
-
-{% endblock %} - -{% block script %} - -{% endblock %} diff --git a/foundation/templates/includes/blog/blogger.html b/foundation/templates/includes/blog/blogger.html deleted file mode 100644 index 41f89609..00000000 --- a/foundation/templates/includes/blog/blogger.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
- -
-
-
-

- {{ blogger_info.full_name }} -

-

{%if blogger_info.bio %}{{ blogger_info.bio }}{% endif %}

-
-
diff --git a/foundation/templates/includes/blog/hero.html b/foundation/templates/includes/blog/hero.html deleted file mode 100644 index 8ec47f3a..00000000 --- a/foundation/templates/includes/blog/hero.html +++ /dev/null @@ -1,12 +0,0 @@ -{% if blog_title and not (frappe.local.form_dict.txt or frappe.local.form_dict.by) %} -
-
-

- {{ blog_title }} -

- {% if blog_introduction -%} -

{{ blog_introduction }}

- {%- endif %} -
-
-{% endif %} diff --git a/foundation/templates/includes/breadcrumbs.html b/foundation/templates/includes/breadcrumbs.html deleted file mode 100644 index 5bf97077..00000000 --- a/foundation/templates/includes/breadcrumbs.html +++ /dev/null @@ -1,12 +0,0 @@ -{% if parents and parents|length > 0 %} - -{% endif %} diff --git a/foundation/templates/includes/email-subscription-block.html b/foundation/templates/includes/email-subscription-block.html deleted file mode 100644 index f80be996..00000000 --- a/foundation/templates/includes/email-subscription-block.html +++ /dev/null @@ -1,5 +0,0 @@ -
- -
diff --git a/foundation/templates/includes/list/list.html b/foundation/templates/includes/list/list.html deleted file mode 100644 index bb4d8d5e..00000000 --- a/foundation/templates/includes/list/list.html +++ /dev/null @@ -1,26 +0,0 @@ -{% if sub_title %} -

{{ sub_title }}

-{% endif %} -{% if not result -%} -
- - {{ no_result_message or _("Nothing to show") }} -
-{% else %} -
- - {% if result_heading_template %}{% include result_heading_template %}{% endif %} - -
- {% for item in result %} - {{ item }} - {% endfor %} -
-
- -
-
-{%- endif %} diff --git a/foundation/templates/includes/macros.html b/foundation/templates/includes/macros.html deleted file mode 100644 index 84cd052f..00000000 --- a/foundation/templates/includes/macros.html +++ /dev/null @@ -1,15 +0,0 @@ -{% macro media(title, content, image, link) %} - -{% endmacro %} diff --git a/foundation/templates/includes/navbar/dropdown_items.html b/foundation/templates/includes/navbar/dropdown_items.html deleted file mode 100644 index e1eec7b1..00000000 --- a/foundation/templates/includes/navbar/dropdown_items.html +++ /dev/null @@ -1,17 +0,0 @@ - diff --git a/foundation/templates/includes/navbar/dropdown_login.html b/foundation/templates/includes/navbar/dropdown_login.html deleted file mode 100644 index 9bd687a1..00000000 --- a/foundation/templates/includes/navbar/dropdown_login.html +++ /dev/null @@ -1,17 +0,0 @@ - -{% if not only_static %} -{%- for child in post_login -%} -
  • - {%- if child.url -%} - - {{ child.label }} - - {%- endif -%} -
  • -{%- endfor -%} -{% if not hide_login %} -
  • {{ _("Login") }}
  • -{% endif %} -{% endif %} diff --git a/foundation/templates/includes/navbar/navbar.html b/foundation/templates/includes/navbar/navbar.html deleted file mode 100644 index fdce3488..00000000 --- a/foundation/templates/includes/navbar/navbar.html +++ /dev/null @@ -1,11 +0,0 @@ - diff --git a/foundation/templates/includes/navbar/navbar_items.html b/foundation/templates/includes/navbar/navbar_items.html deleted file mode 100644 index 531d603f..00000000 --- a/foundation/templates/includes/navbar/navbar_items.html +++ /dev/null @@ -1,21 +0,0 @@ -{% if top_bar_items -%} - -{%- endif %} - diff --git a/foundation/templates/includes/navbar/navbar_link.html b/foundation/templates/includes/navbar/navbar_link.html deleted file mode 100644 index ff6e880a..00000000 --- a/foundation/templates/includes/navbar/navbar_link.html +++ /dev/null @@ -1,13 +0,0 @@ - diff --git a/foundation/templates/includes/navbar/navbar_login.html b/foundation/templates/includes/navbar/navbar_login.html deleted file mode 100644 index 363ea894..00000000 --- a/foundation/templates/includes/navbar/navbar_login.html +++ /dev/null @@ -1,25 +0,0 @@ - -{% if not only_static %} - -{% if not hide_login %} - -{% endif %} -{% endif %} diff --git a/foundation/templates/includes/navbar/navbar_search.html b/foundation/templates/includes/navbar/navbar_search.html deleted file mode 100644 index 67b4d650..00000000 --- a/foundation/templates/includes/navbar/navbar_search.html +++ /dev/null @@ -1,9 +0,0 @@ -{% if navbar_search %} -
  • -
    - -
    -
  • -{% endif %} \ No newline at end of file diff --git a/foundation/templates/includes/sponsors.html b/foundation/templates/includes/sponsors.html deleted file mode 100644 index 647741f9..00000000 --- a/foundation/templates/includes/sponsors.html +++ /dev/null @@ -1,42 +0,0 @@ - diff --git a/foundation/templates/web.html b/foundation/templates/web.html deleted file mode 100644 index 703d7f6f..00000000 --- a/foundation/templates/web.html +++ /dev/null @@ -1,53 +0,0 @@ -{% extends base_template_path %} -{% block hero %}{% endblock %} -{% block content %} -
    -
    - {% if show_sidebar %} -
    - {% include "templates/includes/web_sidebar.html" %} -
    - {% endif %} -
    -
    -
    -
    - {% if not no_breadcrumbs and parents %} - - {% endif %} -
    - {% if doctype != 'Blog Post' %} -
    - {% block header %}{% endblock %} -
    - {% endif %} -
    - {% if show_search %} -
    - {% block search %} - {% include - 'templates/includes/search_box.html' %} - {% endblock %} -
    - {% endif %} - - {% if self.header_actions() %} -
    - {% block header_actions %}{% endblock %} -
    - {% endif %} -
    -
    -
    - {%- block page_content -%}{%- endblock -%} -
    -
    - -
    -
    -
    -{% endblock %} diff --git a/foundation/website/css/web_form.css b/foundation/website/css/web_form.css deleted file mode 100644 index 5b006cda..00000000 --- a/foundation/website/css/web_form.css +++ /dev/null @@ -1,52 +0,0 @@ -.introduction { - border-bottom: 1px solid #e1e9f0; - padding: 15px; - padding-top: 0px; - margin-left: -15px; - margin-right: -15px; - margin-bottom: 15px; -} - -.form-group label { - font-weight: normal; -} - -input[type='checkbox'] { - margin-top: 3px; -} - -.checkbox label { - font-size: 12px; -} - -.web-form-page, .web-form-page .section { - padding: 20px 0px; -} - -.web-form-grid-row input, .web-form-grid-row select { - border: 0px; - padding: 0px; -} -.web-form-grid-row input:focus, .web-form-grid-row select:focus { - box-shadow: none; -} -.web-form-grid-row .form-group { - margin: 0px; -} - -.slide-progress { - /*border-top: 1px solid #d1d8dd;*/ - margin-top: -10px; -} -.slide-progress .fa-fw { - vertical-align: middle; - margin-right: 9px; - padding-left: 2px; - cursor: pointer; -} -.slide-progress .icon-circle-blank { - font-size: 12px; -} -.slide-progress .icon-circle { - font-size: 14px; -} diff --git a/foundation/website/doctype/blog_post/templates/blog_post.html b/foundation/website/doctype/blog_post/templates/blog_post.html deleted file mode 100644 index 5ab005c5..00000000 --- a/foundation/website/doctype/blog_post/templates/blog_post.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "templates/web.html" %} -{% block meta_block %} - {% include "templates/includes/meta_block.html" %} -{% endblock %} -{% block page_content %} -
    - -
    -

    {{ title }}

    -

    - {{ _("By") }} {{ blogger_info and blogger_info.full_name or full_name }} - {{ frappe.format_date(published_on) }} - {{ category.title }} - {{ comment_text }} -

    -
    -
    - {{ content }} -
    - -
    -{% if blogger_info %} -{% include "templates/includes/blog/blogger.html" %} -{% endif %} -
    - {% include 'templates/includes/comments/comments.html' %} -
    - - -{% endblock %} -{% block style %} -{% endblock %} diff --git a/foundation/website/doctype/blog_post/templates/blog_post_row.html b/foundation/website/doctype/blog_post/templates/blog_post_row.html deleted file mode 100644 index a917509e..00000000 --- a/foundation/website/doctype/blog_post/templates/blog_post_row.html +++ /dev/null @@ -1,16 +0,0 @@ -{%- set post = doc -%} -
    - -

    {{ post.title }}

    -

    {{ post.intro }}

    - -
    -

    - {{ post.full_name }} - {{ frappe.format_date(post.published_on) }} -

    -
    - -
    - - diff --git a/foundation/www/about.html b/foundation/www/about.html index a38ac0aa..90634bab 100644 --- a/foundation/www/about.html +++ b/foundation/www/about.html @@ -2,7 +2,7 @@ {% block title %}About ERPNext Foundation{% endblock %} -{% from "foundation/templates/includes/macros.html" import media %} +{% from "templates/includes/macros.html" import media %} {% block content%}
    diff --git a/foundation/www/get-started.html b/foundation/www/get-started.html index 3b26ce96..c4f66996 100644 --- a/foundation/www/get-started.html +++ b/foundation/www/get-started.html @@ -1,4 +1,4 @@ -{% extends "foundation/templates/base.html" %} +{% extends "templates/base.html" %} {% block title %} Get Started - ERPNext Foundation{% endblock %} {% block content %}
    diff --git a/foundation/www/index.html b/foundation/www/index.html index d899dac9..b8c0f741 100644 --- a/foundation/www/index.html +++ b/foundation/www/index.html @@ -1,4 +1,4 @@ -{% extends "foundation/templates/base.html" %} +{% extends "templates/base.html" %} {% block title %}ERPNext Foundation - Open Source ERP Software{% endblock %} {% block content %}
    diff --git a/foundation/www/service-providers.html b/foundation/www/service-providers.html index 33bc7058..c78c122c 100644 --- a/foundation/www/service-providers.html +++ b/foundation/www/service-providers.html @@ -1,6 +1,6 @@ -{% extends "foundation/templates/web.html" %} +{% extends "templates/web.html" %} -{% from "foundation/templates/includes/macros.html" import media %} +{% from "templates/includes/macros.html" import media %} {% macro gold_member(m) %}