responsive-tests.less 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. // stylelint-disable selector-no-qualifying-type, declaration-no-important
  2. // Responsive (scrollable) doc tables
  3. .table-responsive .highlight pre {
  4. white-space: normal;
  5. }
  6. // Utility classes table
  7. .bs-table th small,
  8. .responsive-utilities th small {
  9. display: block;
  10. font-weight: 400;
  11. color: #999;
  12. }
  13. .responsive-utilities tbody th {
  14. font-weight: 400;
  15. }
  16. .responsive-utilities td {
  17. text-align: center;
  18. }
  19. .responsive-utilities td.is-visible {
  20. color: #468847;
  21. background-color: #dff0d8 !important;
  22. }
  23. .responsive-utilities td.is-hidden {
  24. color: #ccc;
  25. background-color: #f9f9f9 !important;
  26. }
  27. // Responsive tests
  28. .responsive-utilities-test {
  29. margin-top: 5px;
  30. }
  31. .responsive-utilities-test .col-xs-6 {
  32. margin-bottom: 10px;
  33. }
  34. .responsive-utilities-test span {
  35. display: block;
  36. padding: 15px 10px;
  37. font-size: 14px;
  38. font-weight: 700;
  39. line-height: 1.1;
  40. text-align: center;
  41. border-radius: 4px;
  42. }
  43. .visible-on .col-xs-6 .hidden-xs,
  44. .visible-on .col-xs-6 .hidden-sm,
  45. .visible-on .col-xs-6 .hidden-md,
  46. .visible-on .col-xs-6 .hidden-lg,
  47. .hidden-on .col-xs-6 .hidden-xs,
  48. .hidden-on .col-xs-6 .hidden-sm,
  49. .hidden-on .col-xs-6 .hidden-md,
  50. .hidden-on .col-xs-6 .hidden-lg {
  51. color: #999;
  52. border: 1px solid #ddd;
  53. }
  54. .visible-on .col-xs-6 .visible-xs-block,
  55. .visible-on .col-xs-6 .visible-sm-block,
  56. .visible-on .col-xs-6 .visible-md-block,
  57. .visible-on .col-xs-6 .visible-lg-block,
  58. .hidden-on .col-xs-6 .visible-xs-block,
  59. .hidden-on .col-xs-6 .visible-sm-block,
  60. .hidden-on .col-xs-6 .visible-md-block,
  61. .hidden-on .col-xs-6 .visible-lg-block {
  62. color: #468847;
  63. background-color: #dff0d8;
  64. border: 1px solid #d6e9c6;
  65. }