PageRenderTime 49ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/ajax/libs/formstone/0.8.34/css/navigation.css

https://gitlab.com/Mirros/cdnjs
CSS | 529 lines | 233 code | 1 blank | 295 comment | 0 complexity | db102800a8741439c6da27434b2292c6 MD5 | raw file
  1. /*! formstone v0.8.34 [navigation.css] 2015-12-18 | MIT License | formstone.it */
  2. /**
  3. * @class
  4. * @name .fs-navigation-element
  5. * @type element
  6. * @description Target elmement
  7. */
  8. /**
  9. * @class
  10. * @name .fs-navigation
  11. * @type element
  12. * @description Base widget class
  13. */
  14. .fs-navigation {
  15. /**
  16. * @class
  17. * @name .fs-navigation-toggle-nav
  18. * @type element
  19. * @description Toggle navigation
  20. */
  21. /**
  22. * @class
  23. * @name .fs-navigation-toggle-nav.fs-navigation-enabled
  24. * @type modifier
  25. * @description Indicates enabled state
  26. */
  27. /**
  28. * @class
  29. * @name .fs-navigation-toggle-nav.fs-navigation-open
  30. * @type modifier
  31. * @description Indicates open state
  32. */
  33. /**
  34. * @class
  35. * @name .fs-navigation-toggle-handle
  36. * @type element
  37. * @description Toggle handle
  38. */
  39. /**
  40. * @class
  41. * @name .fs-navigation-toggle-handle.fs-navigation-enabled
  42. * @type modifier
  43. * @description Indicates enabled state
  44. */
  45. /**
  46. * @class
  47. * @name .fs-navigation-toggle-handle.fs-navigation-open
  48. * @type modifier
  49. * @description Indicates open state
  50. */
  51. /**
  52. * @class
  53. * @name .fs-navigation-overlay-nav
  54. * @type element
  55. * @description Overlay nav
  56. */
  57. /**
  58. * @class
  59. * @name .fs-navigation-overlay-nav.fs-navigation-enabled
  60. * @type modifier
  61. * @description Indicates enabled state
  62. */
  63. /**
  64. * @class
  65. * @name .fs-navigation-overlay-nav.fs-navigation-animated
  66. * @type modifier
  67. * @description Indicates animated state
  68. */
  69. /**
  70. * @class
  71. * @name .fs-navigation-overlay-nav.fs-navigation-open
  72. * @type modifier
  73. * @description Indicates open state
  74. */
  75. /**
  76. * @class
  77. * @name .fs-navigation-overlay-left-nav
  78. * @type modifier
  79. * @description Indicates left hand nav
  80. */
  81. /**
  82. * @class
  83. * @name .fs-navigation-overlay-right-nav
  84. * @type modifier
  85. * @description Indicates right hand nav
  86. */
  87. /**
  88. * @class
  89. * @name .fs-navigation-push-nav
  90. * @type element
  91. * @description Push nav
  92. */
  93. /**
  94. * @class
  95. * @name .fs-navigation-push-nav.fs-navigation-enabled
  96. * @type modifier
  97. * @description Indicates enabled state
  98. */
  99. /**
  100. * @class
  101. * @name .fs-navigation-push-nav.fs-navigation-animated
  102. * @type modifier
  103. * @description Indicates animated state
  104. */
  105. /**
  106. * @class
  107. * @name .fs-navigation-push-nav.fs-navigation-open
  108. * @type modifier
  109. * @description Indicates open state
  110. */
  111. /**
  112. * @class
  113. * @name .fs-navigation-push-left-nav
  114. * @type modifier
  115. * @description Indicates left hand nav
  116. */
  117. /**
  118. * @class
  119. * @name .fs-navigation-push-right-nav
  120. * @type modifier
  121. * @description Indicates right hand nav
  122. */
  123. /**
  124. * @class
  125. * @name .fs-navigation-reveal-nav
  126. * @type element
  127. * @description Reveal nav
  128. */
  129. /**
  130. * @class
  131. * @name .fs-navigation-reveal-nav.fs-navigation-enabled
  132. * @type modifier
  133. * @description Indicates enabled state
  134. */
  135. /**
  136. * @class
  137. * @name .fs-navigation-reveal-nav.fs-navigation-animated
  138. * @type modifier
  139. * @description Indicates animated state
  140. */
  141. /**
  142. * @class
  143. * @name .fs-navigation-reveal-nav.fs-navigation-open
  144. * @type modifier
  145. * @description Indicates open state
  146. */
  147. /**
  148. * @class
  149. * @name .fs-navigation-reveal-left-nav
  150. * @type modifier
  151. * @description Indicates left hand nav
  152. */
  153. /**
  154. * @class
  155. * @name .fs-navigation-reveal-right-nav
  156. * @type modifier
  157. * @description Indicates right hand nav
  158. */
  159. /**
  160. * @class
  161. * @name .fs-navigation-overlay-handle
  162. * @type element
  163. * @description Overlay handle
  164. */
  165. /**
  166. * @class
  167. * @name .fs-navigation-overlay-handle.fs-navigation-enabled
  168. * @type modifier
  169. * @description Indicates enabled state
  170. */
  171. /**
  172. * @class
  173. * @name .fs-navigation-push-handle
  174. * @type element
  175. * @description Push handle
  176. */
  177. /**
  178. * @class
  179. * @name .fs-navigation-push-handle.fs-navigation-enabled
  180. * @type modifier
  181. * @description Indicates enabled state
  182. */
  183. /**
  184. * @class
  185. * @name .fs-navigation-overlay-content:before
  186. * @type element
  187. * @description Overlay mask
  188. */
  189. /**
  190. * @class
  191. * @name .fs-navigation-overlay-content.fs-navigation-open:before
  192. * @type modifier
  193. * @description Indicates open state
  194. */
  195. /**
  196. * @class
  197. * @name .fs-navigation-push-content
  198. * @type element
  199. * @description Target page content
  200. */
  201. /**
  202. * @class
  203. * @name .fs-navigation-push-content.fs-navigation-enabled
  204. * @type modifier
  205. * @description Indicates enabled state
  206. */
  207. /**
  208. * @class
  209. * @name .fs-navigation-push-content.fs-navigation-animated
  210. * @type modifier
  211. * @description Indicates animted state
  212. */
  213. /**
  214. * @class
  215. * @name .fs-navigation-push-content.fs-navigation-open
  216. * @type modifier
  217. * @description Indicates open state
  218. */
  219. /**
  220. * @class
  221. * @name .fs-navigation-push-left-content
  222. * @type modifier
  223. * @description Indicates left hand nav
  224. */
  225. /**
  226. * @class
  227. * @name .fs-navigation-push-right-content
  228. * @type modifier
  229. * @description Indicates right hand nav
  230. */
  231. /**
  232. * @class
  233. * @name .fs-navigation-reveal-content
  234. * @type element
  235. * @description Target page content
  236. */
  237. /**
  238. * @class
  239. * @name .fs-navigation-reveal-content.fs-navigation-enabled
  240. * @type modifier
  241. * @description Indicates enabled state
  242. */
  243. /**
  244. * @class
  245. * @name .fs-navigation-reveal-content.fs-navigation-animated
  246. * @type modifier
  247. * @description Indicates animted state
  248. */
  249. /**
  250. * @class
  251. * @name .fs-navigation-reveal-content.fs-navigation-open
  252. * @type modifier
  253. * @description Indicates open state
  254. */
  255. /**
  256. * @class
  257. * @name .fs-navigation-reveal-left-content
  258. * @type modifier
  259. * @description Indicates left hand nav
  260. */
  261. /**
  262. * @class
  263. * @name .fs-navigation-reveal-right-content
  264. * @type modifier
  265. * @description Indicates right hand nav
  266. */
  267. /**
  268. * @class
  269. * @name .fs-navigation-handle
  270. * @type element
  271. * @description Click target to toggle navigation
  272. */
  273. /**
  274. * @class
  275. * @name .fs-navigation-handle.fs-navigation-open
  276. * @type modifier
  277. * @description Indicates open state
  278. */
  279. /**
  280. * @class
  281. * @name .fs-navigation-handle.fs-navigation-enabled
  282. * @type modifier
  283. * @description Indicates enabled state
  284. */
  285. /**
  286. * @class
  287. * @name .fs-navigation-handle:after
  288. * @type element
  289. * @description Icon displayed in handle
  290. */
  291. /**
  292. * @class
  293. * @name .fs-navigation-lock
  294. * @type modifier
  295. * @description Indicates locked state; Applied to body element
  296. */
  297. }
  298. .fs-navigation.fs-navigation-enabled {
  299. margin: 0;
  300. }
  301. .fs-navigation,
  302. .fs-navigation:after,
  303. .fs-navigation:before,
  304. .fs-navigation *,
  305. .fs-navigation *:after,
  306. .fs-navigation *:before {
  307. box-sizing: border-box;
  308. -webkit-transition: none;
  309. transition: none;
  310. -webkit-user-select: none !important;
  311. -moz-user-select: none !important;
  312. -ms-user-select: none !important;
  313. user-select: none !important;
  314. }
  315. .fs-navigation-toggle-nav.fs-navigation-enabled {
  316. background: #ffffff;
  317. border: 1px solid #cccccc;
  318. border-width: 0 1px 1px;
  319. border-radius: 0 0 3px 3px;
  320. display: none;
  321. }
  322. .fs-navigation-toggle-nav.fs-navigation-open {
  323. display: block;
  324. }
  325. .fs-navigation-toggle-handle.fs-navigation-enabled {
  326. width: 100%;
  327. background: #ffffff;
  328. border: 1px solid #cccccc;
  329. border-radius: 3px;
  330. color: #111111;
  331. cursor: pointer;
  332. display: block;
  333. font-size: 14px;
  334. height: 40px;
  335. line-height: 40px;
  336. margin: 0;
  337. padding: 0 45px 0 15px;
  338. position: relative;
  339. -webkit-user-select: none;
  340. -moz-user-select: none;
  341. -ms-user-select: none;
  342. user-select: none;
  343. }
  344. .fs-navigation-toggle-handle.fs-navigation-open {
  345. border-radius: 3px 3px 0 0;
  346. }
  347. .fs-navigation-push-nav.fs-navigation-enabled,
  348. .fs-navigation-reveal-nav.fs-navigation-enabled,
  349. .fs-navigation-overlay-nav.fs-navigation-enabled {
  350. width: 270px;
  351. height: 100%;
  352. height: -webkit-calc(100% + 60px);
  353. height: calc(100% + 60px);
  354. position: fixed;
  355. top: 0;
  356. background: #ffffff;
  357. display: block;
  358. overflow: auto;
  359. }
  360. .fs-navigation-push-nav.fs-navigation-enabled,
  361. .fs-navigation-reveal-nav.fs-navigation-enabled {
  362. visibility: hidden;
  363. }
  364. .fs-navigation-reveal-nav.fs-navigation-animated {
  365. -webkit-transition: visibility 0.001s linear 0.2s;
  366. transition: visibility 0.001s linear 0.2s;
  367. }
  368. .fs-navigation-push-nav.fs-navigation-animated,
  369. .fs-navigation-overlay-nav.fs-navigation-animated {
  370. -webkit-transition: -webkit-transform 0.2s ease, visibility 0.001s linear 0.2s;
  371. transition: transform 0.2s ease, visibility 0.001s linear 0.2s;
  372. }
  373. .fs-navigation-push-nav.fs-navigation-enabled,
  374. .fs-navigation-reveal-nav.fs-navigation-enabled {
  375. z-index: 0;
  376. }
  377. .fs-navigation-push-left-nav.fs-navigation-enabled,
  378. .fs-navigation-reveal-left-nav.fs-navigation-enabled,
  379. .fs-navigation-overlay-left-nav.fs-navigation-enabled {
  380. left: 0;
  381. }
  382. .fs-navigation-push-right-nav.fs-navigation-enabled,
  383. .fs-navigation-reveal-right-nav.fs-navigation-enabled,
  384. .fs-navigation-overlay-right-nav.fs-navigation-enabled {
  385. right: 0;
  386. }
  387. .fs-navigation-push-left-nav.fs-navigation-enabled,
  388. .fs-navigation-overlay-left-nav.fs-navigation-enabled {
  389. -webkit-transform: translate3D(-270px, 0, 0);
  390. -ms-transform: translate3D(-270px, 0, 0);
  391. transform: translate3D(-270px, 0, 0);
  392. }
  393. .fs-navigation-push-right-nav.fs-navigation-enabled,
  394. .fs-navigation-overlay-right-nav.fs-navigation-enabled {
  395. -webkit-transform: translate3D(270px, 0, 0);
  396. -ms-transform: translate3D(270px, 0, 0);
  397. transform: translate3D(270px, 0, 0);
  398. }
  399. .fs-navigation-overlay-nav.fs-navigation-enabled {
  400. z-index: 2;
  401. }
  402. .fs-navigation-overlay-left-nav.fs-navigation-enabled {
  403. box-shadow: 2px 0 2px rgba(0, 0, 0, 0.15);
  404. }
  405. .fs-navigation-overlay-right-nav.fs-navigation-enabled {
  406. box-shadow: -2px 0 2px rgba(0, 0, 0, 0.15);
  407. }
  408. .fs-navigation-reveal-nav.fs-navigation-open {
  409. visibility: visible;
  410. -webkit-transition: visibility 0.001s ease;
  411. transition: visibility 0.001s ease;
  412. }
  413. .fs-navigation-push-nav.fs-navigation-open,
  414. .fs-navigation-overlay-nav.fs-navigation-open {
  415. -webkit-transform: translate3D(0, 0, 0);
  416. -ms-transform: translate3D(0, 0, 0);
  417. transform: translate3D(0, 0, 0);
  418. -webkit-transition: -webkit-transform 0.2s ease, visibility 0.001s ease;
  419. transition: transform 0.2s ease, visibility 0.001s ease;
  420. visibility: visible;
  421. }
  422. .fs-navigation-push-handle.fs-navigation-enabled,
  423. .fs-navigation-overlay-handle.fs-navigation-enabled {
  424. padding: 10px 40px 10px 15px;
  425. background: #ffffff;
  426. color: #111111;
  427. cursor: pointer;
  428. display: block;
  429. font-size: 14px;
  430. margin: 0;
  431. padding: 0 45px 0 15px;
  432. position: relative;
  433. -webkit-user-select: none;
  434. -moz-user-select: none;
  435. -ms-user-select: none;
  436. user-select: none;
  437. }
  438. .fs-navigation-overlay-content:before {
  439. width: 100%;
  440. height: 100%;
  441. height: -webkit-calc(100% + 60px);
  442. height: calc(100% + 60px);
  443. position: fixed;
  444. top: 0;
  445. right: 0;
  446. bottom: 0;
  447. left: 0;
  448. z-index: 1;
  449. background: #ffffff;
  450. background: rgba(255, 255, 255, 0.75);
  451. content: '';
  452. display: block;
  453. opacity: 0;
  454. -webkit-transition: opacity 0.2s ease, visibility 0.2s ease;
  455. transition: opacity 0.2s ease, visibility 0.2s ease;
  456. visibility: hidden;
  457. }
  458. .fs-navigation-overlay-content.fs-navigation-open:before {
  459. opacity: 1;
  460. visibility: visible;
  461. }
  462. .fs-navigation-reveal-content.fs-navigation-enabled,
  463. .fs-navigation-push-content.fs-navigation-enabled {
  464. position: relative;
  465. z-index: 1;
  466. display: block;
  467. overflow: hidden;
  468. -webkit-transform: translate3D(0, 0, 0);
  469. -ms-transform: translate3D(0, 0, 0);
  470. transform: translate3D(0, 0, 0);
  471. }
  472. .fs-navigation-reveal-content.fs-navigation-animated,
  473. .fs-navigation-push-content.fs-navigation-animated {
  474. -webkit-transition: -webkit-transform 0.2s ease;
  475. transition: transform 0.2s ease;
  476. }
  477. .fs-navigation-reveal-left-content.fs-navigation-enabled,
  478. .fs-navigation-push-left-content.fs-navigation-enabled {
  479. box-shadow: -2px 0 2px rgba(0, 0, 0, 0.15);
  480. }
  481. .fs-navigation-reveal-right-content.fs-navigation-enabled,
  482. .fs-navigation-push-right-content.fs-navigation-enabled {
  483. box-shadow: 2px 0 2px rgba(0, 0, 0, 0.15);
  484. }
  485. .fs-navigation-reveal-left-content.fs-navigation-open,
  486. .fs-navigation-push-left-content.fs-navigation-open {
  487. -webkit-transform: translate3D(270px, 0, 0);
  488. -ms-transform: translate3D(270px, 0, 0);
  489. transform: translate3D(270px, 0, 0);
  490. }
  491. .fs-navigation-reveal-right-content.fs-navigation-open,
  492. .fs-navigation-push-right-content.fs-navigation-open {
  493. -webkit-transform: translate3D(-270px, 0, 0);
  494. -ms-transform: translate3D(-270px, 0, 0);
  495. transform: translate3D(-270px, 0, 0);
  496. }
  497. .fs-navigation-handle.fs-navigation-enabled {
  498. position: relative;
  499. }
  500. .fs-navigation-handle.fs-navigation-enabled:after {
  501. height: 3px;
  502. width: 15px;
  503. position: absolute;
  504. top: 0;
  505. right: 15px;
  506. bottom: 0;
  507. background: #cccccc;
  508. box-shadow: 0 5px 0 #cccccc, 0 -5px 0 #cccccc;
  509. content: '';
  510. display: block;
  511. margin: auto 0;
  512. }
  513. .fs-navigation-handle.fs-navigation-open:after {
  514. width: 15px;
  515. height: 15px;
  516. background: transparent;
  517. border: none;
  518. box-shadow: none;
  519. color: #cccccc;
  520. content: "\00d7";
  521. font-size: 22px;
  522. font-weight: 700;
  523. line-height: 13px;
  524. text-align: center;
  525. }
  526. .fs-navigation-lock {
  527. overflow: hidden !important;
  528. }