X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/34d0069da1d0686bd00419223c4fe8c18964de03..68a9b4180037e19ae3f0cff2e938900ab7b3b64e:/forum/skins/default/media/style/style.css diff --git a/forum/skins/default/media/style/style.css b/forum/skins/default/media/style/style.css index ff2b771..28bd8f3 100644 --- a/forum/skins/default/media/style/style.css +++ b/forum/skins/default/media/style/style.css @@ -67,16 +67,19 @@ a:hover { text-decoration: underline; } h1 { font-size: 160%; padding: 5px 0; + line-height: 110%; } h2 { font-size: 140%; padding: 3px 0; + line-height: 110%; } h3 { font-size: 120%; padding: 3px 0; + line-height: 110%; } ul { @@ -638,22 +641,6 @@ a.medal:hover { text-align: center; } -.vote-notification { - background-color: darkred; - color: White; - cursor: pointer; - display: none; - padding: 15px; - position: absolute; - text-align: center; - z-index: 1; -} - -.vote-notification a { - color: White; - text-decoration: underline; -} - span.form-error { color: #990000; font-weight: normal; @@ -756,6 +743,10 @@ table.check-table td { padding-right: 50px; } margin: 0; } +.small { + font-size: 11px; +} + span.form-error { color: #990000; font-size: 90%; @@ -780,7 +771,7 @@ span.form-error { margin-top: 10px; min-height: 20px; padding: 6px; - width: 100%; + width: 98%; } .preview-toggle { @@ -1111,13 +1102,21 @@ ul.form-horizontal-rows li input { padding-bottom: 10px; } -.post-controls { +.post-controls, .tags-container { font-size: 11px; line-height: 12px; margin-bottom: 5px; min-width: 200px; } +.tags-container { + margin: 0 0 16px 0; +} + +.post-controls { + float: left; +} + #question-controls .tags { margin: 0 0 3px; } .post-update-info { @@ -1172,6 +1171,16 @@ a.post-vote.down.on,a.post-vote.down:hover { background: url("../images/vote-arr a.accept-answer { background: url("../images/vote-accepted.png") no-repeat scroll center center transparent; } a.accept-answer.on,a.accept-answer:hover { background: url("../images/vote-accepted-on.png") no-repeat scroll center center transparent; } +.community-wiki { + font-size: 11px; + color: #333; + background: url("../images/wiki.png") no-repeat left center; + padding-left: 36px; + margin: 6px 0 0 0; + min-height: 32px; + line-height: 15px; +} + .post-score, .comments-char-left-count { color: #777777; font-family: Arial; @@ -1297,12 +1306,16 @@ div.comment-tools a:hover { text-decoration: none; } -.action-link a { +.action-link { color: #777777; cursor: pointer; padding: 3px; } +.action-link a { + color: inherit; +} + .action-link a.ajax-command:hover { background-color: #777777; color: #FFFFFF; @@ -1326,20 +1339,6 @@ div.comment-tools a:hover { background: url('/m/default/media/images/vote-accepted-on.png') } -.user-prompt { - width: 300px; -} - -.user-prompt select, .user-prompt textarea { - width: 100%; - padding: 0; - border: 0; -} - -.user-prompt .prompt-buttons { - text-align: right; -} - .comment-form-buttons { width: 18%; height: 100%; @@ -1364,15 +1363,112 @@ div.comment-tools a:hover { color: orange; } -.moderation { - background-color: #FFF380; - border: 1px solid darkred; - padding: 0 5px; +#ask-related-questions { + max-height: 150px; + overflow-y: auto; } -.moderation p { margin-bottom: 3px; } +.context-menu { + position: relative; +} -.moderation #action_status { - font-weight: bold; - text-align: center; +div.dialog, .context-menu-dropdown { + position: absolute; + background-color: #EEEEEE; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + -moz-box-shadow: 2px 2px 5px #3060A8; + -webkit-box-shadow: 2px 2px 5px #3060A8; +} + +.context-menu-dropdown { + display: none; + right: 0px; + top: 1.5em; + text-align: left; + list-style-type: none; +} + +.context-menu-dropdown li.item { + padding: 4px 8px 4px 8px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; +} + +.context-menu-dropdown li.item a { + color: inherit; + white-space: nowrap; + text-decoration: none; +} + +.context-menu-dropdown li.separator { + text-align: center; + padding: 10px 0 4px 0; + font-size: 120%; + font-weight: bold; +} + +.context-menu-dropdown li.item:hover { + background-color: #3060A8; + color: white; +} + +.context-menu-dropdown span { + margin-right: 4px; + float: left; + width: 16px; + height: 16px; +} + +.context-menu-trigger { + cursor: pointer; +} + +div.dialog .dialog-content { + padding: 12px 12px 37px 12px; +} + +div.dialog .dialog-buttons { + margin: 0px; + height: 25px; + text-align: center; + position: absolute; + bottom: 0px; + left: 0px; + width: 100%; +} + +.dialog-yes, .dialog-no { + margin: 0 3px 5px 3px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + background-color: #3060A8; + color: white; + height: 20px; + line-height: 20px; + font-weight: bold; + border: 0; +} + +div.dialog.confirm, div.dialog.warning { + text-align: center; +} + +div.dialog.confirm { + font-size: 140%; + font-weight: bold; +} + +div.dialog.prompt { + width: 300px; +} + +div.dialog.prompt .dialog-content select, div.dialog.prompt .dialog-content textarea, div.dialog.prompt .dialog-content input[type=text] { + width: 100%; + padding: 0; + border: 0; +} + +.user-prompt .prompt-buttons { + text-align: right; } \ No newline at end of file