Commit 39f46046 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

refactor scss, refove unused classes

parent 07c82cf7
...@@ -76,7 +76,6 @@ class MergeRequest ...@@ -76,7 +76,6 @@ class MergeRequest
$('.ci_widget.ci-' + state).show() $('.ci_widget.ci-' + state).show()
loadDiff: (event) -> loadDiff: (event) ->
$('.dashboard-loader').show()
$.ajax $.ajax
type: 'GET' type: 'GET'
url: this.$('.nav-tabs .diffs-tab a').attr('href') url: this.$('.nav-tabs .diffs-tab a').attr('href')
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
@import "sections/admin.scss"; @import "sections/admin.scss";
@import "sections/wiki.scss"; @import "sections/wiki.scss";
@import "sections/wall.scss"; @import "sections/wall.scss";
@import "sections/dashboard.scss";
@import "highlight/white.scss"; @import "highlight/white.scss";
@import "highlight/dark.scss"; @import "highlight/dark.scss";
......
...@@ -17,7 +17,6 @@ body { ...@@ -17,7 +17,6 @@ body {
margin: 0 0; margin: 0 0;
} }
.visible_link,
.author_link { .author_link {
color: $link_color; color: $link_color;
} }
...@@ -32,30 +31,12 @@ body { ...@@ -32,30 +31,12 @@ body {
padding-bottom: 0; padding-bottom: 0;
} }
.info_link {
margin-right: 5px;
float: left;
img {
width: 20px;
}
}
.download_repo_link {
background: url("images.png") no-repeat 0 -48px;
padding-left: 20px;
}
table a code { table a code {
position: relative; position: relative;
top: -2px; top: -2px;
margin-right: 3px; margin-right: 3px;
} }
.span12 hr{
margin-top: 5px;
}
.loading { .loading {
margin: 20px auto; margin: 20px auto;
background: url(ajax_loader.gif) no-repeat center center; background: url(ajax_loader.gif) no-repeat center center;
...@@ -81,10 +62,6 @@ table a code { ...@@ -81,10 +62,6 @@ table a code {
} }
} }
.git_url_wrapper {
margin-right:50px
}
span.update-author { span.update-author {
display: block; display: block;
color: #999; color: #999;
...@@ -96,20 +73,11 @@ span.update-author { ...@@ -96,20 +73,11 @@ span.update-author {
} }
} }
.dashboard-loader {
float: left;
margin: 10px;
display: none;
}
.user-mention { .user-mention {
color: #2FA0BB; color: #2FA0BB;
font-weight: bold; font-weight: bold;
} }
.neib {
margin-right: 10px;
}
.label { .label {
padding: 1px 4px; padding: 1px 4px;
font-size: 12px; font-size: 12px;
...@@ -170,27 +138,6 @@ input[type=text] { ...@@ -170,27 +138,6 @@ input[type=text] {
} }
} }
.merge-request-form-holder {
select {
width: 300px;
}
}
/** Issues **/
#issue_assignee_id {
width: 300px;
}
#new_issue_dialog textarea{
height: 100px;
}
.project_list_url {
width: 250px;
background:#fff !important;
}
.line_holder { .line_holder {
&:hover { &:hover {
td { td {
...@@ -222,24 +169,6 @@ p.time { ...@@ -222,24 +169,6 @@ p.time {
margin: 30px 3px 3px 2px; margin: 30px 3px 3px 2px;
} }
.styled_image {
border: 2px solid #ddd;
}
/* Fix for readme code (stopped it from being yellow) */
.readme {
pre {
background: white !important;
code {
background: none !important;
}
}
}
.search-holder { .search-holder {
label, input { label, input {
height: 30px; height: 30px;
...@@ -333,25 +262,6 @@ li.note { ...@@ -333,25 +262,6 @@ li.note {
} }
/**
* Admin area
*
*/
.admin_dash {
.data {
a {
h1 {
line-height: 48px;
font-size: 48px;
padding: 20px;
text-align: center;
font-weight: normal;
}
}
}
}
.rss-icon { .rss-icon {
img { img {
width: 24px; width: 24px;
...@@ -364,18 +274,6 @@ li.note { ...@@ -364,18 +274,6 @@ li.note {
} }
/* CHZN reset few styles */
.chzn-container-single .chzn-single {
background: #FFF;
border: 1px solid #bbb;
box-shadow: none;
}
.chzn-container-active .chzn-single {
background: #fff;
}
.supp_diff_link, .supp_diff_link,
.show-all-commits { .show-all-commits {
cursor: pointer; cursor: pointer;
...@@ -481,27 +379,6 @@ pre { ...@@ -481,27 +379,6 @@ pre {
} }
} }
.float-link {
float: left;
margin-right: 15px;
.s16 {
margin-right: 5px;
}
}
.dashboard-search-filter {
padding:5px;
.search-text-input {
float:left;
@extend .span2;
}
.btn {
margin-left: 5px;
float:left;
}
}
h1.http_status_code { h1.http_status_code {
font-size: 56px; font-size: 56px;
line-height: 100px; line-height: 100px;
...@@ -532,18 +409,6 @@ img.emoji { ...@@ -532,18 +409,6 @@ img.emoji {
display: none; display: none;
} }
.label-branch {
@include border-radius(4px);
padding: 2px 4px;
border: none;
font-size: 14px;
background: #474D57;
color: #fff;
font-family: $monospace_font;
text-shadow: 0 1px 1px #111;
font-weight: normal;
}
.chart { .chart {
overflow: hidden; overflow: hidden;
height: 220px; height: 220px;
......
/** AVATARS **/ .avatar {
img.avatar { float: left; margin-right: 12px; width: 40px; border: 1px solid #ddd; padding: 1px; } float: left;
img.avatar.s16 { width: 16px; height: 16px; margin-right: 6px; } margin-right: 12px;
img.avatar.s24 { width: 24px; height: 24px; margin-right: 8px; } width: 40px;
img.avatar.s32 { width: 32px; height: 32px; margin-right: 10px; } border: 1px solid #ddd;
img.avatar.s90 { width: 90px; height: 90px; margin-right: 15px; } padding: 1px;
&.avatar-inline {
float: none;
margin-left: 3px;
&.s16 { margin-right: 2px; }
&.s24 { margin-right: 2px; }
}
&.s16 { width: 16px; height: 16px; margin-right: 6px; }
&.s24 { width: 24px; height: 24px; margin-right: 8px; }
&.s32 { width: 32px; height: 32px; margin-right: 10px; }
&.s90 { width: 90px; height: 90px; margin-right: 15px; }
}
img.lil_av { padding-left: 4px; padding-right: 3px; } img.lil_av { padding-left: 4px; padding-right: 3px; }
img.small { width: 80px; } img.small { width: 80px; }
...@@ -10,11 +10,16 @@ ...@@ -10,11 +10,16 @@
/** COMMON CLASSES **/ /** COMMON CLASSES **/
.left { float:left } .left { float:left }
.append-bottom-10 { margin-bottom:10px }
.append-bottom-20 { margin-bottom:20px }
.prepend-top-10 { margin-top:10px } .prepend-top-10 { margin-top:10px }
.prepend-top-20 { margin-top:20px } .prepend-top-20 { margin-top:20px }
.prepend-left { margin-left:20px } .prepend-left-10 { margin-left:10px }
.prepend-left-20 { margin-left:20px }
.append-right-10 { margin-right:10px }
.append-right-20 { margin-right:20px }
.append-bottom-10 { margin-bottom:10px }
.append-bottom-20 { margin-bottom:20px }
.padded { padding:20px } .padded { padding:20px }
.ipadded { padding:20px!important } .ipadded { padding:20px!important }
.lborder { border-left:1px solid #eee } .lborder { border-left:1px solid #eee }
...@@ -32,8 +37,6 @@ ...@@ -32,8 +37,6 @@
border-color: #DDD; border-color: #DDD;
} }
.well { padding: 15px; }
/** HELPERS **/ /** HELPERS **/
.nothing_here_message { .nothing_here_message {
text-align: center; text-align: center;
......
/**
* Admin area
*
*/
.admin_dash {
.data {
a {
h1 {
line-height: 48px;
font-size: 48px;
padding: 20px;
text-align: center;
font-weight: normal;
}
}
}
}
.admin-filter form { .admin-filter form {
label { width: 110px; } label { width: 110px; }
.controls { margin-left: 130px; } .controls { margin-left: 130px; }
......
.projects {
@extend .row;
.activities {
}
.side {
@extend .pull-right;
.ui-box {
margin: 3px;
> .title {
padding: 2px 15px;
}
.nav-projects-tabs li { padding: 0; }
.well-list {
li { padding: 15px; }
.arrow {
float: right;
padding: 10px;
margin: 0;
}
.last_activity {
padding-top: 5px;
display: block;
span, strong {
font-size: 12px;
color: #666;
}
}
}
@extend .ui-box;
}
}
}
.new_project, .new_project,
.edit_project { .edit_project {
.project_name_holder { .project_name_holder {
......
/* CHZN reset few styles */
.chzn-container-single .chzn-single {
background: #FFF;
border: 1px solid #bbb;
box-shadow: none;
}
.chzn-container-active .chzn-single {
background: #fff;
}
.ajax-users-select { .ajax-users-select {
width: 400px; width: 400px;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment