Advertisement
Guest User

Untitled

a guest
May 5th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.05 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4.  
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Untitled Document</title>
  7. <style type="text/css">
  8.  
  9. body
  10. {
  11. margin: 0px;
  12. font-family: Arial, Helvetica, sans-serif;
  13. font-size: 12px;
  14. color: #333333;
  15. }
  16. .rmf-container
  17. {
  18. margin: 0 auto;
  19. width: 70%;
  20. }
  21. .rmf-header
  22. {
  23. padding: 20px 0px;
  24. }
  25. .rmf-logo
  26. {
  27. width: 30%;
  28. float: left;
  29. }
  30. .rmf-nav
  31. {
  32. width: 70%;
  33. float: left;
  34. font-family: Arial, Helvetica, sans-serif;
  35. font-size: 13px;
  36. font-weight: bold;
  37. color: #9b9b9b;
  38. text-transform: uppercase;
  39. text-align: right;
  40. }
  41. .clear
  42. {
  43. clear: both;
  44. }
  45. .rmf-banner
  46. {
  47.  
  48. background-image: url('images/main-banner.png');
  49. background-size: cover; /* <------ */
  50. background-repeat: no-repeat;
  51. background-position: center center; /* optional, center the image */
  52. height: 170px;
  53. -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
  54. -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
  55. box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
  56.  
  57. }
  58. .rmf-actions
  59. {
  60. border-radius: 0px 0px 20px 20px;
  61. -moz-border-radius: 0px 0px 20px 20px;
  62. -webkit-border-radius: 0px 0px 20px 20px;
  63. border: 0px solid #000000;
  64. background: rgba(255,255,255,1);
  65. background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(243,246,254,1) 100%);
  66. background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(100%, rgba(243,246,254,1)));
  67. background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(243,246,254,1) 100%);
  68. background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(243,246,254,1) 100%);
  69. background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(243,246,254,1) 100%);
  70. background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(243,246,254,1) 100%);
  71. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f3f6fe', GradientType=0 );
  72. -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
  73. -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
  74. box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
  75. height: 50px;
  76. width: 260px;
  77. float: right;
  78. z-index: -1;
  79. }
  80. h1
  81. {
  82. padding: 20px 0px;
  83. margin-top: 0px;
  84. }
  85. /*******************************/
  86. .tabs {
  87. position: relative;
  88. overflow: hidden;
  89. margin: 0 auto;
  90. /*width: 100%; */
  91. font-weight: 300;
  92. font-size: 1.25em;
  93. }
  94.  
  95. /* Nav */
  96. .tabs nav {
  97. text-align: left;
  98. }
  99.  
  100. .tabs nav ul {
  101. position: relative;
  102. display: -ms-flexbox;
  103. display: -webkit-flex;
  104. display: -moz-flex;
  105. display: -ms-flex;
  106. display: flex;
  107. margin: 0 auto;
  108. padding: 0;
  109. max-width: 1200px;
  110. list-style: none;
  111. -ms-box-orient: horizontal;
  112. -ms-box-pack: left;
  113. -webkit-flex-flow: row wrap;
  114. -moz-flex-flow: row wrap;
  115. -ms-flex-flow: row wrap;
  116. flex-flow: row wrap;
  117. justify-content: flex-start;
  118. }
  119.  
  120. .tabs nav ul li {
  121. position: relative;
  122. z-index: 1;
  123. display: block;
  124. margin: 0;
  125. text-align: left;
  126. padding: 0 35px;
  127. }
  128.  
  129. .tabs nav a {
  130. position: relative;
  131. display: block;
  132. overflow: hidden;
  133. text-overflow: ellipsis;
  134. white-space: nowrap;
  135. line-height: 2.5;
  136. }
  137.  
  138. .tabs nav a span {
  139. vertical-align: middle;
  140. font-size: 0.75em;
  141. }
  142.  
  143. .tabs nav li.tab-current a {
  144. color: #74777b;
  145. }
  146.  
  147. .tabs nav a:focus {
  148. outline: none;
  149. }
  150. /* Content */
  151. .content-wrap {
  152. position: relative;
  153. }
  154.  
  155. .content-wrap section {
  156. display: none;
  157. margin: 0 auto;
  158. padding: 1em;
  159. max-width: 1200px;
  160. text-align: left;
  161. }
  162.  
  163. .content-wrap section.content-current {
  164. display: block;
  165. }
  166.  
  167. .content-wrap section p {
  168. margin: 0;
  169. padding: 0.75em 0;
  170. color: rgba(40,44,42,0.05);
  171. font-weight: 900;
  172. font-size: 4em;
  173. line-height: 1;
  174. }
  175.  
  176. /* Fallback */
  177. .no-js .content-wrap section {
  178. display: block;
  179. padding-bottom: 2em;
  180. border-bottom: 1px solid rgba(255,255,255,0.6);
  181. }
  182.  
  183. .no-flexbox nav ul {
  184. display: block;
  185. }
  186.  
  187. .no-flexbox nav ul li {
  188. min-width: 15%;
  189. display: inline-block;
  190. }
  191.  
  192. @media screen and (max-width: 58em) {
  193. .tabs nav a.icon span {
  194. display: none;
  195. }
  196. .tabs nav a:before {
  197. margin-right: 0;
  198. }
  199. }
  200. /*****************************/
  201. /* Triangle and line */
  202. /*****************************/
  203. .tabs-style-linetriangle nav ul {
  204. border-bottom: 1px solid rgba(0,0,0,0.2);
  205. }
  206.  
  207. .tabs-style-linetriangle nav a {
  208. overflow: visible;
  209. -webkit-transition: color 0.2s;
  210. transition: color 0.2s;
  211. }
  212.  
  213. .tabs-style-linetriangle nav a span {
  214. display: block;
  215. overflow: hidden;
  216. text-overflow: ellipsis;
  217. white-space: nowrap;
  218. font-size: 1em;
  219. }
  220.  
  221. .tabs-style-linetriangle nav li.tab-current a:after,
  222. .tabs-style-linetriangle nav li.tab-current a:before {
  223. position: absolute;
  224. top: 100%;
  225. left: 50%;
  226. width: 0;
  227. height: 0;
  228. border: solid transparent;
  229. content: '';
  230. pointer-events: none;
  231. }
  232.  
  233. .tabs-style-linetriangle nav li.tab-current a:after {
  234. margin-left: -10px;
  235. border-width: 10px;
  236. border-top-color: #e7ecea;
  237. }
  238.  
  239. .tabs-style-linetriangle nav li.tab-current a:before {
  240. margin-left: -11px;
  241. border-width: 11px;
  242. border-top-color: rgba(0,0,0,0.2);
  243. }
  244.  
  245. @media screen and (max-width: 58em) {
  246. .tabs-style-linetriangle nav {
  247. font-size: 0.6em;
  248. }
  249. }
  250.  
  251. </style>
  252. <script src="modernizr.custom.js"></script>
  253. </head>
  254.  
  255. <body>
  256. <div class="rmf-container">
  257. <div class="rmf-header">
  258. <div class="rmf-logo"><img src="images/kpmg-logo.png" width="126" align="absmiddle" height="50" /></div>
  259. <div class="rmf-nav">homepage&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Activities&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reference&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actions&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/person-icon.png" width="43" height="43" align="absmiddle"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/live-chat.png" width="63" height="50" align="absmiddle" /></div>
  260. <div class="clear"></div>
  261. </div>
  262. </div>
  263. <div class="rmf-banner">
  264. <div class="rmf-container">
  265.  
  266. </div>
  267. </div>
  268. <div class="rmf-container">
  269. <div class="rmf-actions"></div>
  270. <div class="rmf-mainarea">
  271. <h1> Risk Management Portal</h1>
  272.  
  273. <div class="tabs tabs-style-linetriangle">
  274. <nav>
  275. <ul>
  276. <li class="tab-current"><a href="#section-linetriangle-1"><span>Activities</span></a></li>
  277. <li><a href="#section-linetriangle-2"><span>References</span></a></li>
  278. <li><a href="#section-linetriangle-3"><span>Actions</span></a></li>
  279.  
  280. </ul>
  281. </nav>
  282. <div class="content-wrap">
  283. <section id="section-linetriangle-1" class="content-current"><p>1</p></section>
  284. <section id="section-linetriangle-2"><p>2</p></section>
  285. <section id="section-linetriangle-3"><p>3</p></section>
  286. </div><!-- /content -->
  287. </div>
  288.  
  289. </div>
  290.  
  291. </div>
  292. <script src="cbpFWTabs.js"></script>
  293. <script>
  294. (function() {
  295.  
  296. [].slice.call( document.querySelectorAll( '.tabs' ) ).forEach( function( el ) {
  297. new CBPFWTabs( el );
  298. });
  299.  
  300. })();
  301. </script>
  302. </body>
  303. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement