From 87d2bb34d5c78a5abe5e6a9a0c7b31d2812307c9 Mon Sep 17 00:00:00 2001 From: bigxxs Date: Mon, 6 Aug 2018 00:18:04 +0800 Subject: [PATCH] dialog --- kmui.css | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/kmui.css b/kmui.css index 40425c9..5352f3c 100644 --- a/kmui.css +++ b/kmui.css @@ -24,8 +24,34 @@ html,body { transform: translate(-50%, -50%); text-align: center; border-radius: 5px; - background-color: yellow; + background-color: white; +} +.kmui-dialog-title { + padding: 5px; + font-size: 1.2em; } +.kmui-dialog-content { + padding: 8px; + color: gray; +} +.kmui-dialog-buttons { + display: -webkit-flex; /* Safari */ + display: flexbox; + flex-direction: row; + align-items: center; + border-top: 1px solid gray; +} + .kmui-dialog-buttons a { + display: inline-block; + text-decoration:none; + padding: 8px; + flex-grow:1; + border-left: 1px solid gray; + color: black; + } + .kmui-dialog-buttons a:first-child { + border-left: none; + } .align-right { text-align: right;