X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/55ee613292c535493bee537c9bcafa37b95ed845..0ba16baba0615dd405486c7d87f943d71518375c:/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 3084b55..a9d2072 100644 --- a/forum/skins/default/media/style/style.css +++ b/forum/skins/default/media/style/style.css @@ -1330,20 +1330,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%; @@ -1373,7 +1359,11 @@ div.comment-tools a:hover { overflow-y: auto; } -div.dialog { +.context-menu { + position: relative; +} + +div.dialog, .context-menu-dropdown { position: absolute; background-color: #EEEEEE; -moz-border-radius: 5px; @@ -1382,6 +1372,49 @@ div.dialog { -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; } @@ -1415,4 +1448,18 @@ div.dialog.confirm, div.dialog.warning { 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