Andrew Smith f983b451ad Reformat CSS to use the coding standard. #947
Formatting was done mostly by hand using the following as a guide
http://gnuvince.wordpress.com/2007/02/26/reformatting-a-css-file-with-vim/

" Replace all sequences of white spaces with one space
:%s/[ \t\n]\+/ /g

" Go to the end of the command, then forward one character and insert
" a newline
]/lr^M

" Make sure there is a semi-colon before each closing bracket
:%s/\([^; ]\) *}/\1;}/g

" Add a newline after every semi-colon
:%s/;/;^M/g

" Add a newline after every opening brace and make put one space
" between it and the preceeding text
:%s/\([^ ]*\) *{/\1 {^M/g

" Add two newlines after every closing brace
:%s/}/}^M^M/g

" Remove 'trailing' spaces in front of the semi-colons
:%s/ *;/;/g

" Make sure there is only one space after a colon
:%s/: */: /g

" Make the text before the colon lowercase
:%s/\(.\{-}\):/\L\1:/g

" Remove all trailing spaces at the beginning of lines
:%s/^ \+/g

" Indent the whole file
gg=G

" Split each rule onto its own line (This also matched some
" property/value combos so needed confirming
:%s/\([a-z0-9]\+\), \+/\1,^M/gc
2012-05-21 13:45:39 +02:00

57 lines
675 B
CSS

/* These will be included for IE6 & IE7 */
.title-bar h2 {
height: 21px;
}
td.dropdown {
z-index: 50;
position: relative;
}
body .title-bar-extras {
overflow: hidden;
}
#main-menu,
.title-bar {
z-index: 4;
}
.title-bar .button-large ul {
z-index: 15;
}
form.tooltip-active {
z-index: 14;
}
#main-menu li li a span {
position: absolute;
right: 0;
top: 0;
display: block;
}
#main-menu li li li a span {
right: 10px;
}
body .file-thumbs a {
max-width: 150px;
}
#watchers {
position: relative;
z-index: 5;
}
div.attachments {
position: relative;
z-index: 4;
}
fieldset.collapsible.header_collapsible legend {
margin-left: -15px;
}