]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/media/style/style.css
adding support for focusing answers when linking to them
[osqa.git] / forum / skins / default / media / style / style.css
index 9927bf8b46bd33e8c553be73e04d74ebd43c8d6a..883c8913928b8de54eaa81e923d7669f49ddbabc 100644 (file)
@@ -795,6 +795,10 @@ div.question-body p, div.answer-body p {
     color: #6B2B28;
 }
 
+.focusedAnswer {
+    background: #FFFFCC;
+}
+
 .tagsList {
     list-style-type: none;
     margin: 0;
@@ -820,6 +824,29 @@ div.question-body p, div.answer-body p {
     color: #333333;
 }
 
+#medalList .badgeListDescription {
+    float: left;
+    margin-top: 8px;
+    max-width: 60%;
+}
+
+#medalList .badgeListItem {
+    float: left;
+    width: 32%;
+}
+
+#medalList .intoMyBadges span {
+    font-size: 175%;
+    padding-right: 5px;
+    color: #5B9058;
+}
+#medalList .intoMyBadges {
+    float: left;
+    min-width: 5%;
+    text-align: right;
+    height:30px;
+}
+
 .list-item {
     margin-left: 15px;
 }
@@ -1577,6 +1604,7 @@ img.subscription-remove {
 .comment-form-container {
     display: none;
     padding-top: 12px;
+    margin-bottom: 8px;
 }
 
 .comment-form-widgets-container input {
@@ -1600,6 +1628,15 @@ div.comment-tools {
     text-align: right;
 }
 
+div.comment-tools span.comment-tools-separator {
+    float: left;
+    display: block;
+    line-height: 17px;
+    color: #ccc;
+    font-size: 15px;
+    margin-left: 1px;
+}
+
 div.comment-tools .comments-showing {
     color: #777777;
     font-size: 11px;
@@ -1671,7 +1708,8 @@ div.comment-tools a:hover {
 
 .comment-form-buttons input {
     width: 100%;
-    height: 22px;
+    height: auto;
+    padding: 2px 0 4px 0;
     vertical-align: middle;
     margin-top: 6px;
 }
@@ -1758,13 +1796,14 @@ div.dialog .dialog-buttons {
 }
 
 .dialog-yes, .dialog-no {
+    padding: 0px 5px;
     margin: 0 3px 5px 3px;
     -moz-border-radius: 3px;
     -webkit-border-radius: 3px;
     background-color: #3060A8;
     color: white;
-    height: 20px;
     line-height: 20px;
+    vertical-align: baseline;
     font-weight: bold;
     border: 0;
 }
@@ -1807,6 +1846,48 @@ div#subscription_list {
     /*float:left;*/
 }
 
+.subscription_switch {
+    display: inline-block;
+    zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
+    *display: inline;
+    vertical-align: baseline;
+    margin: 0 2px;
+    outline: none;
+    cursor: pointer;
+    text-align: center;
+    text-decoration: none;
+    font: 11px Arial, Helvetica, sans-serif;
+    padding: .2em 1em .275em;
+    text-shadow: 0 1px 1px rgba(0,0,0,.3);
+    -webkit-border-radius: .5em;
+    -moz-border-radius: .5em;
+    border-radius: .5em;
+    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
+    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
+    box-shadow: 0 1px 2px rgba(0,0,0,.2);
+    color: #101010 !important;
+    border: solid 1px #b7b7b7;
+    background: #fff;
+    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
+    background: -moz-linear-gradient(top,  #fff,  #ededed);
+    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed');
+}
+.subscription_switch:hover {
+    text-decoration: none;
+    background: #ededed;
+    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#dcdcdc));
+    background: -moz-linear-gradient(top,  #fff,  #dcdcdc);
+    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dcdcdc');
+    color: #101010 !important;
+}
+.subscription_switch:active {
+    position: relative;
+    top: 1px;
+    background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
+    background: -moz-linear-gradient(top,  #ededed,  #fff);
+    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#ffffff');
+}
+
 div.subscription_summary {
     border-top: 2px dotted #CCCCCE;
     overflow: hidden;