Box.less 649 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. @import "~assets/less/variable";
  2. .box {
  3. background-color: @body-background;
  4. //border-top: @primary-color 2px solid;
  5. border-radius: 2px;
  6. box-shadow: 0 1px 2px 0 rgba(0,0,0,.12),
  7. 0 -1px 0 0 rgba(0,0,0,.03);
  8. .header {
  9. padding: 0 20px;
  10. position: relative;
  11. .title {
  12. padding: 15px 0;
  13. font-size: 1.25em;
  14. font-weight: normal;
  15. i {
  16. margin-right: 5px;
  17. }
  18. }
  19. .tools {
  20. position: absolute;
  21. top: 11px;
  22. right: 20px;
  23. button {
  24. margin-left: 8px;
  25. i + span {
  26. margin-left: .5em;
  27. }
  28. }
  29. }
  30. }
  31. .body {
  32. padding: 0 20px;
  33. }
  34. }