use border-box for everything

This commit is contained in:
marijus 2014-03-22 21:10:26 +01:00
parent c968a18db3
commit 13916566f0
6 changed files with 28 additions and 38 deletions

View file

@ -426,4 +426,4 @@ function photos_create_item($channel, $creator_hash, $photo, $visible = false) {
$item_id = $result['item_id'];
return $item_id;
}
}

View file

@ -1,28 +1,9 @@
/* override some bootstrap settings */
*,
*:before,
*:after {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
html {
font-size: 100%;
}
.panel-body .form-control{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.profile-jot-text{
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
h1,
.h1 {
font-size: 24px;

View file

@ -6,7 +6,7 @@
border: 0px;
margin: 0px;
padding: 8px;
height: 1.8em;
height: 3.4em;
width: 70%;
margin-bottom: 5px;
}
@ -16,10 +16,10 @@
}
#profile-jot-text {
height: 1.8em;
height: 3.4em;
padding: 8px;
margin-right: 0px;
width: 90%;
width: 100%;
}
#profile-jot-text-loading {
@ -29,11 +29,11 @@
#profile-jot-submit-wrapper {
margin-top: 10px;
width: 90%;
width: 100%;
}
#profile-jot-submit {
height: 22px;
height: 30px;
width: 70px;
float: right;
}
@ -369,7 +369,7 @@
}
.comment-edit-text-empty {
height: 1.2em;
height: 2.8em;
width: 30%;
overflow: auto;
margin-bottom: 10px;

View file

@ -14,11 +14,12 @@ main {
}
aside#region_1 {
width: 210px;
min-width: 210px;
width: 231px;
min-width: 231px;
max-width: 231px;
display: table-cell;
vertical-align: top;
padding: 65px 7px 13px 7px;
padding: 65px 7px 0px 7px;
}
aside input[type='text'] {

View file

@ -22,8 +22,8 @@
/* notes */
#note-text {
width: 190px;
max-width: 190px;
width: 100%;
resize: vertical;
height: 150px;
}

View file

@ -357,6 +357,10 @@ footer {
color: #444444;
}
.vcard {
padding: 8px;
}
.vcard .title {
margin-bottom: 5px;
}
@ -429,9 +433,9 @@ footer {
#profile-photo-wrapper img {
width:175px;
height:175px;
padding: 12px;
width: 201px;
height: 201px;
}
#profile-in-dir-yes-label,
@ -727,6 +731,7 @@ footer {
#contact-block {
margin-top: 25px;
padding: 8px;
}
#contact-block-numcontacts {
@ -736,8 +741,8 @@ footer {
.contact-block-div {
float: left;
width: 52px;
height: 52px;
width: 50px;
height: 50px;
}
.contact-block-textdiv {
float: left;
@ -1240,7 +1245,7 @@ brain is weird like that */
background-image:url("../../../../images/onoff.jpg");
background-repeat: no-repeat;
padding: 4px 2px 2px 2px;
height: 16px;
height: 24px;
text-decoration: none;
}
.field .onoff .off {
@ -1430,6 +1435,9 @@ div.jGrowl div.info {
right: 15px;
}
div.jGrowl div.jGrowl-notification {
min-height: 60px;
}
#id_term_label {
width:75px;
@ -2264,8 +2272,8 @@ blockquote {
}
main {
left: -225px;
width: calc( 100% + 225px );
left: -231px;
width: calc( 100% + 231px );
}
main.region_1-on {