summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-14 22:43:14 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-14 22:43:14 -0400
commit68883de9a3f294d3dfa7e59e6a8765c341d710a5 (patch)
tree7c8bcc7ab0dd3b338fec92237cf124ac336ab0de
parenta8584758d83f779bef5c891c5095864dcfa7c95e (diff)
downloadaskbot-68883de9a3f294d3dfa7e59e6a8765c341d710a5.tar.gz
askbot-68883de9a3f294d3dfa7e59e6a8765c341d710a5.tar.bz2
askbot-68883de9a3f294d3dfa7e59e6a8765c341d710a5.zip
put border styling for inputs and textareas into one place
-rw-r--r--askbot/media/style/style.css20
-rw-r--r--askbot/media/style/style.less23
2 files changed, 16 insertions, 27 deletions
diff --git a/askbot/media/style/style.css b/askbot/media/style/style.css
index 989e335a..695b33b4 100644
--- a/askbot/media/style/style.css
+++ b/askbot/media/style/style.css
@@ -63,6 +63,13 @@ textarea:focus,
input:focus {
outline: none;
}
+input[type="text"],
+input[type="password"],
+select,
+textarea,
+#askFormBar .questionTitleInput {
+ border: #cce6ec 3px solid;
+}
iframe {
border: none;
}
@@ -438,7 +445,6 @@ body.user-messages {
}
.validate-email-page #validation-code {
padding-left: 5px;
- border: #cce6ec 3px solid;
height: 25px;
font-size: 14px;
width: 200px;
@@ -1622,7 +1628,6 @@ ul#related-tags li {
line-height: 36px;
margin: 0;
padding-left: 5px;
- border: #cce6ec 3px solid;
width: 100%;
/*719px;*/
@@ -1690,7 +1695,6 @@ ul#related-tags li {
.ask-page #id_tags,
.edit-question-page #id_tags {
box-sizing: border-box;
- border: #cce6ec 3px solid;
height: 31px;
padding-left: 5px;
font-size: 14px;
@@ -1709,7 +1713,6 @@ ul#related-tags li {
.question-page #id_post_author_email,
.edit-question-page #id_post_author_email,
.edit-answer-page #id_post_author_email {
- border: #cce6ec 3px solid;
height: 25px;
line-height: 25px;
padding-left: 5px;
@@ -1762,7 +1765,6 @@ ul#related-tags li {
}
#id_user,
#id_user_author {
- border: #cce6ec 3px solid;
height: 25px;
padding-left: 5px;
width: 395px;
@@ -1789,7 +1791,6 @@ ul#related-tags li {
}
#id_user,
#id_user_author {
- border: #cce6ec 3px solid;
height: 25px;
padding-left: 5px;
width: 395px;
@@ -1819,7 +1820,6 @@ ul#related-tags li {
margin-right: 7px;
}
.folded-editor {
- border: #cce6ec 3px solid;
height: 100px;
outline: none;
width: 100%;
@@ -2010,7 +2010,6 @@ ul#related-tags li {
height: 36px;
margin: 0px;
padding: 0px 0 0 5px;
- border: #cce6ec 3px solid;
width: 100%;
margin-bottom: 10px;
box-sizing: border-box;
@@ -2020,7 +2019,6 @@ ul#related-tags li {
.edit-question-page #id_summary,
#fmedit #id_summary,
.wmd-preview #id_summary {
- border: #cce6ec 3px solid;
height: 25px;
padding-left: 5px;
width: 395px;
@@ -2372,7 +2370,6 @@ ul#related-tags li {
}
.question-page .comments textarea {
box-sizing: border-box;
- border: #cce6ec 3px solid;
color: #666;
font-family: Arial;
font-size: 13px;
@@ -2774,7 +2771,6 @@ ul#related-tags li {
.users-page select,
.user-profile-edit-page select,
.user-profile-page select {
- border: #cce6ec 3px solid;
height: 25px;
line-height: 25px;
padding-left: 5px;
@@ -2794,7 +2790,6 @@ ul#related-tags li {
.users-page textarea,
.user-profile-edit-page textarea,
.user-profile-page textarea {
- border: #cce6ec 3px solid;
padding-left: 5px;
padding-top: 5px;
width: 395px;
@@ -2878,7 +2873,6 @@ ul#related-tags li {
height: 20px;
margin: 0px;
padding: 0px 0 0 5px;
- border: #cce6ec 3px solid;
width: 200px;
}
.openid-input {
diff --git a/askbot/media/style/style.less b/askbot/media/style/style.less
index 5a228b14..a9c4f8fa 100644
--- a/askbot/media/style/style.less
+++ b/askbot/media/style/style.less
@@ -52,6 +52,14 @@ textarea:focus, input:focus{
outline: none;
}
+input[type="text"],
+input[type="password"],
+select,
+textarea,
+#askFormBar .questionTitleInput {
+ border: #cce6ec 3px solid;
+}
+
iframe {
border: none;
}
@@ -481,7 +489,6 @@ body.user-messages {
}
#validation-code {
padding-left:5px;
- border:#cce6ec 3px solid;
height:25px;
font-size: 14px;
width: 200px;
@@ -1724,7 +1731,6 @@ ul#related-tags li {
line-height: 36px;
margin: 0;
padding-left: 5px;
- border:#cce6ec 3px solid;
width: 100%;/*719px;*/
box-sizing: border-box;
-moz-box-sizing: border-box;
@@ -1791,7 +1797,6 @@ ul#related-tags li {
#id_tags {
box-sizing: border-box;
- border: #cce6ec 3px solid;
height: 31px;
padding-left: 5px;
font-size: 14px;
@@ -1809,7 +1814,6 @@ ul#related-tags li {
.edit-answer-page {
#id_post_author_username,
#id_post_author_email {
- border: #cce6ec 3px solid;
height: 25px;
line-height: 25px;
padding-left: 5px;
@@ -1860,7 +1864,6 @@ ul#related-tags li {
#id_user,
#id_user_author {
- border:#cce6ec 3px solid;
height:25px;
padding-left:5px;
width:395px;
@@ -1891,7 +1894,6 @@ ul#related-tags li {
#id_user,
#id_user_author {
- border:#cce6ec 3px solid;
height:25px;
padding-left:5px;
width:395px;
@@ -1924,7 +1926,6 @@ ul#related-tags li {
}
.folded-editor {
- border:#cce6ec 3px solid;
height: 100px;
outline: none;
width: 100%;
@@ -1950,7 +1951,7 @@ ul#related-tags li {
}
.wmd-container {
- border:#cce6ec 3px solid;
+ border: #cce6ec 3px solid;
textarea {
border: none;
}
@@ -2127,7 +2128,6 @@ ul#related-tags li {
height: 36px;
margin: 0px;
padding: 0px 0 0 5px;
- border:#cce6ec 3px solid;
width: 100%;
margin-bottom:10px;
box-sizing: border-box;
@@ -2135,7 +2135,6 @@ ul#related-tags li {
-webkit-box-sizing: border-box;
}
#id_summary{
- border:#cce6ec 3px solid;
height:25px;
padding-left:5px;
width:395px;
@@ -2490,7 +2489,6 @@ ul#related-tags li {
textarea {
box-sizing: border-box;
- border: #cce6ec 3px solid;
color: #666;
font-family: @body-font;
font-size: 13px;
@@ -2904,7 +2902,6 @@ ul#related-tags li {
input[type="text"],
input[type="password"],
select{
- border:#cce6ec 3px solid;
height:25px;
line-height: 25px;
padding-left:5px;
@@ -2916,7 +2913,6 @@ ul#related-tags li {
height:30px;
}
textarea{
- border:#cce6ec 3px solid;
padding-left:5px;
padding-top:5px;
width:395px;
@@ -2980,7 +2976,6 @@ ul#related-tags li {
height: 20px;
margin: 0px;
padding: 0px 0 0 5px;
- border:#cce6ec 3px solid;
width:200px;
}
}