summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-10 02:06:03 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-10 02:06:09 -0400
commit846a70e20c5f7ef585e29e6514bf38990c60b1ad (patch)
treed6a49a8de97702df07c53e8db5ec8490594ae241
parent2cae82870db05b0e30f7b2768476a530aabb6f50 (diff)
downloadaskbot-846a70e20c5f7ef585e29e6514bf38990c60b1ad.tar.gz
askbot-846a70e20c5f7ef585e29e6514bf38990c60b1ad.tar.bz2
askbot-846a70e20c5f7ef585e29e6514bf38990c60b1ad.zip
small refactor of css files
-rw-r--r--askbot/media/bootstrap/css/bootstrap.css1
-rw-r--r--askbot/media/style/lib_style.less2
-rw-r--r--askbot/media/style/style.css38
-rw-r--r--askbot/media/style/style.less50
4 files changed, 82 insertions, 9 deletions
diff --git a/askbot/media/bootstrap/css/bootstrap.css b/askbot/media/bootstrap/css/bootstrap.css
index 7e74f6a7..37eb662a 100644
--- a/askbot/media/bootstrap/css/bootstrap.css
+++ b/askbot/media/bootstrap/css/bootstrap.css
@@ -310,7 +310,6 @@ a:hover {
}
p {
margin: 0 0 9px;
- font-family: Arial, sans-serif;
font-size: 13px;
line-height: 18px;
}
diff --git a/askbot/media/style/lib_style.less b/askbot/media/style/lib_style.less
index 5e454173..aa5ac7d9 100644
--- a/askbot/media/style/lib_style.less
+++ b/askbot/media/style/lib_style.less
@@ -12,7 +12,7 @@
/* Variables for fonts*/
-@body-font:Arial; /* "Trebuchet MS", sans-serif;*/
+@body-font:Arial;
@sort-font:Georgia, serif;
@main-font:'Open Sans Condensed', Arial, sans-serif;
@secondary-font:Arial;
diff --git a/askbot/media/style/style.css b/askbot/media/style/style.css
index af99c023..87aa39b4 100644
--- a/askbot/media/style/style.css
+++ b/askbot/media/style/style.css
@@ -1,8 +1,6 @@
-@import url(jquery.autocomplete.css);
/* General Predifined classes, read more in lesscss.org */
/* Variables for Colors*/
/* Variables for fonts*/
-/* "Trebuchet MS", sans-serif;*/
/* General styles for gradients */
/* Receive exactly positions for background Sprite */
/* CSS3 Elements */
@@ -4320,6 +4318,42 @@ td.setting-input textarea {
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
}
+.acInput {
+ width: 200px;
+}
+.acResults {
+ padding: 0px;
+ border: 1px solid WindowFrame;
+ background-color: #fff;
+ overflow: hidden;
+ -webkit-box-shadow: 0px 1px 1px #A7A7A7;
+ -moz-box-shadow: 0px 1px 1px #BFBFBF;
+ box-shadow: 0px 1px 1px #BFBFBF;
+}
+.acResults ul {
+ width: 100%;
+ list-style-position: outside;
+ list-style: none;
+ padding: 0;
+ margin: 0;
+}
+.acResults li {
+ margin: 0px;
+ padding: 2px 5px;
+ cursor: pointer;
+ display: block;
+ width: 100%;
+ font: menu;
+ font-size: 14px;
+ overflow: hidden;
+}
+.acLoading {
+ background: url('../images/indicator.gif') right center no-repeat;
+}
+.acSelect {
+ background-color: Highlight;
+ color: HighlightText;
+}
/* modifications for small screens */
@media screen and (max-width: 960px) {
/* content margins touch viewport */
diff --git a/askbot/media/style/style.less b/askbot/media/style/style.less
index b42941c9..aaedd053 100644
--- a/askbot/media/style/style.less
+++ b/askbot/media/style/style.less
@@ -1,4 +1,3 @@
-@import url(jquery.autocomplete.css);
@import "lib_style.less"; /* Library of predifined less functions styles */
/* ----- General HTML Styles----- */
@@ -385,7 +384,7 @@ body.user-messages {
display: block;
margin: 0px 10px 0px 10px;
width: 140px;
- font-family: 'Open Sans Condensed', Arial, sans-serif;
+ font-family: @main-font;
font-weight: 100;
}
@@ -1100,7 +1099,7 @@ body.anon.ask-page .search-drop-menu {
margin-bottom: 3px;
margin-top: 3px;
float:right;
- font-family:@sort-font;
+ font-family: @sort-font;
font-size:16px;
.rounded-corners(5px);
}
@@ -1176,7 +1175,7 @@ body.anon.ask-page .search-drop-menu {
padding-top:3px;
background:#fff url(../images/feed-icon-small.png) no-repeat center right;
float:right;
- font-family:@sort-font;
+ font-family: @sort-font;
font-size:16px;
}
@@ -4414,7 +4413,7 @@ textarea.tipped-input {
.action {
cursor: pointer;
color: #4A757F;
- font-family: 'Open Sans Condensed', Arial, sans-serif;
+ font-family: @main-font;
text-decoration: none;
}
@@ -4524,6 +4523,47 @@ td.setting-input {
}
}
+.acInput {
+ width: 200px;
+}
+.acResults {
+ padding: 0px;
+ border: 1px solid WindowFrame;
+ background-color: #fff;
+ overflow: hidden;
+ -webkit-box-shadow: 0px 1px 1px #A7A7A7;
+ -moz-box-shadow: 0px 1px 1px #BFBFBF;
+ box-shadow: 0px 1px 1px #BFBFBF;
+}
+
+.acResults ul {
+ width: 100%;
+ list-style-position: outside;
+ list-style: none;
+ padding: 0;
+ margin: 0;
+}
+
+.acResults li {
+ margin: 0px;
+ padding: 2px 5px;
+ cursor: pointer;
+ display: block;
+ width: 100%;
+ font: menu;
+ font-size: 14px;
+ overflow: hidden;
+}
+
+.acLoading {
+ background : url('../images/indicator.gif') right center no-repeat;
+}
+
+.acSelect {
+ background-color: Highlight;
+ color: HighlightText;
+}
+
/* modifications for small screens */
@media screen and (max-width: 960px) {/* content margins touch viewport */
* {