From 173d7e749f3d40a8a6cefc070648e8427694a2eb Mon Sep 17 00:00:00 2001 From: Simon Grim Date: Sun, 11 Sep 2016 17:15:58 +0500 Subject: [PATCH] make modal inline warning optional for modal; fix modal content height; add CSS for `calm` and `nin` --- css/style.css | 33 +++++++++++++++++---------------- home.html | 11 +++++++---- js/interface_common.js | 36 +++++++++++++++++++++++++++++------- theme_calm/css/style.css | 17 +++++++++++++++++ theme_nin/css/style.css | 18 ++++++++++++++++++ 5 files changed, 88 insertions(+), 27 deletions(-) diff --git a/css/style.css b/css/style.css index a00f75c..854e10f 100644 --- a/css/style.css +++ b/css/style.css @@ -1577,22 +1577,6 @@ ol.toptrends-list { font-weight: bold; } -.modal-warn { - display: none; - background: #fffbc3; - font-size: 0.8em; - padding: 10px; - border: 3px solid #fff; -} - -.modal-warn-close { - float:right; - font-size: 1.2em; - color: #e34f42; - cursor: pointer; - margin: -8px; -} - .modal-wrapper .modal-content { background: #fff; overflow-y: auto; @@ -1662,6 +1646,23 @@ ol.toptrends-list { padding: 10px 15px; } +.inline-warn { + background-color: #FEFEDF; + padding: 10px; +} + +.inline-warn .close { + float: right; + font-size: 1.2em; + color: #e34f42; + cursor: pointer; + margin: -8px 2px 8px 8px; +} + +.inline-warn .text { + font-size: 0.8em; +} + /************************************* ******** DIRECT MESSAGES MODAL ******* **************************************/ diff --git a/home.html b/home.html index 46d05ce..43e8b01 100644 --- a/home.html +++ b/home.html @@ -422,14 +422,17 @@ < - +
+
+
×
+
+
+
+