Advertisement
Eltafez

FTU Template #1

Feb 10th, 2016
633
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.45 KB | None | 0 0
  1. [styleclass=nav][
  2. ][accordion][
  3. ][a-section="Title 1"]Text 1[/a-section][
  4. ][a-section="Title 2"]Text 2[/a-section][
  5. ][a-section="Title 3"]Text 3[/a-section][
  6. ][a-section="Title 4"]Text 4[/a-section][
  7. ][a-section="Title 5"]Text 5[/a-section][
  8. ][a-section="Title 6"]Text 5[/a-section][
  9. ][/accordion][
  10. ][/styleclass][
  11. ][styleclass=mainpage]Main page
  12. [styleclass=credit][
  13. ]free-to-use template by [url=/user/Eltafez]Eltafez[/url][
  14. ][/styleclass][/styleclass][
  15. ][
  16.  
  17.  
  18. ][style]
  19. // --- Customizable. Please make sure the option ends with a semi-colon --> ;
  20.  
  21. @fullHeight: 400px;
  22. @textFont: inherit;
  23. @creditColorBg: black;
  24. @creditColorFg: white;
  25.  
  26. @pageTextAlign: center;
  27. @pagePadding: 2%;
  28. @pageColorFg: white;
  29. @pageColorBg: black;
  30.  
  31. @linkColorFg: silver;
  32. @linkColorHover: orange;
  33.  
  34. @tabAmount: 6;
  35. @tabTextAlign: center;
  36. @tabPadding: 1%;
  37. @tabHeight: 6%;
  38. @tabColorFg: black;
  39. @tabColorBg: white;
  40. @tabBorderWidth: 1px;
  41. @tabBorderStyle: solid;
  42. @tabBorderColor: black;
  43. @tabBorderRadius: 5px 5px 0 0;
  44.  
  45. @tableColorBg: black;
  46. @tableColorFg: white;
  47. @tableBorderColor: white;
  48.  
  49. // --- Please do not touch.
  50. @tabWidth: (@fullWidth/@tabAmount) - (@tabPadding*2) - (@tabBorderWidth*2);
  51. @fullWidth: 100%;
  52. @textSize: auto;
  53.  
  54. // --- Actual code, change with caution.
  55. .nav>.panel {
  56. width: @fullWidth;
  57. border: 0;
  58. min-width: @tabHeight;
  59. background: transparent;
  60. height: @fullHeight;
  61. border: 0;
  62. font-family: @textFont;
  63. font-size: @textSize;
  64.  
  65. &>h3 {
  66. >a { color: @tabColorFg; }
  67. background-color: @tabColorBg;
  68. width: @tabWidth;
  69. height: @tabHeight;
  70. display: inline-block;
  71. border-radius: @tabBorderRadius;
  72. padding: @tabPadding;
  73. float: left;
  74. text-align: @tabTextAlign;
  75. border: @tabBorderWidth @tabBorderStyle @tabBorderColor;
  76. }
  77. &>div {
  78. .page;
  79. z-index: 2;
  80. }
  81.  
  82. &>h3:hover {
  83. &>a { color: @linkColorHover; }
  84. background: @tabColorFg;
  85. }
  86. }
  87.  
  88. .mainpage {
  89. .page;
  90. z-index: 1;
  91. }
  92.  
  93. .panel {
  94. border: 1px solid @tabColorBg;
  95. &>h3 {
  96. &>a { color: @tabColorFg; }
  97. color: @tabColorFg;
  98. background: @tabColorBg;
  99. text-align: @tabTextAlign;
  100. }
  101. &>div {
  102. color: @pageColorFg;
  103. background: @pageColorBg;
  104. text-align: @pageTextAlign;
  105. }
  106. }
  107.  
  108. .page {
  109. display: inline-block;
  110. width: (@fullWidth - (@pagePadding*2));
  111. color: @pageColorFg;
  112. background-color: @pageColorBg;
  113. padding: @pagePadding;
  114. clear: both;
  115. position: absolute;
  116. top: (@tabHeight + (@tabPadding*2) + (@tabBorderWidth*2));
  117. bottom: @pagePadding;
  118. text-align: @pageTextAlign;
  119. }
  120.  
  121. a { color: @linkColorFg;}
  122. a:hover { color: @linkColorHover; }
  123.  
  124. .bbcode_table {
  125. margin: 0 auto;
  126. border: 0;
  127. tr {
  128. th, td {
  129. padding: 3px;
  130. border: 1px solid @tableColorFg;
  131. }
  132.  
  133. th {
  134. color: @tableColorBg;
  135. background: @tableColorFg;
  136. }
  137.  
  138. td {
  139. color: @tableColorFg;
  140. background: @tableColorBg;
  141. }
  142. }
  143. }
  144.  
  145. span.bbcode_tooltip {
  146. border-bottom: 1px dashed @pageColorFg;
  147. }
  148.  
  149. .credit {
  150. color: @creditColorFg;
  151. background-color: @creditColorBg;
  152. z-index: 5;
  153. position: absolute;
  154. bottom: @pagePadding;
  155. right: @pagePadding;
  156. font-size: 9px;
  157. padding: 2px;
  158. }
  159. [/style]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement