.modalDialog { position: fixed; font-family: Arial, Helvetica, sans-serif; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, 0.8); z-index: 99999; opacity: 0; -webkit-transition: opacity 400ms ease-in; -moz-transition: opacity 400ms ease-in; transition: opacity 400ms ease-in; pointer-events: none; overflow-y: scroll; } .modalDialog:target { opacity: 1; pointer-events: auto; } .modal-body { overflow-y: scroll; height: 500px; } .modalDialog > div { width: 60%; position: relative; margin: 20px auto; padding: 5px 20px 13px 20px; border-radius: 10px; background: #fff; background: -moz-linear-gradient(#fff); background: -webkit-linear-gradient(#fff); background: -o-linear-gradient(#fff); } .close { background: #606061; color: #FFFFFF; line-height: 25px; position: absolute; right: -12px; text-align: center; top: -10px; width: 24px; text-decoration: none; font-weight: bold; -webkit-border-radius: 12px; -moz-border-radius: 12px; border-radius: 12px; -moz-box-shadow: 1px 1px 3px #000; -webkit-box-shadow: 1px 1px 3px #000; box-shadow: 1px 1px 3px #000; } .close:hover { background: #00d9ff; } /*For gradient background */ /*Use only this id inorder to bring the gradient effect for future purpose*/ /*UI Developer- Karthik Sengottaian*/ #gradient { width: 100%; height: 100%; padding: 0px; margin: 0px; } .ok { color: #4cae4c; text-align: center; } .error { color: #d43f3a; text-align: center; } .warning { color: #eea236; text-align: center; } a{ text-decoration: none; } /*For gradient background */ /*--Tool Tip-- */ a.tooltip {outline:none; } a.tooltip strong {line-height:30px;} a.tooltip:hover {text-decoration:none;} a.tooltip span { z-index:10;display:none; padding:14px 20px; margin-top:-30px; margin-left:28px; width:300px; line-height:16px; } a.tooltip:hover span{ display:inline; position:absolute; color:#111; border:1px solid #DCA; background:#fffAF0;} .callout {z-index:20;position:absolute;top:30px;border:0;left:-12px;} /*CSS3 extras*/ a.tooltip span { border-radius:4px; box-shadow: 5px 5px 8px #CCC; } /*--Tool Tip-- */