bootswatch.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. // Cosmo 3.1.1
  2. // Bootswatch
  3. // -----------------------------------------------------
  4. @import url("//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700");
  5. // Navbar =====================================================================
  6. // Buttons ====================================================================
  7. .btn {
  8. border: none;
  9. }
  10. // Typography =================================================================
  11. .text-primary,
  12. .text-primary:hover {
  13. color: @brand-primary;
  14. }
  15. .text-success,
  16. .text-success:hover {
  17. color: @brand-success;
  18. }
  19. .text-danger,
  20. .text-danger:hover {
  21. color: @brand-danger;
  22. }
  23. .text-warning,
  24. .text-warning:hover {
  25. color: @brand-warning;
  26. }
  27. .text-info,
  28. .text-info:hover {
  29. color: @brand-info;
  30. }
  31. // Tables =====================================================================
  32. table,
  33. .table {
  34. a {
  35. text-decoration: underline;
  36. }
  37. .success,
  38. .warning,
  39. .danger,
  40. .info {
  41. color: #fff;
  42. a {
  43. color: #fff;
  44. }
  45. }
  46. }
  47. // Forms ======================================================================
  48. .has-warning {
  49. .help-block,
  50. .control-label {
  51. color: @brand-warning;
  52. }
  53. .form-control,
  54. .form-control:focus {
  55. border: 1px solid @brand-warning;
  56. }
  57. }
  58. .has-error {
  59. .help-block,
  60. .control-label {
  61. color: @brand-danger;
  62. }
  63. .form-control,
  64. .form-control:focus {
  65. border: 1px solid @brand-danger;
  66. }
  67. }
  68. .has-success {
  69. .help-block,
  70. .control-label {
  71. color: @brand-success;
  72. }
  73. .form-control,
  74. .form-control:focus {
  75. border: 1px solid @brand-success;
  76. }
  77. }
  78. // Navs =======================================================================
  79. .nav-pills {
  80. & > li > a {
  81. border-radius: 0;
  82. }
  83. }
  84. .dropdown-menu {
  85. & > li > a:hover,
  86. & > li > a:focus {
  87. background-image: none;
  88. }
  89. }
  90. // Indicators =================================================================
  91. .alert {
  92. border: none;
  93. .alert-link {
  94. text-decoration: underline;
  95. color: #fff;
  96. }
  97. }
  98. .label {
  99. border-radius: 0;
  100. }
  101. .close {
  102. opacity: 1;
  103. }
  104. // Progress bars ==============================================================
  105. .progress {
  106. height: 8px;
  107. .box-shadow(none);
  108. }
  109. // Containers =================================================================
  110. .panel {
  111. &-heading,
  112. &-footer {
  113. border-top-right-radius: 0;
  114. border-top-left-radius: 0;
  115. }
  116. }