SCSS refactoring & cleanup. First iteration
This commit is contained in:
parent
35fbc4d3bb
commit
1dd938d20c
17 changed files with 717 additions and 1269 deletions
71
app/assets/stylesheets/gitlab_bootstrap/typography.scss
Normal file
71
app/assets/stylesheets/gitlab_bootstrap/typography.scss
Normal file
|
@ -0,0 +1,71 @@
|
|||
/**
|
||||
* Headers
|
||||
*
|
||||
*/
|
||||
h3, h4, h5, h6 { line-height: 36px; }
|
||||
h5 { font-size:14px; }
|
||||
h3.page_title {
|
||||
color:#456;
|
||||
font-size:20px;
|
||||
font-weight: normal;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
/** CODE **/
|
||||
pre {
|
||||
font-family:'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
|
||||
|
||||
&.dark {
|
||||
background: #333;
|
||||
color:#f5f5f5;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Links
|
||||
*
|
||||
*/
|
||||
a {
|
||||
outline: none;
|
||||
color: $link_color;
|
||||
&:hover {
|
||||
text-decoration:none;
|
||||
color: $blue_link;
|
||||
}
|
||||
|
||||
&.btn {
|
||||
color: $style_color;
|
||||
&:hover {
|
||||
color: $style_color;
|
||||
}
|
||||
}
|
||||
|
||||
&.dark {
|
||||
color: $style_color;
|
||||
}
|
||||
|
||||
&.lined {
|
||||
text-decoration:underline;
|
||||
&:hover { text-decoration:underline; }
|
||||
}
|
||||
|
||||
&.gray {
|
||||
color:gray;
|
||||
}
|
||||
|
||||
&.supp_diff_link {
|
||||
text-align:center;
|
||||
padding:20px 0;
|
||||
background:#f1f1f1;
|
||||
width:100%;
|
||||
float:left;
|
||||
}
|
||||
|
||||
&.neib {
|
||||
margin-right:15px;
|
||||
}
|
||||
}
|
||||
|
||||
a:focus {
|
||||
outline: none;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue