CSS clean-up and fixes
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@@ -12,20 +14,40 @@ body {
|
||||
|
||||
/* Styles */
|
||||
|
||||
a { color: #0088cc; text-decoration: none;}
|
||||
a:hover { text-decoration: underline;}
|
||||
a img { border: none;}
|
||||
a {
|
||||
color: #0088cc;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
p { margin: 0px 0px 20px 0px; line-height: 18px;}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
ul { margin: 5px 0px 15px 0px; padding: 0px;}
|
||||
li { margin-left: 20px;}
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 20px 0;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin: 5px 0 15px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.editable {
|
||||
background: #fffbcc;
|
||||
}
|
||||
|
||||
.clear { clear:both;}
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/* Notifications */
|
||||
|
||||
@@ -292,15 +314,22 @@ div.error {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#footer .left { float: left;}
|
||||
#footer .right { float: right;}
|
||||
#footer .left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#footer .right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
|
||||
.buttons {
|
||||
float: left;
|
||||
padding-bottom: 20px;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
a.button {
|
||||
color: #6e6e6e;
|
||||
font: bold 12px Helvetica, Arial, sans-serif;
|
||||
@@ -322,22 +351,28 @@ a.button {
|
||||
-moz-border-radius: 2px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
a.button.locked {
|
||||
color: #333;
|
||||
border-color: #999;
|
||||
-moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2) -webkit-box-shadow:0 2px 5px rgba(0, 0, 0, 0.2);
|
||||
-moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
|
||||
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
a.button:hover {
|
||||
color: #333;
|
||||
border-color: #999;
|
||||
-moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2) -webkit-box-shadow:0 2px 5px rgba(0, 0, 0, 0.2);
|
||||
-moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
|
||||
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
a.button:active {
|
||||
color: #000;
|
||||
border-color: #444;
|
||||
}
|
||||
|
||||
a.left {
|
||||
-webkit-border-top-right-radius: 0;
|
||||
-moz-border-radius-topright: 0;
|
||||
@@ -347,6 +382,7 @@ a.left {
|
||||
border-bottom-right-radius: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
a.middle {
|
||||
border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
@@ -355,8 +391,12 @@ a.middle {
|
||||
margin: 0;
|
||||
border-left: solid 1px rgba(255, 255, 255, 0);
|
||||
}
|
||||
|
||||
a.middle:hover,
|
||||
a.right:hover { border-left: solid 1px #999 }
|
||||
a.right:hover {
|
||||
border-left: solid 1px #999;
|
||||
}
|
||||
|
||||
a.right {
|
||||
-webkit-border-top-left-radius: 0;
|
||||
-moz-border-radius-topleft: 0;
|
||||
@@ -367,68 +407,83 @@ a.right {
|
||||
border-left: solid 1px #f3f3f3;
|
||||
border-left: solid 1px rgba(255, 255, 255, 0);
|
||||
}
|
||||
|
||||
a.big {
|
||||
font-size: 16px;
|
||||
padding: 10px 15px;
|
||||
}
|
||||
|
||||
a.supersize {
|
||||
font-size: 20px;
|
||||
padding: 15px 20px;
|
||||
}
|
||||
|
||||
a.save {
|
||||
background: url(../images/icons/tick.png) 10px center no-repeat #f3f3f3;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
a.add {
|
||||
background: url(../images/icons/plus-circle.png) 10px center no-repeat #f3f3f3;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
a.delete {
|
||||
background: url(../images/button-sprite.png) 10px -59px no-repeat #f3f3f3;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
a.flag {
|
||||
background: url(../images/button-sprite.png) 10px -94px no-repeat #f3f3f3;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
a.cancel {
|
||||
background: url(../images/icons/slash.png) 10px center no-repeat #f3f3f3;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
a.up {
|
||||
background: url(../images/button-sprite.png) 13px -131px no-repeat #f3f3f3;
|
||||
width: 18px;
|
||||
}
|
||||
|
||||
a.down {
|
||||
background: url(../images/button-sprite.png) 13px -166px no-repeat #f3f3f3;
|
||||
width: 18px;
|
||||
}
|
||||
|
||||
a.save-big {
|
||||
background: url(../images/button-sprite.png) 15px 13px no-repeat #f3f3f3;
|
||||
font-size: 16px;
|
||||
padding: 10px 15px 10px 35px;
|
||||
}
|
||||
|
||||
a.add-big {
|
||||
background: url(../images/button-sprite.png) 15px -21px no-repeat #f3f3f3;
|
||||
font-size: 16px;
|
||||
padding: 10px 15px 10px 35px;
|
||||
}
|
||||
|
||||
a.delete-big {
|
||||
background: url(../images/button-sprite.png) 15px -55px no-repeat #f3f3f3;
|
||||
font-size: 16px;
|
||||
padding: 10px 15px 10px 35px;
|
||||
}
|
||||
|
||||
a.flag-big {
|
||||
background: url(../images/button-sprite.png) 15px -90px no-repeat #f3f3f3;
|
||||
font-size: 16px;
|
||||
padding: 10px 15px 10px 35px;
|
||||
}
|
||||
|
||||
a.up-big {
|
||||
background: url(../images/button-sprite.png) 15px -126px no-repeat #f3f3f3;
|
||||
width: 18px;
|
||||
font-size: 16px;
|
||||
padding: 10px 15px;
|
||||
}
|
||||
|
||||
a.down-big {
|
||||
background: url(../images/button-sprite.png) 15px -161px no-repeat #f3f3f3;
|
||||
width: 18px;
|
||||
@@ -443,24 +498,26 @@ ul.tabs {
|
||||
padding: 0;
|
||||
float: left;
|
||||
list-style: none;
|
||||
height: 27px; /*--Set height of tabs--*/
|
||||
height: 27px; /* Set height of tabs */
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
border-left: 1px solid #e8e8e8;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
ul.tabs li {
|
||||
float: left;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 26px; /*--Subtract 1px from the height of the unordered list--*/
|
||||
line-height: 26px; /*--Vertically aligns the text within the tab--*/
|
||||
height: 26px; /* Subtract 1px from the height of the unordered list */
|
||||
line-height: 26px; /* Vertically aligns the text within the tab */
|
||||
border: 1px solid #e8e8e8;
|
||||
border-left: none;
|
||||
margin-bottom: -1px; /*--Pull the list item down 1px--*/
|
||||
margin-bottom: -1px; /* Pull the list item down 1px */
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
background: #e0e0e0 url('../images/navigation-off.gif');
|
||||
}
|
||||
|
||||
ul.tabs li a {
|
||||
text-decoration: none;
|
||||
color: #000;
|
||||
@@ -468,12 +525,15 @@ ul.tabs li a {
|
||||
padding: 1px 21px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
ul.tabs li a:hover {
|
||||
background: #f0f0f0;
|
||||
}
|
||||
html ul.tabs li.active, html ul.tabs li.active a:hover { /*--Makes sure that the active tab does not listen to the hover properties--*/
|
||||
|
||||
html ul.tabs li.active,
|
||||
html ul.tabs li.active a:hover {
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #fff; /*--Makes the active tab look like it's connected with its content--*/
|
||||
border-bottom: 1px solid #fff; /* Makes the active tab look like it's connected with its content */
|
||||
}
|
||||
|
||||
.tab_container {
|
||||
@@ -484,9 +544,102 @@ html ul.tabs li.active, html ul.tabs li.active a:hover { /*--Makes sure that th
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.tab_content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.tab_buttons {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* JTip styles */
|
||||
|
||||
.form_info a,
|
||||
.form_info a:active,
|
||||
.form_info a:visited {
|
||||
background-color: #d2d2d2;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
margin-left: -3px;
|
||||
padding: 4px;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.form_info a:hover {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#JT_arrow_left {
|
||||
background: url(../images/arrow-left.gif) left top no-repeat;
|
||||
position: absolute;
|
||||
z-index: 101;
|
||||
left: -11px;
|
||||
height: 23px;
|
||||
width: 10px;
|
||||
top: -3px;
|
||||
}
|
||||
|
||||
#JT_arrow_right {
|
||||
background: url(../images/arrow-right.gif) left top no-repeat;
|
||||
position: absolute;
|
||||
z-index: 101;
|
||||
height: 23px;
|
||||
width: 11px;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
#JT {
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
border: 1px solid #ccc;
|
||||
background-color: #fff;
|
||||
margin-top: 5px;
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
#JT_copy {
|
||||
padding: 5px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.JT_loader {
|
||||
background: url(../images/ajax-loader.gif) center center no-repeat;
|
||||
width: 100%;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
#JT_close_left {
|
||||
background-color: #ccc;
|
||||
text-align: left;
|
||||
padding-left: 4px;
|
||||
padding-bottom: 2px;
|
||||
padding-top: 1px;
|
||||
font-weight: bold;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#JT_close_right {
|
||||
background-color: #ccc;
|
||||
text-align: left;
|
||||
padding-left: 4px;
|
||||
padding-bottom: 2px;
|
||||
padding-top: 1px;
|
||||
font-weight: bold;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#JT_copy p {
|
||||
margin: 3px 0;
|
||||
}
|
||||
|
||||
#JT_copy img {
|
||||
padding: 1px;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.jTip {
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user