popbean-react
Version:
let me think about something,comming soon...
162 lines (142 loc) • 2.71 kB
text/less
/****/
@import "font-icons/style.css";
@import "typography.less";
@import "page-with-nav.less";
// Media Queries
@device-large: ~"only screen and (min-width: 992px)";
@device-medium: ~"only screen and (min-width: 768px)";
@device-small: ~"only screen and (min-width: 375px)";
// Spacing
@desktop-gutter: 24px;//
@desktop-keyline-increment: 64px;//4
// Colors
@grey-200: #eeeeee;
@grey-300: #e0e0e0;
@dark-white: rgba(255, 255, 255, 0.87);
@border-color: @grey-300;
a {
color: #ff4081; //pinkA200
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
html {
font-family: 'Roboto', sans-serif;
}
body, h1, h2, h3, h4, h5, h6 {
margin: 0;
}
/* App Specific Styles */
.logo {
cursor: pointer;
.mui-font-style-headline;
.mui-text-full-white;
line-height: @desktop-keyline-increment;
.mui-font-weight-light;
background-color: #00bcd4; //cyan500
padding-left: @desktop-gutter;
padding-top: 0;
margin-bottom: 8px;
}
.app-content-canvas {
padding-top: (@desktop-keyline-increment);
}
/*
.baseline-grid {
background-image: url('images/baseline-20px-grid.gif');
}*/
.code-example {
background-color: #ffffff;
margin-bottom: 32px;
.example-label {
.mui-font-style-menu;
text-transform: uppercase;
color: rgba(0, 0, 0, 0.26); // minBlack;
padding: 8px;
margin-bottom: 0;
}
.example-block,
.code-block {
padding: @desktop-gutter;
margin: 0;
}
.code-block {
border-top: solid 1px @border-color;
border-radius: 0 0 2px 2px;
}
}
.example-menu {
width: 100%;
}
.example-menu-nested {
width: (64px * 3);
}
.no-wrap {
white-space: nowrap;
}
.github-icon-button {
color: white;
fill: white;
}
.muidocs-icon-custom-github:before {
content: "\e625";
}
//
.clearfix() {
&:before,
&:after {
content: " "; // 1
display: table; // 2
}
&:after {
clear: both;
}
}
.text-field-example {
.clearfix();
.text-field-example-group {
width: 100%;
float: left;
margin-bottom: 32px;
@media @device-large {
width: 50%;
}
}
.text-field-example-row {
width: 100%;
float: left;
margin-bottom: 32px;
@media @device-large {
width: 100%;
}
}
}
.mui-text-field{
width:100%;
}
/**/
.ctrl-bar{
text-align:center;
}
.ctrl-bar div{
display: inline-block;
}
/*解决table边框的问题*/
table {
border-collapse: collapse;
border-spacing: 0;
}
.example-label {
.mui-font-style-menu;
text-transform: uppercase;
color: rgba(0, 0, 0, 0.26); // minBlack;
padding: 8px;
margin-bottom: 0;
}
@media (min-height: 500px) {
.modal-body { height: 400px; }
}
@media (min-height: 800px) {
.modal-body { height: 700px; }
}