demo
This commit is contained in:
parent
5334a8e785
commit
129b7b1a1e
File diff suppressed because one or more lines are too long
|
@ -2181,12 +2181,12 @@
|
|||
.text-accent-contrast {
|
||||
color: rgb(255,255,255) !important; }
|
||||
|
||||
/*
|
||||
* 保护有用的浏览器默认样式而不是完全去掉它们
|
||||
* 一般化的样式:为大部分HTML元素提供
|
||||
* 修复浏览器自身的bug并保证各浏览器的一致性
|
||||
* 优化CSS可用性:用一些小技巧
|
||||
* 解释代码:用注释和详细的文档来
|
||||
/*
|
||||
* 保护有用的浏览器默认样式而不是完全去掉它们
|
||||
* 一般化的样式:为大部分HTML元素提供
|
||||
* 修复浏览器自身的bug并保证各浏览器的一致性
|
||||
* 优化CSS可用性:用一些小技巧
|
||||
* 解释代码:用注释和详细的文档来
|
||||
*/
|
||||
html {
|
||||
width: 100%;
|
||||
|
@ -2196,25 +2196,25 @@ html {
|
|||
-ms-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%; }
|
||||
|
||||
/*
|
||||
* 使body占据整个屏幕删除body边距,因此布局容器不会导致额外的溢出。
|
||||
* 去掉默认的margin
|
||||
/*
|
||||
* 使body占据整个屏幕删除body边距,因此布局容器不会导致额外的溢出。
|
||||
* 去掉默认的margin
|
||||
*/
|
||||
body {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: 100%; }
|
||||
|
||||
/*
|
||||
* 主显示屏复位为IE支持
|
||||
* Source: http://weblog.west-wind.com/posts/2015/Jan/12/main-HTML5-Tag-not-working-in-Internet-Explorer-91011
|
||||
/*
|
||||
* 主显示屏复位为IE支持
|
||||
* Source: http://weblog.west-wind.com/posts/2015/Jan/12/main-HTML5-Tag-not-working-in-Internet-Explorer-91011
|
||||
*/
|
||||
main {
|
||||
display: block; }
|
||||
|
||||
/*
|
||||
* 对具有hidden属性的元素不应用显示。
|
||||
* IE 9 and 10 support.
|
||||
/*
|
||||
* 对具有hidden属性的元素不应用显示。
|
||||
* IE 9 and 10 support.
|
||||
*/
|
||||
*[hidden] {
|
||||
display: none !important; }
|
||||
|
@ -2415,15 +2415,15 @@ body {
|
|||
i.uf {
|
||||
padding: 0 5px; }
|
||||
|
||||
/*
|
||||
* 选择时删除文本阴影,及设置默认选中颜色
|
||||
/*
|
||||
* 选择时删除文本阴影,及设置默认选中颜色
|
||||
*/
|
||||
::selection {
|
||||
background: rgb(187,222,251);
|
||||
text-shadow: none; }
|
||||
|
||||
/*
|
||||
* 默认水平规则
|
||||
/*
|
||||
* 默认水平规则
|
||||
*/
|
||||
hr {
|
||||
display: block;
|
||||
|
@ -2433,8 +2433,8 @@ hr {
|
|||
margin: 1em 0;
|
||||
padding: 0; }
|
||||
|
||||
/*
|
||||
* 删除音频,画布,iframes,图像,视频和其容器底部之间的差距
|
||||
/*
|
||||
* 删除音频,画布,iframes,图像,视频和其容器底部之间的差距
|
||||
*/
|
||||
audio,
|
||||
canvas,
|
||||
|
@ -2444,14 +2444,14 @@ svg,
|
|||
video {
|
||||
vertical-align: middle; }
|
||||
|
||||
/*
|
||||
* 仅允许垂直调整textareas的大小
|
||||
/*
|
||||
* 仅允许垂直调整textareas的大小
|
||||
*/
|
||||
textarea {
|
||||
resize: vertical; }
|
||||
|
||||
/* ==========================================================================
|
||||
浏览器升级提示
|
||||
/* ==========================================================================
|
||||
浏览器升级提示
|
||||
========================================================================== */
|
||||
.browserupgrade {
|
||||
margin: 0.2em 0;
|
||||
|
@ -2459,8 +2459,8 @@ textarea {
|
|||
color: #000;
|
||||
padding: 0.2em 0; }
|
||||
|
||||
/*
|
||||
* 适用于屏幕阅读器的隐藏
|
||||
/*
|
||||
* 适用于屏幕阅读器的隐藏
|
||||
*/
|
||||
.visuallyhidden {
|
||||
border: 0;
|
||||
|
@ -2472,9 +2472,9 @@ textarea {
|
|||
position: absolute;
|
||||
width: 1px; }
|
||||
|
||||
/*
|
||||
* 扩展.visuallyhidden类以允许元素在通过键盘导航时是可对焦的:
|
||||
* https://www.drupal.org/node/897638
|
||||
/*
|
||||
* 扩展.visuallyhidden类以允许元素在通过键盘导航时是可对焦的:
|
||||
* https://www.drupal.org/node/897638
|
||||
*/
|
||||
.visuallyhidden.focusable:active,
|
||||
.visuallyhidden.focusable:focus {
|
||||
|
@ -2485,9 +2485,9 @@ textarea {
|
|||
position: static;
|
||||
width: auto; }
|
||||
|
||||
/* ==========================================================================
|
||||
打印样式。内联以避免额外的HTTP请求
|
||||
|
||||
/* ==========================================================================
|
||||
打印样式。内联以避免额外的HTTP请求
|
||||
|
||||
========================================================================== */
|
||||
@media print {
|
||||
*,
|
||||
|
@ -2507,9 +2507,9 @@ textarea {
|
|||
content: " (" attr(href) ")"; }
|
||||
abbr[title]:after {
|
||||
content: " (" attr(title) ")"; }
|
||||
/*
|
||||
* 不显示片段标识符的链接,
|
||||
* 或使用`javascript:`伪协议
|
||||
/*
|
||||
* 不显示片段标识符的链接,
|
||||
* 或使用`javascript:`伪协议
|
||||
*/
|
||||
a[href^="#"]:after,
|
||||
a[href^="javascript:"]:after {
|
||||
|
@ -2518,9 +2518,9 @@ textarea {
|
|||
blockquote {
|
||||
border: 1px solid #999;
|
||||
page-break-inside: avoid; }
|
||||
/*
|
||||
* 打印表格:
|
||||
* http://css-discuss.incutio.com/wiki/Printing_Tables
|
||||
/*
|
||||
* 打印表格:
|
||||
* http://css-discuss.incutio.com/wiki/Printing_Tables
|
||||
*/
|
||||
thead {
|
||||
display: table-header-group; }
|
||||
|
@ -2538,8 +2538,8 @@ textarea {
|
|||
h3 {
|
||||
page-break-after: avoid; } }
|
||||
|
||||
/*
|
||||
*删除FAB按钮周围的不需要的框 ,主要兼容ios的safari和部分android
|
||||
/*
|
||||
*删除FAB按钮周围的不需要的框 ,主要兼容ios的safari和部分android
|
||||
**/
|
||||
a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
||||
.mdl-icon-toggle, .mdl-item, .mdl-radio, .mdl-slider, .mdl-switch, .mdl-tabs__tab {
|
||||
|
@ -5683,7 +5683,7 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
|||
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
|
||||
background-color: #fff;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px; }
|
||||
border-radius: 3px; }
|
||||
.u-panel .u-panel-heading {
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
|
@ -6402,7 +6402,7 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
|||
.u-button::-moz-focus-inner {
|
||||
border: 0; }
|
||||
.u-button:hover {
|
||||
background-color: rgb(238,238,238);
|
||||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(238,238,238); }
|
||||
.u-button:active {
|
||||
background-color: rgb(189,189,189);
|
||||
|
@ -6410,7 +6410,7 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
|||
.u-button.colored {
|
||||
color: rgb(245, 60, 50); }
|
||||
.u-button.colored:focus:not(:active) {
|
||||
background-color: rgb(238,238,238);
|
||||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(189,189,189); }
|
||||
.u-button.disable {
|
||||
-webkit-box-shadow: none;
|
||||
|
@ -6453,7 +6453,7 @@ input.u-button[type="submit"] {
|
|||
color: #333;
|
||||
background-color: #fff;
|
||||
border-color: #ccc; }
|
||||
.u-button-default:hover, .u-button-default:focus, .u-button-default:active {
|
||||
.u-button-default:hover, .u-button-default:active {
|
||||
background-color: #e6e6e6;
|
||||
border-color: #adadad; }
|
||||
|
||||
|
@ -6463,24 +6463,23 @@ input.u-button[type="submit"] {
|
|||
background: rgb(255,255,255); }
|
||||
.u-button-border:hover {
|
||||
color: rgb(0,0,0);
|
||||
background-color: rgb(238,238,238);
|
||||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(165, 173, 186); }
|
||||
.u-button-border:active {
|
||||
color: rgb(0,0,0);
|
||||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(165, 173, 186); }
|
||||
.u-button-border:focus:not(:active) {
|
||||
color: rgb(0,0,0);
|
||||
background-color: rgb(238,238,238);
|
||||
border-color: rgb(165, 173, 186); }
|
||||
|
||||
.u-button.u-button-primary {
|
||||
color: rgb(255,255,255);
|
||||
background-color: rgb(245, 60, 50);
|
||||
border: 1px rgb(245, 60, 50) solid; }
|
||||
.u-button.u-button-primary.focus, .u-button.u-button-primary:focus, .u-button.u-button-primary:hover {
|
||||
.u-button.u-button-primary:hover {
|
||||
background-color: rgb(230, 0, 18);
|
||||
border-color: rgb(230, 0, 18); }
|
||||
.u-button.u-button-primary.focus, .u-button.u-button-primary:focus, .u-button.u-button-primary.u-button[disabled]:hover {
|
||||
background-color: rgb(245, 60, 50);
|
||||
border-color: rgb(245, 60, 50); }
|
||||
.u-button.u-button-primary.active, .u-button.u-button-primary:active {
|
||||
background-color: rgb(230, 0, 18);
|
||||
border-color: rgb(230, 0, 18); }
|
||||
|
@ -6489,9 +6488,12 @@ input.u-button[type="submit"] {
|
|||
color: rgb(0,0,0);
|
||||
background-color: rgb(224,224,224);
|
||||
border: 1px rgb(224,224,224) solid; }
|
||||
.u-button.u-button-secondary.focus, .u-button.u-button-secondary:focus, .u-button.u-button-secondary:hover {
|
||||
background-color: rgb(238,238,238);
|
||||
border-color: rgb(238,238,238); }
|
||||
.u-button.u-button-secondary:hover {
|
||||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(189,189,189); }
|
||||
.u-button.u-button-secondary.focus, .u-button.u-button-secondary:focus, .u-button.u-button-secondary.u-button[disabled]:hover {
|
||||
background-color: rgb(224,224,224);
|
||||
border-color: rgb(224,224,224); }
|
||||
.u-button.u-button-secondary.active, .u-button.u-button-secondary:active {
|
||||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(189,189,189); }
|
||||
|
@ -6500,9 +6502,12 @@ input.u-button[type="submit"] {
|
|||
color: rgb(255,255,255);
|
||||
background-color: rgb(244,67,54);
|
||||
border: 1px rgb(244,67,54) solid; }
|
||||
.u-button.u-button-danger.focus, .u-button.u-button-danger:focus, .u-button.u-button-danger:hover {
|
||||
.u-button.u-button-danger:hover {
|
||||
background-color: rgb(229,115,115);
|
||||
border-color: rgb(229,115,115); }
|
||||
.u-button.u-button-danger.focus, .u-button.u-button-danger:focus, .u-button.u-button-danger.u-button[disabled]:hover {
|
||||
background-color: rgb(244,67,54);
|
||||
border-color: rgb(244,67,54); }
|
||||
.u-button.u-button-danger.active, .u-button.u-button-danger:active {
|
||||
background-color: rgb(211,47,47);
|
||||
border-color: rgb(211,47,47); }
|
||||
|
@ -6511,9 +6516,12 @@ input.u-button[type="submit"] {
|
|||
color: rgb(255,255,255);
|
||||
background-color: rgb(0,188,212);
|
||||
border: 1px rgb(0,188,212) solid; }
|
||||
.u-button.u-button-info.focus, .u-button.u-button-info:focus, .u-button.u-button-info:hover {
|
||||
.u-button.u-button-info:hover {
|
||||
background-color: rgb(77,208,225);
|
||||
border-color: rgb(77,208,225); }
|
||||
.u-button.u-button-info.focus, .u-button.u-button-info:focus, .u-button.u-button-info.u-button[disabled]:hover {
|
||||
background-color: rgb(0,188,212);
|
||||
border-color: rgb(0,188,212); }
|
||||
.u-button.u-button-info.active, .u-button.u-button-info:active {
|
||||
background-color: rgb(0,151,167);
|
||||
border-color: rgb(0,151,167); }
|
||||
|
@ -6522,9 +6530,12 @@ input.u-button[type="submit"] {
|
|||
color: rgb(255,255,255);
|
||||
background-color: rgb(255,152,0);
|
||||
border: 1px rgb(255,152,0) solid; }
|
||||
.u-button.u-button-warning.focus, .u-button.u-button-warning:focus, .u-button.u-button-warning:hover {
|
||||
.u-button.u-button-warning:hover {
|
||||
background-color: rgb(255,183,77);
|
||||
border-color: rgb(255,183,77); }
|
||||
.u-button.u-button-warning.focus, .u-button.u-button-warning:focus, .u-button.u-button-warning.u-button[disabled]:hover {
|
||||
background-color: rgb(255,152,0);
|
||||
border-color: rgb(255,152,0); }
|
||||
.u-button.u-button-warning.active, .u-button.u-button-warning:active {
|
||||
background-color: rgb(245,124,0);
|
||||
border-color: rgb(245,124,0); }
|
||||
|
@ -6533,9 +6544,12 @@ input.u-button[type="submit"] {
|
|||
color: rgb(255,255,255);
|
||||
background-color: rgb(76,175,80);
|
||||
border: 1px rgb(76,175,80) solid; }
|
||||
.u-button.u-button-success.focus, .u-button.u-button-success:focus, .u-button.u-button-success:hover {
|
||||
.u-button.u-button-success:hover {
|
||||
background-color: rgb(129,199,132);
|
||||
border-color: rgb(129,199,132); }
|
||||
.u-button.u-button-success.focus, .u-button.u-button-success:focus, .u-button.u-button-success.u-button[disabled]:hover {
|
||||
background-color: rgb(76,175,80);
|
||||
border-color: rgb(76,175,80); }
|
||||
.u-button.u-button-success.active, .u-button.u-button-success:active {
|
||||
background-color: rgb(56,142,60);
|
||||
border-color: rgb(56,142,60); }
|
||||
|
@ -6544,9 +6558,12 @@ input.u-button[type="submit"] {
|
|||
color: rgb(255,255,255);
|
||||
background-color: rgb(97,97,97);
|
||||
border: 1px rgb(97,97,97) solid; }
|
||||
.u-button.u-button-dark.focus, .u-button.u-button-dark:focus, .u-button.u-button-dark:hover {
|
||||
.u-button.u-button-dark:hover {
|
||||
background-color: rgb(117,117,117);
|
||||
border-color: rgb(117,117,117); }
|
||||
.u-button.u-button-dark.focus, .u-button.u-button-dark:focus, .u-button.u-button-dark.u-button[disabled]:hover {
|
||||
background-color: rgb(97,97,97);
|
||||
border-color: rgb(97,97,97); }
|
||||
.u-button.u-button-dark.active, .u-button.u-button-dark:active {
|
||||
background-color: rgb(66,66,66);
|
||||
border-color: rgb(66,66,66); }
|
||||
|
@ -6555,9 +6572,12 @@ input.u-button[type="submit"] {
|
|||
color: rgb(97,97,97);
|
||||
background-color: rgb(255,255,255);
|
||||
border: 1px rgb(255,255,255) solid; }
|
||||
.u-button.u-button-light.focus, .u-button.u-button-light:focus, .u-button.u-button-light:hover {
|
||||
.u-button.u-button-light:hover {
|
||||
background-color: rgb(238,238,238);
|
||||
border-color: rgb(238,238,238); }
|
||||
.u-button.u-button-light.focus, .u-button.u-button-light:focus, .u-button.u-button-light.u-button[disabled]:hover {
|
||||
background-color: rgb(255,255,255);
|
||||
border-color: rgb(255,255,255); }
|
||||
.u-button.u-button-light.active, .u-button.u-button-light:active {
|
||||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(189,189,189); }
|
||||
|
@ -6632,8 +6652,8 @@ input.u-button[type="submit"] {
|
|||
background-color: #fff;
|
||||
border: 1px rgb(224,224,224) solid; }
|
||||
.u-button-border.u-button-secondary.focus, .u-button-border.u-button-secondary:focus, .u-button-border.u-button-secondary:hover {
|
||||
background-color: rgb(238,238,238);
|
||||
border-color: rgb(238,238,238);
|
||||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(189,189,189);
|
||||
color: #fff; }
|
||||
.u-button-border.u-button-secondary.active, .u-button-border.u-button-secondary:active {
|
||||
color: #fff;
|
||||
|
@ -6731,14 +6751,14 @@ input.u-button[type="submit"] {
|
|||
display: inline-block;
|
||||
padding: 0 12px;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
height: 32px;
|
||||
cursor: text;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
color: #424242;
|
||||
background-color: #fff;
|
||||
background-image: none;
|
||||
border: 1px solid #bdbdbd;
|
||||
border: 1px solid rgb(165, 173, 186);
|
||||
border-radius: 3px;
|
||||
transition: all .3s; }
|
||||
.u-form-control:focus {
|
||||
|
@ -6754,12 +6774,12 @@ input.u-button[type="submit"] {
|
|||
cursor: not-allowed; }
|
||||
|
||||
.u-form-control.lg {
|
||||
height: 38px;
|
||||
height: 40px;
|
||||
font-size: 14px; }
|
||||
|
||||
.u-form-control.sm {
|
||||
font-size: 12px;
|
||||
height: 24px; }
|
||||
height: 26px; }
|
||||
|
||||
.u-form-control-search-wrapper {
|
||||
position: absolute;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue