mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-17 02:10:45 +02:00
564 lines
9.4 KiB
Plaintext
564 lines
9.4 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;
|
|
}
|
|
.navbar-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.navbar-icon {
|
|
width: 25px;
|
|
margin-right: .5rem;
|
|
padding-bottom: 0.07rem;
|
|
}
|
|
.navbar-brand {
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
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;
|
|
}
|
|
|
|
.homepage-illustration {
|
|
margin-bottom: 2.5rem;
|
|
width: 100%;
|
|
max-width: 900px;
|
|
}
|
|
|
|
.title{
|
|
font-size: 2.5rem;
|
|
line-height: 1.025;
|
|
}
|
|
|
|
|
|
.domain-links{
|
|
font-size: 1.5rem;
|
|
display:block;
|
|
}
|
|
|
|
.domain-image {
|
|
width: 125px;
|
|
padding-bottom: 1.5rem;
|
|
}
|
|
|
|
.list-items {
|
|
text-align: center;
|
|
padding: 2em;
|
|
/* border: 1px solid @border-color;*/
|
|
border-radius: .5rem;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.list.grid-of-four{
|
|
grid-gap: 2.5rem;
|
|
}
|
|
|
|
.list{
|
|
list-style: none;
|
|
padding-left: 0;
|
|
}
|
|
/*utilities*/
|
|
|
|
.left-aligned{
|
|
text-align: left;
|
|
}
|
|
|
|
.right-aligned{
|
|
text-align: right;
|
|
}
|
|
|
|
.centered{
|
|
text-align: center;
|
|
}
|
|
|
|
.text-muted{
|
|
color: @text-muted;
|
|
}
|
|
|
|
.text-light{
|
|
color: @text-light;
|
|
}
|
|
|
|
.text-white{
|
|
color:#fff;
|
|
}
|
|
.grid-of-four{
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
|
|
.intro-copy{
|
|
font-size: 1.5rem;
|
|
max-width: @screen-max/2;
|
|
margin: 0 auto 1.5rem auto;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
.community-bg .intro-copy{
|
|
max-width:800px;
|
|
}
|
|
|
|
.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: all 0.3s ease 0s;
|
|
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;
|
|
}
|
|
}
|
|
|
|
.gray-bg{
|
|
background-color: @light-bg;
|
|
}
|
|
.dark-bg{
|
|
background-color: @text-dark;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.secondary-link{
|
|
color:@text-light;
|
|
transition: @transition-color;
|
|
&:hover{
|
|
color: @text-dark;
|
|
}
|
|
}
|
|
|
|
.three-column {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.list-unstyled{
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.list-unstyled li {
|
|
list-style: none;
|
|
}
|
|
|
|
.bulleted-list {
|
|
margin: 0;
|
|
list-style: circle;
|
|
padding-left: 1em;
|
|
}
|
|
|
|
.bulleted-list li {
|
|
padding-bottom: 1em;
|
|
}
|
|
|
|
.footer-row {
|
|
display: flex;
|
|
text-align: left;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.footer-list {
|
|
padding-left: 0;
|
|
padding: ;
|
|
}
|
|
.list-unstyled li {
|
|
list-style: none;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.top-spacer {
|
|
margin-top: 3rem;
|
|
}
|
|
.page-container {
|
|
display: flex;
|
|
max-width: @screen-max;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.active{
|
|
color: @text-dark;
|
|
}
|
|
.breadcrumb {
|
|
padding: 0;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.breadcrumb a, .breadcrumb a:focus, .breadcrumb a:visited {
|
|
background-color: transparent;
|
|
color: @text-muted;
|
|
}
|
|
|
|
.breadcrumb a: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.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{
|
|
text-decoration: underline;
|
|
color: @text-muted;
|
|
&:hover{
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
.footer-icon {
|
|
width: 1.5rem;
|
|
margin-right: .5em;
|
|
}
|
|
|
|
/* loaned from bootstrap*/
|
|
|
|
|
|
.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;
|
|
}
|
|
|
|
.table-bordered {
|
|
border: 1px solid @border-color;
|
|
}
|
|
|
|
.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 @border-color;
|
|
}
|
|
|
|
.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: .5em;
|
|
vertical-align: top;
|
|
border-top: 1px solid @light-border-color;
|
|
}
|
|
|
|
.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: 1px solid @border-color;
|
|
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-in-out .15s, box-shadow ease-in-out .15s;
|
|
}
|
|
|
|
code {
|
|
color: @red;
|
|
background: lighten(@red-extra-light, 10%);
|
|
padding: .25em;
|
|
border-radius: .25em;
|
|
font-size: .85em;
|
|
}
|
|
|
|
/*loaned from frappe*/
|
|
.page-card {
|
|
max-width: 360px;
|
|
padding: 1em;
|
|
margin: 8rem auto;
|
|
border: 1px solid @border-color;
|
|
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: 1px solid @border-color;
|
|
}
|
|
|
|
.login-content .btn {
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: @brand-primary;
|
|
border-color: @brand-primary;
|
|
color: #fff;
|
|
transition: background-color .5s 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*/
|
|
.headers(@style) {
|
|
h1, h2, h3, h4, h5, h6 {
|
|
@style();
|
|
}
|
|
}
|
|
|
|
.blog-text {
|
|
.headers({
|
|
margin-top: 3em;
|
|
margin-bottom: 1em;
|
|
font-weight:bold;
|
|
color: @text-color;
|
|
});
|
|
}
|
|
|
|
.blog-list-content {
|
|
border: 0px;
|
|
background: transparent;
|
|
}
|
|
|
|
.blog-list-item {
|
|
padding-top: 4em;
|
|
padding-bottom: 4em;
|
|
border-bottom: 1px solid @navbar-default-border;
|
|
&:last-child{
|
|
border-bottom: 0;
|
|
}
|
|
a {
|
|
color: @text-muted;
|
|
}
|
|
h1{
|
|
margin-bottom: .5em;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.blogpost-cover-img{
|
|
width: 75%;
|
|
}
|
|
|
|
.blog-list-item .avatar {
|
|
margin-right: 1em;
|
|
}
|
|
|
|
.blog-list-item .blog-header {
|
|
font-size: 1.6em;
|
|
}
|
|
|
|
.blog-header {
|
|
font-size: 2em;
|
|
font-weight:bold;
|
|
}
|
|
.blog-comments {
|
|
position: relative;
|
|
border-top: 1px solid @border-color;
|
|
}
|
|
.blog-info {
|
|
margin: 2em 0;
|
|
}
|
|
.blog-text {
|
|
line-height: 2;
|
|
font-size: 1.25em;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.blog-content{
|
|
margin-bottom: 3em;
|
|
}
|
|
|
|
.blogger {
|
|
padding-top: 0px;
|
|
padding-bottom: 3em;
|
|
}
|
|
.blogger-name {
|
|
margin-top: .25em;
|
|
}
|
|
|
|
.post-description {
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.blog-list-item .avatar {
|
|
margin-right: 1em;
|
|
}
|
|
|
|
.avatar {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
width: 50px;
|
|
height: 50px;
|
|
}
|
|
.avatar img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.inline-block {
|
|
display: inline-block;
|
|
}
|