You are here

reveal.css in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.3

Same filename and directory in other branches
  1. 8 assets/css/reveal.css
/*	--------------------------------------------------
	Reveal Modals
	-------------------------------------------------- */
		
	.reveal-modal-bg { 
		position: fixed; 
		height: 100%;
		width: 100%;
		background: #000;
		background: rgba(0,0,0,.7);
		z-index: 100;
		display: none;
		top: 0;
		left: 0; 
		}
	
	.reveal-modal {
		visibility: hidden;
		top: 100px; 
		left: 50%;
		margin-left: -300px;
		width: 520px;
		background: #fff url(modal-gloss.png) no-repeat -200px -80px;
		position: absolute;
		z-index: 101;
		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;
		text-decoration: none;
		cursor: pointer;
		}

	/*
		
	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

assets/css/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. background: rgba(0,0,0,.7);
  10. z-index: 100;
  11. display: none;
  12. top: 0;
  13. left: 0;
  14. }
  15. .reveal-modal {
  16. visibility: hidden;
  17. top: 100px;
  18. left: 50%;
  19. margin-left: -300px;
  20. width: 520px;
  21. background: #fff url(modal-gloss.png) no-repeat -200px -80px;
  22. position: absolute;
  23. z-index: 101;
  24. padding: 30px 40px 34px;
  25. -moz-border-radius: 5px;
  26. -webkit-border-radius: 5px;
  27. border-radius: 5px;
  28. -moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
  29. -webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
  30. -box-shadow: 0 0 10px rgba(0,0,0,.4);
  31. }
  32. .reveal-modal.small { width: 200px; margin-left: -140px;}
  33. .reveal-modal.medium { width: 400px; margin-left: -240px;}
  34. .reveal-modal.large { width: 600px; margin-left: -340px;}
  35. .reveal-modal.xlarge { width: 800px; margin-left: -440px;}
  36. .reveal-modal .close-reveal-modal {
  37. font-size: 22px;
  38. line-height: .5;
  39. position: absolute;
  40. top: 8px;
  41. right: 11px;
  42. color: #aaa;
  43. text-shadow: 0 -1px 1px rbga(0,0,0,.6);
  44. font-weight: bold;
  45. text-decoration: none;
  46. cursor: pointer;
  47. }
  48. /*
  49. NOTES
  50. Close button entity is ×
  51. Example markup
  52. Awesome. I have it.

  53. Your couch. I it's mine.

  54. 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.

  55. ×
  • */