Files
PocketSharp/PocketSharp.Website/Assets/Stylesheets/Interface/_main.scss
T

138 lines
1.9 KiB
SCSS
Raw Normal View History

2013-07-09 21:25:10 +02:00
*
{
@include box-sizing(border-box);
}
2013-07-09 22:17:55 +02:00
$screen: "only screen";
2013-07-13 13:19:34 +02:00
$small: "only screen and (max-width: 767px)";
2013-07-09 22:17:55 +02:00
2013-07-09 21:25:10 +02:00
html
{
height: 100%;
}
2013-07-09 22:17:55 +02:00
html, body
{
font-size: 100%;
}
2013-07-09 21:25:10 +02:00
body
{
2013-07-09 22:57:45 +02:00
line-height: 1.3;
2013-07-09 21:25:10 +02:00
color: $textColor;
height: 100%;
width: 100%;
position: relative;
font-family: 'Segoe UI', Arial, sans-serif;
2013-07-09 22:17:55 +02:00
font-size: 14px;
background: $darkColor image-url('stripe.png') repeat-x top;
2013-07-09 21:25:10 +02:00
-webkit-text-size-adjust: none;
-ms-text-size-adjust: none;
}
// Get rid of gap under images by making them display: inline-block; by default
img
{
display: inline-block;
vertical-align: middle;
-ms-interpolation-mode: bicubic;
}
// Grid Defaults to get images and embeds to work properly
img, object, embed
{
max-width: 100%;
height: auto;
}
object, embed
{
height: 100%;
}
.center
{
text-align: center;
2013-07-09 22:57:45 +02:00
}
.article
{
color: darken($midColor, 10%);
2013-07-13 12:22:56 +02:00
padding-bottom: 50px;
}
div[data-part]
{
display: none;
}
div[data-part="gettingstarted"]
{
display: block;
2013-07-09 22:57:45 +02:00
}
// app area
.app
{
width: 860px;
max-width: 100%;
margin: 0 auto;
padding: 100px 20px 0;
position: relative;
@extend %clearfix;
@media #{$small}
{
padding-top: 40px;
}
}
.app-main
{
width: 500px;
2013-07-13 13:19:34 +02:00
max-width: 100%;
2013-07-09 22:57:45 +02:00
float: right;
2013-07-13 13:19:34 +02:00
@media #{$small}
{
float: none;
}
2013-07-09 22:57:45 +02:00
}
.app-nav
{
$height: 50px;
@extend %clearfix;
margin-bottom: 40px;
a
{
background: darken($darkColor, 2%);
display: inline-block;
height: $height + 3;
line-height: $height;
padding: 0 15px;
color: white;
float: left;
2013-07-13 12:22:56 +02:00
cursor: pointer;
2013-07-13 13:19:34 +02:00
outline-color: transparent !important;
2013-07-09 22:57:45 +02:00
&.is-active
{
background: darken($darkColor, 4%);
border-bottom: 3px solid $primaryColor;
}
&:first-child { border-radius: 4px 0 0 4px; }
&:last-child { border-radius: 0 4px 4px 0; }
2013-07-13 13:19:34 +02:00
@media #{$small}
{
display: block;
float: none;
}
2013-07-09 22:57:45 +02:00
}
2013-07-09 21:25:10 +02:00
}