You are here

reveal.css in Sassy 7.3

/*	--------------------------------------------------
	Reveal Modals
	-------------------------------------------------- */
		
	.reveal-modal-bg { 
		position: fixed; 
		height: 100%;
		width: 100%;
		background: #000;
		z-index: 2000;
		display: none;
		top: 0;
		left: 0; 
		}
	
	.reveal-modal {
		visibility: hidden;
		top: 100px; 
		left: 50%;
		margin-left: -300px;
		width: 520px;
		background: #eee url(../images/misc/modal-gloss.png) no-repeat -200px -80px;
		position: absolute;
		z-index: 2001;
		padding: 30px 40px 34px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
		-moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
		-webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
		box-shadow: 0 0 10px rgba(0,0,0,.4);
		}
		
	.reveal-modal.small 		{ width: 200px; margin-left: -140px;}
	.reveal-modal.medium 		{ width: 400px; margin-left: -240px;}
	.reveal-modal.large 		{ width: 600px; margin-left: -340px;}
	.reveal-modal.xlarge 		{ width: 800px; margin-left: -440px;}
	
	.reveal-modal .close-reveal-modal {
		font-size: 22px;
		line-height: .5;
		position: absolute;
		top: 8px;
		right: 11px;
		color: #aaa;
		text-shadow: 0 -1px 1px rbga(0,0,0,.6);
		font-weight: bold;
		cursor: pointer;
		} 
	
	
	/* Mobile */
		
		@media handheld, only screen and (device-width: 768px), (device-width: 800px) {
			.reveal-modal-bg { position: absolute; }
			
			.reveal-modal,
			.reveal-modal.small,
			.reveal-modal.medium,
			.reveal-modal.large,
			.reveal-modal.xlarge { width: 60%; top: 30%; left: 15%; margin-left: 0px; padding: 5%; height: auto; }
		}
		
		@media handheld, only screen and (max-width: 767px) {
			.reveal-modal-bg { position: absolute; }
			
			.reveal-modal,
			.reveal-modal.small,
			.reveal-modal.medium,
			.reveal-modal.large,
			.reveal-modal.xlarge { width: 80%; top: 15%; left: 5%; margin-left: 0px; padding: 5%; height: auto; }
		}
	
	
	/*
			
	NOTES
	
	Close button entity is ×
	
	Example markup
	
	<div id="myModal" class="reveal-modal">
		<h2>Awesome. I have it.</h2>
		<p class="lead">Your couch.  I it's mine.</p>
		<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ultrices aliquet placerat. Duis pulvinar orci et nisi euismod vitae tempus lorem consectetur. Duis at magna quis turpis mattis venenatis eget id diam. </p>
		<a class="close-reveal-modal">&#215;</a>
	</div>
	
	*/

File

sassy_foundation/foundation/stylesheets/reveal.css
View source
  1. /* --------------------------------------------------
  2. Reveal Modals
  3. -------------------------------------------------- */
  4. .reveal-modal-bg {
  5. position: fixed;
  6. height: 100%;
  7. width: 100%;
  8. background: #000;
  9. z-index: 2000;
  10. display: none;
  11. top: 0;
  12. left: 0;
  13. }
  14. .reveal-modal {
  15. visibility: hidden;
  16. top: 100px;
  17. left: 50%;
  18. margin-left: -300px;
  19. width: 520px;
  20. background: #eee url(../images/misc/modal-gloss.png) no-repeat -200px -80px;
  21. position: absolute;
  22. z-index: 2001;
  23. padding: 30px 40px 34px;
  24. -moz-border-radius: 5px;
  25. -webkit-border-radius: 5px;
  26. border-radius: 5px;
  27. -moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
  28. -webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
  29. box-shadow: 0 0 10px rgba(0,0,0,.4);
  30. }
  31. .reveal-modal.small { width: 200px; margin-left: -140px;}
  32. .reveal-modal.medium { width: 400px; margin-left: -240px;}
  33. .reveal-modal.large { width: 600px; margin-left: -340px;}
  34. .reveal-modal.xlarge { width: 800px; margin-left: -440px;}
  35. .reveal-modal .close-reveal-modal {
  36. font-size: 22px;
  37. line-height: .5;
  38. position: absolute;
  39. top: 8px;
  40. right: 11px;
  41. color: #aaa;
  42. text-shadow: 0 -1px 1px rbga(0,0,0,.6);
  43. font-weight: bold;
  44. cursor: pointer;
  45. }
  46. /* Mobile */
  47. @media handheld, only screen and (device-width: 768px), (device-width: 800px) {
  48. .reveal-modal-bg { position: absolute; }
  49. .reveal-modal,
  50. .reveal-modal.small,
  51. .reveal-modal.medium,
  52. .reveal-modal.large,
  53. .reveal-modal.xlarge { width: 60%; top: 30%; left: 15%; margin-left: 0px; padding: 5%; height: auto; }
  54. }
  55. @media handheld, only screen and (max-width: 767px) {
  56. .reveal-modal-bg { position: absolute; }
  57. .reveal-modal,
  58. .reveal-modal.small,
  59. .reveal-modal.medium,
  60. .reveal-modal.large,
  61. .reveal-modal.xlarge { width: 80%; top: 15%; left: 5%; margin-left: 0px; padding: 5%; height: auto; }
  62. }
  63. /*
  64. NOTES
  65. Close button entity is ×
  66. Example markup
  67. Awesome. I have it.

  68. Your couch. I it's mine.

  69. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ultrices aliquet placerat. Duis pulvinar orci et nisi euismod vitae tempus lorem consectetur. Duis at magna quis turpis mattis venenatis eget id diam.

  70. ×
  • */