您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

app.less 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. @media screen and (min-width: 1280px) {
  2. .md-main-content {
  3. margin-left: 10px;
  4. }
  5. }
  6. .md-ui-content {
  7. padding-top: 10px;
  8. padding-left: 10px;
  9. }
  10. .text-center() {
  11. text-align: center;
  12. }
  13. .border-radius(@radius) {
  14. -webkit-border-radius: @radius;
  15. -moz-border-radius: @radius;
  16. border-radius: @radius;
  17. }
  18. .no-text-select {
  19. -webkit-touch-callout: none;
  20. -webkit-user-select: none;
  21. -khtml-user-select: none;
  22. -moz-user-select: none;
  23. -ms-user-select: none;
  24. user-select: none;
  25. }
  26. .isa_info, .isa_success, .isa_warning, .isa_error {
  27. margin: 10px 0px;
  28. padding:12px;
  29. }
  30. .isa_info {
  31. color: #00529B;
  32. background-color: #BDE5F8;
  33. }
  34. .isa_success {
  35. color: #4F8A10;
  36. background-color: #DFF2BF;
  37. }
  38. .isa_warning {
  39. color: #9F6000;
  40. background-color: #FEEFB3;
  41. }
  42. .isa_error {
  43. color: #D8000C;
  44. background-color: #FFBABA;
  45. }
  46. .isa_info i, .isa_success i, .isa_warning i, .isa_error i {
  47. margin:10px 22px;
  48. font-size:2em;
  49. vertical-align:middle;
  50. }
  51. md-sidenav {
  52. height: 100%;
  53. }
  54. .md-content-nav {
  55. overflow-x: hidden;
  56. height: 100%;
  57. }
  58. md-toolbar.md-table-toolbar.alternate .md-toolbar-tools {
  59. color: #1e88e5;
  60. font-size: 16px;
  61. background-color: #e3f2fd;
  62. }
  63. md-toolbar.md-table-toolbar form {
  64. width: 100%;
  65. }
  66. md-toolbar.md-table-toolbar form .md-errors-spacer {
  67. display: none;
  68. }
  69. .md-button.md-icon-button.no-margin {
  70. margin: 0;
  71. padding: 0;
  72. }
  73. md-dialog {
  74. min-width: 50%;
  75. }
  76. .overme {
  77. overflow: hidden;
  78. white-space: nowrap;
  79. text-overflow: ellipsis;
  80. }
  81. .md-icon-timepicker {
  82. margin-bottom: 25px !important;
  83. }
  84. md-table-container tbody tr {
  85. &:hover {
  86. background-color: rgba(0, 0, 0, 0.08);
  87. }
  88. }
  89. .col-icon(@count) {
  90. width: 60px * @count;
  91. white-space: nowrap;
  92. }
  93. .col-icon-1 {
  94. .col-icon(1);
  95. }
  96. .col-icon-2 {
  97. .col-icon(2);
  98. }
  99. .col-icon-3 {
  100. .col-icon(3);
  101. }
  102. .col-icon-4 {
  103. .col-icon(4);
  104. }
  105. .md-button-fix {
  106. padding-top: 8px;
  107. }
  108. .has-changed-warning {
  109. padding-left: 8px;
  110. }
  111. .md-input-small {
  112. margin: 0;
  113. .md-errors-spacer {
  114. min-height: 0;
  115. height: 0;
  116. }
  117. }
  118. .newline-text {
  119. white-space: pre-line;
  120. }
  121. .justify-text {
  122. text-align: justify;
  123. margin-right: 15px;
  124. }
  125. .article-text {
  126. .justify-text();
  127. }
  128. .article-picture {
  129. max-width: 300px;
  130. max-height: 300px;
  131. }
  132. .article-picture-caption {
  133. font-size: 0.8em;
  134. text-align: justify;
  135. .justify-text();
  136. }
  137. .grid-picture {
  138. cursor: pointer;
  139. img {
  140. max-width: 100%;
  141. max-height: 100%;
  142. }
  143. }
  144. .image-grid {
  145. .red {
  146. background: #ff8a80;
  147. }
  148. .blue {
  149. background: #448aff;
  150. }
  151. .purple {
  152. background: #b388ff;
  153. }
  154. figure {
  155. padding: 12px;
  156. }
  157. md-grid-tile-footer {
  158. background: rgba(0, 0, 0, 0.68);
  159. height: 36px;
  160. figcaption {
  161. width: 100%;
  162. h3 {
  163. margin: 0;
  164. font-weight: 700;
  165. width: 100%;
  166. text-align: center;
  167. }
  168. }
  169. }
  170. .article-picture {
  171. max-width: 100%;
  172. max-height: 100%;
  173. }
  174. }
  175. /**
  176. ========================================================
  177. **/
  178. @font-face {
  179. font-family: 'Material Icons';
  180. font-style: normal;
  181. font-weight: 400;
  182. src: url(../fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
  183. src: local('Material Icons'),
  184. local('MaterialIcons-Regular'),
  185. url(../fonts/MaterialIcons-Regular.woff2) format('woff2'),
  186. url(../fonts/MaterialIcons-Regular.woff) format('woff'),
  187. url(../fonts/MaterialIcons-Regular.ttf) format('truetype');
  188. }
  189. .material-icons {
  190. font-family: 'Material Icons';
  191. font-weight: normal;
  192. font-style: normal;
  193. font-size: 24px; /* Preferred icon size */
  194. display: inline-block;
  195. line-height: 1;
  196. text-transform: none;
  197. letter-spacing: normal;
  198. word-wrap: normal;
  199. white-space: nowrap;
  200. direction: ltr;
  201. /* Support for all WebKit browsers. */
  202. -webkit-font-smoothing: antialiased;
  203. /* Support for Safari and Chrome. */
  204. text-rendering: optimizeLegibility;
  205. /* Support for Firefox. */
  206. -moz-osx-font-smoothing: grayscale;
  207. /* Support for IE. */
  208. font-feature-settings: 'liga';
  209. }