Themes refactored
This commit is contained in:
parent
9477448ac0
commit
4c6c24856c
15 changed files with 224 additions and 46 deletions
|
@ -39,15 +39,15 @@ header {
|
|||
|
||||
h1 {
|
||||
width:90px;
|
||||
background: url('logo_dark.png') no-repeat 0px -3px;
|
||||
background: url('logo_dark.png') no-repeat 0px 2px;
|
||||
float:left;
|
||||
margin-left:5px;
|
||||
margin-left:2px;
|
||||
font-size:30px;
|
||||
line-height:48px;
|
||||
font-weight:normal;
|
||||
color:$style_color;
|
||||
text-shadow: 0 1px 1px #FFF;
|
||||
padding-left:50px;
|
||||
padding-left:45px;
|
||||
height:40px;
|
||||
font-family: 'Korolev', sans-serif;
|
||||
}
|
||||
|
@ -98,7 +98,7 @@ header {
|
|||
background-position: 10px;
|
||||
padding-left:25px;
|
||||
font-size: 13px;
|
||||
@include border-radius(2px);
|
||||
@include border-radius(3px);
|
||||
border:1px solid #c6c6c6;
|
||||
box-shadow:none;
|
||||
&:focus {
|
||||
|
@ -123,7 +123,7 @@ header {
|
|||
display: block;
|
||||
cursor: pointer;
|
||||
img {
|
||||
@include border-radius(2px);
|
||||
@include border-radius(3px);
|
||||
right: 5px;
|
||||
position: absolute;
|
||||
width: 28px;
|
||||
|
|
53
app/assets/stylesheets/sections/themes.scss
Normal file
53
app/assets/stylesheets/sections/themes.scss
Normal file
|
@ -0,0 +1,53 @@
|
|||
.themes_opts {
|
||||
padding-left:20px;
|
||||
|
||||
label {
|
||||
width:175px;
|
||||
margin-right:40px;
|
||||
|
||||
.prev {
|
||||
@extend .thumbnail;
|
||||
height:30px;
|
||||
width:175px;
|
||||
margin-bottom:10px;
|
||||
|
||||
&.classic {
|
||||
background: #31363e;
|
||||
}
|
||||
|
||||
&.default {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
&.modern {
|
||||
background: #567;
|
||||
}
|
||||
|
||||
&.gray {
|
||||
background: #708090;
|
||||
}
|
||||
|
||||
&.violet {
|
||||
background: #657;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.code_highlight_opts {
|
||||
padding-left:20px;
|
||||
|
||||
label {
|
||||
width:220px;
|
||||
margin-right:40px;
|
||||
|
||||
.prev {
|
||||
@extend .thumbnail;
|
||||
height:151px;
|
||||
width:220px;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue