Browse Source

solarized theme fixes

Andrew Dolgov 2 years ago
parent
commit
bf4a0ae478
3 changed files with 6 additions and 8 deletions
  1. 2 3
      index.php
  2. 2 2
      themes/solarized/theme.css
  3. 2 3
      themes/solarized/theme.less

+ 2 - 3
index.php

@@ -267,11 +267,10 @@
 
 	<div class="aux-buttons">
 
-		<span class="btn btn-default"
+		<button class="btn btn-default"
 			title="<?php echo __("Toggle emoticons") ?>"
 			onclick="$('#emoticons').fadeToggle()" id="emoticon-prompt">
-				<span class="text-muted glyphicon glyphicon-piggy-bank"> </span>
-			</span>
+				<span class="text-muted glyphicon glyphicon-piggy-bank"> </span> </button>
 
 		<button class="btn btn-default"
 			title="<?php echo __("Mute notifications") ?>"

+ 2 - 2
themes/solarized/theme.css

@@ -1,6 +1,6 @@
 body.main{background:#002b38;color:#839496}body.main div#content #topic-input-real,body.main div#content #input-prompt,body.main div#content #topic-input{background:#002b38;color:#839496}
-body.main .btn,body.main #emoticon-prompt{background:#268bd2;color:#eee8d5;border:1px solid #073642;box-shadow:none;text-shadow:none}
-body.main #content .aux-buttons .btn:not(:hover){background:transparent;border-color:#268bd2}
+body.main .btn{background:#268bd2;color:#eee8d5;border:1px solid #073642;box-shadow:none;text-shadow:none}
+body.main .btn:not(:hover){background:transparent;border-color:#268bd2}
 body.main div#header{color:#839496;font-style:italic}
 body.main a{color:#b58917}
 body.main #log{background:#002b38;font-family:consolas,monospace;color:#839496;border-color:#0a5163;border-radius:0}body.main #log span.gt,body.main #log span.lt{color:#2aa198}

+ 2 - 3
themes/solarized/theme.less

@@ -14,8 +14,7 @@ body.main {
 		color : @fg-main;
 	}
 	
-	.btn,
-	#emoticon-prompt {
+	.btn {
 		background : #268BD2;
 		color : #EEE8D5;
 		border : 1px solid @bg-main;
@@ -23,7 +22,7 @@ body.main {
 		text-shadow : none;
 	}
 	
-	#content .aux-buttons .btn:not(:hover) {
+	.btn:not(:hover) {
 		background : transparent;
 		border-color : #268BD2;
 	}