You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
1.8 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic - Rail
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributor
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Theme
  13. *******************************/
  14. @type : 'element';
  15. @element : 'rail';
  16. @import '../../semantic.config';
  17. /*******************************
  18. Rails
  19. *******************************/
  20. .ui.rail {
  21. font-size: @size;
  22. position: absolute;
  23. top: 0%;
  24. width: @width;
  25. box-sizing: @contentSizing;
  26. }
  27. .ui.left.rail {
  28. left: auto;
  29. right: 100%;
  30. padding: 0em (@distance / 2) 0em 0em;
  31. margin: 0em (@distance / 2) 0em 0em;
  32. }
  33. .ui.right.rail {
  34. left: 100%;
  35. right: auto;
  36. padding: 0em 0em 0em (@distance / 2);
  37. margin: 0em 0em 0em (@distance / 2);
  38. }
  39. /*******************************
  40. Variations
  41. *******************************/
  42. /*--------------
  43. Divided
  44. ---------------*/
  45. .ui.left.dividing.rail {
  46. padding: 0em (@dividedDistance / 2) 0em 0em;
  47. margin: 0em (@dividedDistance / 2) 0em 0em;
  48. border-right: @dividedBorder;
  49. }
  50. .ui.right.dividing.rail {
  51. border-left: @dividedBorder;
  52. padding: 0em 0em 0em (@dividedDistance / 2);
  53. margin: 0em 0em 0em (@dividedDistance / 2);
  54. }
  55. /*--------------
  56. Distance
  57. ---------------*/
  58. .ui.close.left.rail {
  59. padding: 0em (@closeDistance / 2) 0em 0em;
  60. margin: 0em (@closeDistance / 2) 0em 0em;
  61. }
  62. .ui.close.right.rail {
  63. padding: 0em 0em 0em (@closeDistance / 2);
  64. margin: 0em 0em 0em (@closeDistance / 2);
  65. }
  66. .ui.very.close.left.rail {
  67. padding: 0em (@veryCloseDistance / 2) 0em 0em;
  68. margin: 0em (@veryCloseDistance / 2) 0em 0em;
  69. }
  70. .ui.very.close.right.rail {
  71. padding: 0em 0em 0em (@veryCloseDistance / 2);
  72. margin: 0em 0em 0em (@veryCloseDistance / 2);
  73. }
  74. /*--------------
  75. Sizing
  76. ---------------*/
  77. .ui.rail {
  78. font-size: @size;
  79. }
  80. .loadUIOverrides();