mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
777 lines
12 KiB
Plaintext
777 lines
12 KiB
Plaintext
@import (css) "reset.css";
|
|
@import "variables.less";
|
|
@import "indicator.less";
|
|
|
|
a {
|
|
color:@brand-primary;
|
|
text-decoration:none;
|
|
transition: @transition-color;
|
|
&:hover{
|
|
color:@text-dark;
|
|
text-decoration:underline
|
|
}
|
|
}
|
|
.navbar{
|
|
padding: 1rem 2.5rem;
|
|
background-color:#fff;
|
|
}
|
|
.navbar-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.navbar-icon {
|
|
width: 1.5rem;
|
|
margin-right: .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;
|
|
}
|
|
|
|
.menu-items {
|
|
padding-left: 1.5rem;
|
|
}
|
|
.menu-links{
|
|
color:@text-light;
|
|
text-decoration:none;
|
|
&:hover{
|
|
text-decoration:none;
|
|
}
|
|
}
|
|
|
|
.container {
|
|
max-width: @screen-max;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.feature, .footer {
|
|
padding: 8rem 2.5rem;
|
|
border-top: 1px solid @light-border-color;
|
|
}
|
|
.page{
|
|
padding: 0 2.5rem;
|
|
border-top: 1px solid @light-border-color;
|
|
}
|
|
|
|
.hero-illustration {
|
|
width: 100%;
|
|
max-width: 800px;
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
.about-img {
|
|
margin-bottom: 2.5rem;
|
|
|
|
}
|
|
|
|
.title{
|
|
font-size: 2.5rem;
|
|
line-height: 1.025;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.subtitle {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.list-items {
|
|
text-align: center;
|
|
border-radius: .5rem;
|
|
background-color: #fff;
|
|
min-width:200px;
|
|
transition: @transition-all;
|
|
&:hover{
|
|
box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, 0.05);
|
|
}
|
|
}
|
|
|
|
.list.grid-of-four{
|
|
grid-gap: 2.5rem;
|
|
}
|
|
|
|
.grid-of-four{
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
|
|
.list{
|
|
list-style: none;
|
|
padding-left: 0;
|
|
}
|
|
/*utilities*/
|
|
.gray-bg {
|
|
background-color: @light-bg;
|
|
}
|
|
.dark-bg {
|
|
background-color: @text-dark;
|
|
}
|
|
|
|
.left-aligned{
|
|
text-align: left;
|
|
}
|
|
|
|
.right-aligned{
|
|
text-align: right;
|
|
}
|
|
|
|
.centered, .text-center{
|
|
text-align: center;
|
|
}
|
|
|
|
.text-muted{
|
|
color: @text-muted;
|
|
}
|
|
|
|
.text-light{
|
|
color: @text-light;
|
|
}
|
|
|
|
.text-white{
|
|
color:#fff;
|
|
}
|
|
|
|
.intro-copy{
|
|
font-size: 1.5rem;
|
|
max-width: @screen-max/2;
|
|
margin: 0 auto 1.5rem auto;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
.primary-links {
|
|
color: @text-light;
|
|
transition: @transition-color;
|
|
&:hover{
|
|
color: @text-dark;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.button{
|
|
padding: .75em 1.5em .5em;
|
|
border-radius:.25em;
|
|
cursor: pointer;
|
|
transition: @transition-all;
|
|
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: 0px;
|
|
border-left: 0px;
|
|
border-top: 0px;
|
|
line-height: 3;
|
|
&:hover{
|
|
background: @button-primary-hover;
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
.button-secondary{
|
|
font-size: 1.5em;
|
|
color: @text-light;
|
|
background: @btn-bg;
|
|
border-right: 0px;
|
|
border-left: 0px;
|
|
border-top: 0px;
|
|
line-height: 3;
|
|
&:hover{
|
|
background: @button-secondary-hover;
|
|
color: @text-dark;
|
|
}
|
|
}
|
|
|
|
.secondary-link {
|
|
color:@text-light;
|
|
transition: @transition-color;
|
|
&:hover{
|
|
color: @text-dark;
|
|
}
|
|
}
|
|
|
|
.active {
|
|
color: @text-dark;
|
|
}
|
|
|
|
.three-column, .two-column {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.three-column .columns {
|
|
max-width: 33.33%;
|
|
}
|
|
.two-column{
|
|
max-width: 50%;
|
|
}
|
|
.list-unstyled {
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
li {
|
|
list-style: none;
|
|
}
|
|
|
|
}
|
|
|
|
.list-circle {
|
|
list-style: circle;
|
|
}
|
|
|
|
.bulleted-list {
|
|
margin: 0;
|
|
padding-left: 1em;
|
|
|
|
li {
|
|
padding-bottom: 1em;
|
|
}
|
|
|
|
}
|
|
|
|
.footer-row {
|
|
display: flex;
|
|
text-align: left;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.footer-end .footer-row{
|
|
align-items: center;
|
|
}
|
|
|
|
.footer-list {
|
|
padding-left: 0;
|
|
padding: ;
|
|
}
|
|
.page_content li, .sidebar-item, .footer-list li{
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
.top-spacer {
|
|
margin-top: 3rem;
|
|
}
|
|
.page-container {
|
|
display: flex;
|
|
max-width: @screen-max;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.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: @transition-color;
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
.breadcrumb > li {
|
|
display: inline-block;
|
|
}
|
|
.breadcrumb > li + li::before {
|
|
padding: 0 5px;
|
|
color: @text-muted;
|
|
content: "/\00a0";
|
|
}
|
|
|
|
.sidebar-block {
|
|
padding: 4rem 0;
|
|
border-right: 1px solid black;
|
|
min-width: 200px;
|
|
border-right: 1px solid @light-border-color;
|
|
}
|
|
|
|
.page-content{
|
|
width:100%;
|
|
padding: 4rem 0;
|
|
}
|
|
|
|
.page-content h1:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.blog-page{
|
|
padding: 4rem 0;
|
|
max-width: 700px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.page-content.with-sidebar {
|
|
padding: 4rem 0 4rem 2.5rem;
|
|
}
|
|
hr {
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
border: 0;
|
|
border-top: 1px solid @light-border-color;
|
|
}
|
|
|
|
.footer-end {
|
|
border-top: 1px solid @light-border-color;
|
|
padding: 2rem 2.5rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.footer-end a{
|
|
color: @text-muted;
|
|
&:hover{
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
.footer-icon {
|
|
width: 1.5rem;
|
|
margin-right: .5em;
|
|
}
|
|
|
|
/* loaned from bootstrap*/
|
|
.fade.in {
|
|
opacity: 1;
|
|
}
|
|
|
|
|
|
.with-border {
|
|
a{
|
|
text-decoration: none;
|
|
|
|
&:hover{
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
.clickable a {
|
|
color: @text-color;
|
|
}
|
|
caption {
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
color: #8d99a6;
|
|
text-align: left;
|
|
}
|
|
th {
|
|
text-align: left;
|
|
}
|
|
|
|
.note-popover .popover-content > .btn-group, .panel-heading.note-toolbar > .btn-group {
|
|
margin-top: 5px;
|
|
margin-right: 5px;
|
|
margin-left: 0;
|
|
}
|
|
.btn-group, .btn-group-vertical {
|
|
position: relative;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
.note-popover .popover-content, .panel-heading.note-toolbar {
|
|
padding: 0 0 5px 5px;
|
|
margin: 0;
|
|
}
|
|
.panel-default > .panel-heading {
|
|
color: #333;
|
|
background-color:@panel-bg;
|
|
border-color: @border-color;
|
|
}
|
|
.panel-heading, .panel-body {
|
|
padding-left: 1rem;
|
|
}
|
|
.panel-heading {
|
|
padding: .5rem 1rem;
|
|
border-bottom: 1px solid transparent;
|
|
border-top-left-radius: .25em;
|
|
border-top-right-radius: .25em;
|
|
}
|
|
.modal-open .modal {
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.modal {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 1040;
|
|
display: none;
|
|
overflow: hidden;
|
|
outline: 0;
|
|
}
|
|
|
|
.modal-backdrop.in {
|
|
filter: alpha(opacity=50);
|
|
opacity: .5;
|
|
}
|
|
.modal-backdrop {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
background-color: @modal-backdrop-bg;
|
|
}
|
|
.modal.in .modal-dialog {
|
|
transform: translate(0, 0);
|
|
}
|
|
.modal-dialog {
|
|
width: 600px;
|
|
margin: 2rem auto;
|
|
}
|
|
.modal-content {
|
|
position: relative;
|
|
background-color: #fff;
|
|
background-clip: padding-box;
|
|
border: @border;
|
|
border-radius: 0.25rem;
|
|
outline: 0;
|
|
box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
|
|
}
|
|
.modal-header {
|
|
min-height: 1rem;
|
|
padding: 1rem;
|
|
border-bottom: @border;
|
|
}
|
|
.modal-title {
|
|
margin: 0;
|
|
line-height: 1.42857143;
|
|
}
|
|
.modal-body {
|
|
position: relative;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.modal-header .close {
|
|
margin-top: -2px;
|
|
}
|
|
|
|
.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: .2;
|
|
}
|
|
|
|
.close:hover, .close:focus {
|
|
color: #000;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
filter: alpha(opacity=50);
|
|
opacity: .5;
|
|
}
|
|
|
|
.btn-default {
|
|
color: inherit;
|
|
background-color: @btn-bg;
|
|
border-color: transparent;
|
|
}
|
|
.btn {
|
|
display: inline-block;
|
|
padding: .25em .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: .25em;
|
|
}
|
|
|
|
.btn-block {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.form-signin .form-control {
|
|
position: relative;
|
|
height: auto;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
padding: .5rem ;
|
|
margin-bottom: .5rem;
|
|
}
|
|
|
|
.form-control {
|
|
display: block;
|
|
width: 100%;
|
|
height: 2em;
|
|
padding: .5em;
|
|
color: @text-dark;
|
|
background-color: #fff;
|
|
background-image: none;
|
|
border: @border;
|
|
border-radius: .25em;
|
|
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
|
|
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
|
|
transition: border-color ease-out .15s, box-shadow ease-out .15s;
|
|
}
|
|
|
|
code {
|
|
color: @red;
|
|
background: lighten(@red-extra-light, 10%);
|
|
padding: .25em;
|
|
border-radius: .25em;
|
|
font-size: .85em;
|
|
}
|
|
|
|
/*loaned from frappe*/
|
|
.no-results {
|
|
text-align: center;
|
|
padding: 10rem 0px;
|
|
}
|
|
|
|
.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: .25em;
|
|
background-color: #fff;
|
|
box-shadow: 0px .25em .5em rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.page-card .page-card-head {
|
|
padding: .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 .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;
|
|
}
|
|
|
|
.screenshot {
|
|
max-width:800px;
|
|
margin: auto;
|
|
}
|
|
|
|
img.blog-cover-image, .blog-text img, .screenshot {
|
|
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid #d1d8dd;
|
|
}
|
|
|
|
.btn-next-wrapper {
|
|
margin-top: 4rem;
|
|
}
|
|
|
|
/*blog*/
|
|
|
|
.blog-list-content {
|
|
border: 0px;
|
|
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: .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.25em;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.blog-content {
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
|
|
.blogger {
|
|
padding-top: 0px;
|
|
padding-bottom: 2.5rem;
|
|
}
|
|
.blogger-name {
|
|
margin-top: .25em;
|
|
}
|
|
|
|
.blog-list-item .avatar {
|
|
margin-right: 1em;
|
|
}
|
|
|
|
.avatar {
|
|
display: inline-block;
|
|
width: 50px;
|
|
height: 50px;
|
|
}
|
|
.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: 700px;
|
|
}
|
|
|
|
.media {
|
|
display: flex;
|
|
padding: 1.5rem;
|
|
background: @light-bg;
|
|
margin-bottom: 1.5rem;
|
|
border-radius: .25em;
|
|
border: 1px solid lightgray;
|
|
width: 75%;
|
|
}
|
|
.media-left {
|
|
width: 10%;
|
|
margin-right: 1.5rem;
|
|
}
|
|
.media-heading {
|
|
margin-top: 0;
|
|
}
|
|
.with-border {
|
|
border: @border;
|
|
border-radius: 0.25em;
|
|
padding: 1rem;
|
|
margin-bottom: 2rem;
|
|
&:hover{
|
|
border-color: @text-light;
|
|
background-color: @light-bg;
|
|
}
|
|
}
|
|
/* individual elements */
|
|
|
|
.domain-links {
|
|
font-size: 1.5rem;
|
|
display: block;
|
|
padding: 1.5rem;
|
|
|
|
span {
|
|
display:block;
|
|
}
|
|
}
|
|
|
|
.domain-image {
|
|
width: 125px;
|
|
padding-bottom: 1.5rem;
|
|
}
|
|
|
|
.community-bg {
|
|
background-image: linear-gradient(to bottom, rgba(117, 116, 254, 0.52), rgb(117, 116, 254)), 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;
|
|
}
|