lixin-web
Version:
vue and bootstrap
129 lines (107 loc) • 1.89 kB
text/less
//
// Scaffolding
// --------------------------------------------------
// Reset the box-sizing
//
// Heads up! This reset may cause conflicts with some third-party widgets.
// For recommendations on resolving such conflicts, see
// http://getbootstrap.com/getting-started/#third-box-sizing
* {
.box-sizing(border-box);
}
*:before,
*:after {
.box-sizing(border-box);
}
// Body reset
html {
font-size: 10px;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
body {
font-family: @font-family-base;
font-size: @font-size-base;
line-height: @line-height-base;
color: @text-color;
background-color: @body-bg;
}
html[login]{
body > .container{
display: none;
}
}
// Reset fonts for relevant elements
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
// Links
a {
color: @link-color;
text-decoration: none;
&:hover,
&:focus {
color: @link-hover-color;
text-decoration: @link-hover-decoration;
}
&:focus {
//.tab-focus();
outline: none;
}
}
figure {
margin: 0;
}
// Images
img {
vertical-align: middle;
}
[role="button"] {
cursor: pointer;
}
.container{
.center-block();
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0,0,0,0);
border: 0;
}
.footer{
color: #fff;
background: @brand-primary;
padding-top: 10px;
padding-bottom: 10px;
> div{
height: 100%;
}
text-align: center;
@media (min-width:@screen-md){
line-height: 100px - 20;
height: 100px;
text-align: left;
}
.pull-right{
cursor: pointer;
}
.imoon-top{
background: #e34da4;
border-radius:50%;
width: 37px;
color: #fff;
display: inline-block;
line-height: 37px;
font-size: 30px;text-align: center;
.icon-alignment();
margin-left: 5px;
}
}