Название вашего журнала (quwiero) wrote in changelog,
Название вашего журнала
quwiero
changelog

[livejournal] r22958: LJSUP-13759: Create custom dialogs (aler...

Committer: sboronchiev
LJSUP-13759: Create custom dialogs (alert, prompt, confirm)
U   trunk/htdocs/stc/lj_base.css
Modified: trunk/htdocs/stc/lj_base.css
===================================================================
--- trunk/htdocs/stc/lj_base.css	2012-09-24 06:39:14 UTC (rev 22957)
+++ trunk/htdocs/stc/lj_base.css	2012-09-24 08:27:29 UTC (rev 22958)
@@ -1075,6 +1075,37 @@
 		margin: 0.5em 0 0;
 		text-align: center;
 		}
+	/* Custom dialog elements */
+	.b-dialog {
+		position: relative;
+		width: 100%;
+		}
+	.b-dialog-header {
+		padding: 0 15px 0 0;
+		margin: 0 0 10px;
+		line-height: 16px;
+		font-size: 14px;
+		font-weight: bold;
+		color: #000;
+		}
+	.b-dialog-body {
+		max-width: 500px;
+		min-width: 300px;
+		margin: 10px 0;
+		}
+	.b-dialog-footer {
+		margin: 10px 0 0;
+		text-align: center;
+		}
+	.b-dialog-prompt {
+		display: block;
+		width: 100%;
+		margin: 10px 0 0;
+		padding: 2px 5px;
+		-moz-box-sizing: border-box;
+		-webkit-box-sizing: border-box;
+		box-sizing: border-box;
+		}
 	/* Put here styles for popups that need to reset */
 	.b-popup,
 	.b-popup-outer,

Tags: css, livejournal, quwiero, sboronchiev
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments