Sha256: ce13d062001c95bea8149d96de31fa1939f68225f88150340137e3818e735837

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

!!!
%html
	%head

		/Info
		%title
			= "Error :: #{@app_name}"

		/Styling
		:sass
			html 
				height: 100%
				background: #fff url(#{image_path "custom_error_pages/bg.png"}) bottom repeat-x
			
			body 
				font-family: Helvetica, Arial, Sans-Serif
				font-size: 14px

			.error_container 
				display: block
				margin: auto
				margin: 15% auto 0 auto
				width: 40%
			
			.error_container .error 
				display: block 
				text-align: center
			
			.error_container .error img.icon
				display: block
				margin: 0 auto 25px auto
			
			.error_container .message > * 
				display: block
			
			.error_container .message strong 
				font:
					weight: bold
					size: 1.5em
				color: #f00
				margin: 15px 0 0

			.error_container .message span
				margin: 5px auto 0
				font:
					size: 0.75em
				color: #606060
			
			.error_container .contact 
				display: block
				text-align: center
				margin: 20px 0 0 0
			
			.error_container .contact a 
				display: inline-block
				margin: 0 1px
				opacity: 0.4
				transition: opacity 0.15s ease
			
			.error_container .contact a:hover 
				opacity: 0.8
			

	/Body
	%body
		.error_container
			= yield

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
exception_handler-0.2.6 app/views/layouts/error.html.haml