Mylene
9 years ago
17 changed files with 3131 additions and 3091 deletions
@ -1,7 +1,14 @@ |
|||||||
Theme Nin v2 for twister-html |
Theme Nin v2 for twister-html |
||||||
============================= |
============================= |
||||||
|
|
||||||
Nin is a clean and flat theme for [Twister](http://twister.net.co) [(twister-core on github)](https://github.com/miguelfreitas/twister-core) based on [twister-html](https://github.com/miguelfreitas/twister-html) |
Nin is a clean and flat theme [Twister](http://twister.net.co) [(twister-core on github)](https://github.com/miguelfreitas/twister-core) based on the html client [twister-html](https://github.com/miguelfreitas/twister-html) |
||||||
|
|
||||||
|
This is experimental by now. |
||||||
|
|
||||||
|
|
||||||
|
Maproad |
||||||
|
|
||||||
|
|
||||||
|
-- cleaning sass |
||||||
|
-- |
||||||
|
|
||||||
|
@ -1,50 +0,0 @@ |
|||||||
.clear-fix:after |
|
||||||
content: '' |
|
||||||
display: table |
|
||||||
clear: both |
|
||||||
|
|
||||||
// grille ultra-simple pour projets ultra-simples |
|
||||||
$grid_width : 100% // largeur de la grille en % |
|
||||||
$grid_max_width : 1080px // largeur max. en px |
|
||||||
$grid_cols : 12 // nombre de colonnes |
|
||||||
$grid_gut : 0 // largeur de la goutière en % |
|
||||||
$grid_col : ($grid_width - ($grid_gut * ($grid_cols - 1))) / $grid_cols |
|
||||||
$grid_col_push : $grid_width/$grid_cols |
|
||||||
$class-col : col !default |
|
||||||
$class-push : push !default |
|
||||||
|
|
||||||
// contenant |
|
||||||
.wrap |
|
||||||
width: $grid_width |
|
||||||
max-width: $grid_max_width |
|
||||||
margin: 0 auto |
|
||||||
background : transparent |
|
||||||
position: relative |
|
||||||
z-index: 10 |
|
||||||
+box-sizing(border-box) |
|
||||||
@extend .clear-fix |
|
||||||
.col |
|
||||||
float: left |
|
||||||
margin: 0 $grid_gut 0 0 |
|
||||||
+box-sizing(border-box) |
|
||||||
@extend .clear-fix |
|
||||||
@for $i from 1 through $grid_cols |
|
||||||
$j: $i - 1 |
|
||||||
.#{$class-col}-#{$i} |
|
||||||
width: ($i * $grid_col) + ($j * $grid_gut) |
|
||||||
.#{$class-col}-#{$i}-full |
|
||||||
width: ($i * $grid_col_push) |
|
||||||
float: left |
|
||||||
margin: 0 |
|
||||||
+box-sizing(border-box) |
|
||||||
@extend .clear-fix |
|
||||||
.#{$class-push}-#{$i} |
|
||||||
margin-left: ($i * $grid_col) + ($i * $grid_gut) |
|
||||||
|
|
||||||
|
|
||||||
.col.last, .#{$class-col}-#{$grid_cols} |
|
||||||
margin-right: 0 |
|
||||||
.col.first |
|
||||||
clear : left |
|
||||||
|
|
||||||
|
|
@ -1,55 +1,56 @@ |
|||||||
.login .header-bold |
.login |
||||||
|
|
||||||
|
.header-bold |
||||||
display: block |
display: block |
||||||
width: 720px |
width: 720px |
||||||
margin: 0px auto 12px auto |
margin: 0px auto 12px auto |
||||||
|
|
||||||
.login .module |
.module |
||||||
display: block |
|
||||||
width: 720px |
|
||||||
padding: 32px 40px |
|
||||||
margin: 8px auto |
|
||||||
background: white |
background: white |
||||||
|
@extend .col |
||||||
|
@extend .col-6 |
||||||
|
padding: $space |
||||||
|
|
||||||
.login .module p |
p |
||||||
margin-bottom: 5px |
margin-bottom: 5px |
||||||
|
|
||||||
.login .module input |
input |
||||||
padding: 5px 10px |
padding: 5px 10px |
||||||
background: #f3f3f3 |
background: #f3f3f3 |
||||||
border: solid 1px #dcdcdc |
border: solid 1px #dcdcdc |
||||||
transition: box-shadow 0.3s, border 0.3s |
transition: box-shadow 0.3s, border 0.3s |
||||||
font-size: 14px |
font-size: 14px |
||||||
|
|
||||||
.login .module input:focus, |
input:focus, select:focus |
||||||
.login .module select:focus |
|
||||||
background: white |
background: white |
||||||
transition: background-color 100ms linear |
transition: background-color 100ms linear |
||||||
border-bottom: solid 2px $color-green |
border-bottom: solid 2px $color-green |
||||||
|
|
||||||
.login .module select |
select |
||||||
height: 30px |
height: 30px |
||||||
padding: 3px 30px 3px 10px |
padding: 3px 30px 3px 10px |
||||||
margin: 0 |
margin: 0 |
||||||
border: 1px solid #ccc |
border: 1px solid #ccc |
||||||
font-size: 14px |
font-size: 14px |
||||||
|
|
||||||
.login .module span.availability |
span.availability |
||||||
margin-left: 10px |
margin-left: 10px |
||||||
color: #45474d |
color: #45474d |
||||||
|
|
||||||
.with-nickname, .import-secret-key, .create-user |
|
||||||
margin-top: 10px |
|
||||||
|
|
||||||
.login .module:nth-child(2) div, |
|
||||||
.login .module:nth-child(3) div:nth-child(2), |
.module:nth-child(2) div, |
||||||
.login .secret-key-import, |
.module:nth-child(3) div:nth-child(2), |
||||||
.login .username-import |
.secret-key-import, |
||||||
|
.username-import |
||||||
margin-top: 20px |
margin-top: 20px |
||||||
margin-bottom: 20px |
margin-bottom: 20px |
||||||
margin-left: 16px |
margin-left: 16px |
||||||
|
|
||||||
.login .create-user, |
.create-user, |
||||||
.login .import-secret-key |
.import-secret-key |
||||||
display: block |
display: block |
||||||
margin-left: auto |
margin-left: auto |
||||||
margin-right: 16px |
margin-right: 16px |
||||||
|
.with-nickname, .import-secret-key, .create-user |
||||||
|
margin-top: 10px |
@ -1,5 +1,62 @@ |
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.box-shadow |
||||||
|
+box-shadow(0 8px 13px rgba(#333, .1)) |
||||||
|
|
||||||
.clear-fix |
.clear-fix |
||||||
&:after // clearfix |
&:after // clearfix |
||||||
content: "" |
content: "" |
||||||
display: table |
display: table |
||||||
clear: both |
clear: both |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/************** BUTTONS ************/ |
||||||
|
|
||||||
|
button, a.button |
||||||
|
padding: .6rem 1rem |
||||||
|
display: inline-block |
||||||
|
line-height: .75rem |
||||||
|
letter-spacing: 0.07rem |
||||||
|
font-size: .75rem |
||||||
|
position: relative |
||||||
|
z-index: 10 |
||||||
|
font-weight: 300 |
||||||
|
margin: 2px |
||||||
|
text-transform: uppercase |
||||||
|
+transition-property(background, border-color) |
||||||
|
+transition-duration(.1s) |
||||||
|
color: #444 |
||||||
|
background: #F8F8F8 |
||||||
|
border: 1px solid darken( #F8F8F8 , 5%) |
||||||
|
font-family: $symbol-font-family, $main-font-family |
||||||
|
cursor: pointer |
||||||
|
&:hover |
||||||
|
border-color: darken( #F8F8F8 , 15%) |
||||||
|
&.disabled |
||||||
|
opacity: .5 |
||||||
|
color: #999 |
||||||
|
background-color: $bloc-background-color |
||||||
|
&:hover |
||||||
|
color: #666 |
||||||
|
+box-shadow(1px 1px 0 rgba(#444, .3)) |
||||||
|
&.color-1 |
||||||
|
background: $color-blue |
||||||
|
border-color: darken($color-blue, 5%) |
||||||
|
color: white |
||||||
|
font-weight: 500 |
||||||
|
&:hover |
||||||
|
border-color: darken($color-blue, 15%) |
||||||
|
&.color-2 |
||||||
|
background: #C3C3C3 |
||||||
|
border-color: darken(#C3C3C3, 5%) |
||||||
|
color: white |
||||||
|
font-weight: 500 |
||||||
|
&:hover |
||||||
|
border-color: darken(#C3C3C3, 15%) |
||||||
|
&.small |
||||||
|
padding: .3rem .5rem |
||||||
|
font-weight: 700 |
||||||
|
font-size: .6rem |
||||||
|
line-height: .6rem |
Loading…
Reference in new issue