Commit 4ebef2e0 by tady

css header css

parent db9ac8e7
// Place all the styles related to the home controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
.navbar-default .navbar-brand {
background-color: #428bca;
color: #fff;
}
.navbar-default .navbar-brand,
.label a {
// color: white;
}
// #app-search-form {
// width: 200px;
// }
.container-main{
min-height: 400px;
}
......@@ -8,26 +8,11 @@
* You're free to add application-wide styles to this file and they'll appear at the top of the
* compiled file, but it's generally better to create a new file per style scope.
*
*= require normalize
*= require gritter
*= require_tree ./lib
*= require_tree ./modules
*= require_tree .
*= require bootstrap-rendezvous
*= require_self
*/
.text-shadow {
color: #999999;
}
a .text-link {
color: #1e0fbe;
}
a:visited .text-link {
color: #609;
}
.popover {
max-width: 400px;
}
@import 'values';
@import url(https://fonts.googleapis.com/css?family=Flamenco:300,400);
@import url(https://fonts.googleapis.com/css?family=Quicksand:300,400,700);
p, h1, h2, h3, h4, h5, h6, span {
// font-family: 'メイリオ', 'meiryo', hiragino kaku go;
// letter-spacing: 2pt;
// line-height: 150%;
// margin: 0;
// padding: 0;
}
.badge.badge-transparent {
background-color: transparent;
color: $main-color;
// font-family: 'Quicksand';
letter-spacing: 0;
border: 1.5px solid $main-color;
padding: 4px 6px;
}
.body-padding {
padding-top: 70px;
}
$set_prefix: -webkit-, -moz-, -ms-, -o-, '';
$main-color: #75b3c8;
$theme-color-main: #75b3c8;
@mixin background_color($bg_value: $main-color) {
@mixin background_color($bg_value: $theme-color-main) {
background-color: $bg_value;
color: #fff;
}
......@@ -17,6 +17,7 @@ $main-color: #75b3c8;
#{$prefix}transition: all $transition_value $move_type
}
}
@import url(https://fonts.googleapis.com/css?family=Flamenco:300,400);
@import url(https://fonts.googleapis.com/css?family=Quicksand:300,400,700);
.btn-original {
......
/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
.login {
padding-bottom: 40px;
color: #5a5a5a;
/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */
/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 20;
}
/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper .container {
padding-left: 0;
padding-right: 0;
}
.navbar-wrapper .navbar {
padding-left: 15px;
padding-right: 15px;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
.carousel {
height: 500px;
margin-bottom: 60px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
z-index: 10;
}
/* Declare heights because of positioning of img element */
.carousel .item {
height: 500px;
background-color: #777;
}
.carousel-inner > .item > img {
position: absolute;
top: 0;
left: 0;
min-width: 100%;
height: 500px;
}
/* MARKETING CONTENT
-------------------------------------------------- */
/* Pad the edges of the mobile views a bit */
.marketing {
padding-left: 15px;
padding-right: 15px;
}
/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
text-align: center;
margin-bottom: 20px;
}
.marketing h2 {
font-weight: normal;
}
.marketing .col-lg-4 p {
margin-left: 10px;
margin-right: 10px;
}
/* Featurettes
------------------------- */
.featurette-divider {
margin: 80px 0; /* Space out the Bootstrap <hr> more */
}
/* Thin out the marketing headings */
.featurette-heading {
font-weight: 300;
line-height: 1;
letter-spacing: -1px;
}
/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width: 768px) {
/* Remove the edge padding needed for mobile */
.marketing {
padding-left: 0;
padding-right: 0;
}
/* Navbar positioning foo */
.navbar-wrapper {
margin-top: 20px;
}
.navbar-wrapper .container {
padding-left: 15px;
padding-right: 15px;
}
.navbar-wrapper .navbar {
padding-left: 0;
padding-right: 0;
}
/* The navbar becomes detached from the top, so we round the corners */
.navbar-wrapper .navbar {
border-radius: 4px;
}
/* Bump up size of carousel content */
.carousel-caption p {
margin-bottom: 20px;
font-size: 21px;
line-height: 1.4;
}
.featurette-heading {
font-size: 50px;
}
}
@media (min-width: 992px) {
.featurette-heading {
margin-top: 120px;
}
}
}
// /* GLOBAL STYLES
// -------------------------------------------------- */
// /* Padding below the footer and lighter body text */
// .login {
// padding-bottom: 40px;
// color: #5a5a5a;
// /* CUSTOMIZE THE NAVBAR
// -------------------------------------------------- */
// /* Special class on .container surrounding .navbar, used for positioning it into place. */
// .navbar-wrapper {
// position: absolute;
// top: 0;
// left: 0;
// right: 0;
// z-index: 20;
// }
// /* Flip around the padding for proper display in narrow viewports */
// .navbar-wrapper .container {
// padding-left: 0;
// padding-right: 0;
// }
// .navbar-wrapper .navbar {
// padding-left: 15px;
// padding-right: 15px;
// }
// /* CUSTOMIZE THE CAROUSEL
// -------------------------------------------------- */
// /* Carousel base class */
// .carousel {
// height: 500px;
// margin-bottom: 60px;
// }
// /* Since positioning the image, we need to help out the caption */
// .carousel-caption {
// z-index: 10;
// }
// /* Declare heights because of positioning of img element */
// .carousel .item {
// height: 500px;
// background-color: #777;
// }
// .carousel-inner > .item > img {
// position: absolute;
// top: 0;
// left: 0;
// min-width: 100%;
// height: 500px;
// }
// /* MARKETING CONTENT
// -------------------------------------------------- */
// /* Pad the edges of the mobile views a bit */
// .marketing {
// padding-left: 15px;
// padding-right: 15px;
// }
// /* Center align the text within the three columns below the carousel */
// .marketing .col-lg-4 {
// text-align: center;
// margin-bottom: 20px;
// }
// .marketing h2 {
// font-weight: normal;
// }
// .marketing .col-lg-4 p {
// margin-left: 10px;
// margin-right: 10px;
// }
// /* Featurettes
// ------------------------- */
// .featurette-divider {
// margin: 80px 0; /* Space out the Bootstrap <hr> more */
// }
// /* Thin out the marketing headings */
// .featurette-heading {
// font-weight: 300;
// line-height: 1;
// letter-spacing: -1px;
// }
// /* RESPONSIVE CSS
// -------------------------------------------------- */
// @media (min-width: 768px) {
// /* Remove the edge padding needed for mobile */
// .marketing {
// padding-left: 0;
// padding-right: 0;
// }
// /* Navbar positioning foo */
// .navbar-wrapper {
// margin-top: 20px;
// }
// .navbar-wrapper .container {
// padding-left: 15px;
// padding-right: 15px;
// }
// .navbar-wrapper .navbar {
// padding-left: 0;
// padding-right: 0;
// }
// /* The navbar becomes detached from the top, so we round the corners */
// .navbar-wrapper .navbar {
// border-radius: 4px;
// }
// /* Bump up size of carousel content */
// .carousel-caption p {
// margin-bottom: 20px;
// font-size: 21px;
// line-height: 1.4;
// }
// .featurette-heading {
// font-size: 50px;
// }
// }
// @media (min-width: 992px) {
// .featurette-heading {
// margin-top: 120px;
// }
// }
// }
@import url(https://fonts.googleapis.com/css?family=Flamenco:300,400);
@import url(https://fonts.googleapis.com/css?family=Quicksand:300,400,700);
$set_prefix: -webkit-, -moz-, -ms-, -o-, '';
$main-color: #75b3c8;
@mixin background_color($bg_value: $main-color) {
$theme-color-dark: #3C5866;
$theme-color-light: #F6FCFF;
$theme-color-main: #86C6E5;
// $theme-color4: #f0f0f0;
// $theme-color5: #669CAE;
$theme-text-color: #ffffff;
$theme-font-base: Verdana, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
// $theme-color-main: #75b3c8;
$bg-base-color: #f0f0f0;
$bg-main-color: #f0f0f0;
$text-deco-font: 'Quicksand', sans-serif;
@mixin background_color($bg_value: $theme-color-main) {
background-color: $bg_value;
color: #fff;
}
......@@ -14,7 +27,7 @@ $main-color: #75b3c8;
}
}
@mixin transition($transition_value: 0.3s, $move_type: ease-in-out) {
@mixin transition($transition_value: 0.1s, $move_type: ease-in-out) {
@each $prefix in $set_prefix {
#{$prefix}transition: all $transition_value $move_type
}
......
$set_prefix: -webkit-, -moz-, -ms-, -o-, '';
$theme-color-main: #75b3c8;
@mixin background_color($bg_value: $theme-color-main) {
background-color: $bg_value;
color: #fff;
}
@mixin border_radius($br_value: 4px) {
@each $prefix in $set_prefix {
#{$prefix}border-radius: $br_value
}
}
@mixin transition($transition_value: 0.3s, $move_type: ease-in-out) {
@each $prefix in $set_prefix {
#{$prefix}transition: all $transition_value $move_type
}
}
@import url(https://fonts.googleapis.com/css?family=Flamenco:300,400);
@import url(https://fonts.googleapis.com/css?family=Quicksand:300,400,700);
.btn-original {
background: transparent!important;
border: 1px solid #fff;
font-family: 'Quicksand', sans-serif;
font-weight: 300;
font-size: 24px;
letter-spacing: 0em;
&:hover {
border: 1px solid #75b3c8;
background-color: #75b3c8!important;
@include transition;
}
}
@import 'modules/settings';
body {
background-color: $bg-base-color;
font-family: $theme-font-base;
color: $theme-color-light;
}
// @import 'values';
// @import 'modules/settings';
// .panel {
// border: 1px solid $main-color;
// border: 1px solid $theme-color-main;
// .panel-heading {
// background-color: $main-color;
// background-color: $theme-color-main;
// color: #fff;
// }
// .panel-body {
......@@ -32,7 +32,7 @@
// color: #333!important;
// }
// .posted-name {
// color: $main-color;
// color: $theme-color-main;
// font-size: 12px;
// }
......@@ -92,17 +92,17 @@
// .watch-btn,
// .btn-watched {
// @include border_radius;
// color: $main-color;
// border: 1px solid $main-color;
// color: $theme-color-main;
// border: 1px solid $theme-color-main;
// &:hover {
// @include transition;
// background-color: #eee;
// }
// a {
// color: $main-color;
// color: $theme-color-main;
// }
// .dropdown-toggle {
// background-color: $main-color;
// background-color: $theme-color-main;
// @include border_radius(0px);
// color: #fff;
// background-image: none!important;
......@@ -118,9 +118,9 @@
// }
// .btn-watched {
// background-color: $main-color;
// background-color: $theme-color-main;
// color: #fff;
// border: 2px solid $main-color;
// border: 2px solid $theme-color-main;
// }
// .detail-wrapper {
......@@ -162,31 +162,31 @@
// -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
// transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
// &:focus {
// border: 1px solid $main-color;
// box-shadow: 0px 0px 0px $main-color;
// border: 1px solid $theme-color-main;
// box-shadow: 0px 0px 0px $theme-color-main;
// background-color: #f8f8f8;
// }
// }
// .comment-btn {
// background-color: transparent;
// color: $main-color;
// border: 1px solid $main-color;
// color: $theme-color-main;
// border: 1px solid $theme-color-main;
// &:hover {
// color: #fff;
// background-color: $main-color;
// background-color: $theme-color-main;
// @include transition;
// }
// &:focus {
// background-color: #f8f8f8;
// @include transition;
// box-shadow: 0px 0px 0px $main-color;
// box-shadow: 0px 0px 0px $theme-color-main;
// }
// }
// }
// .panel-default {
// .panel-heading {
// background-color: $main-color;
// background-color: $theme-color-main;
// color: #fff;
// background-image: none;
// }
......@@ -195,18 +195,18 @@
// .btn {
// background-color: transparent;
// background-image: none;
// color: $main-color;
// border: 1px solid $main-color;
// color: $theme-color-main;
// border: 1px solid $theme-color-main;
// &:hover {
// color: #fff;
// background-color: $main-color;
// background-color: $theme-color-main;
// @include transition;
// border: 1px solid $main-color;
// border: 1px solid $theme-color-main;
// }
// &:focus {
// background-color: #f8f8f8;
// @include transition;
// box-shadow: 0px 0px 0px $main-color;
// box-shadow: 0px 0px 0px $theme-color-main;
// }
// }
......
@import 'modules/settings';
.navbar {
background-color: $theme-color-main;
font-size: 1.2em;
font-weight: 500;
a {
color: $theme-color-light;
font-family: $text-deco-font;
}
a.btn-default {
background: $theme-color-light;
color: $theme-color-main;
border: none;
}
.badge {
background-color: transparent;
color: $theme-color-light;
border: 1px solid $theme-color-light;
}
.dropdown-menu {
.badge {
color: $theme-color-dark;
border-color: $theme-color-dark;
}
}
}
.nav {
li {
a {
&:hover, &:focus {
@include transition;
}
}
}
}
.nav-icon {
position: relative;
padding-left: 25px!important;
text-indent: 5px;
&:before {
position: absolute;
left: 6px;
background-size: 20px 20px;
display: inline-block;
height: 20px;
width: 20px;
content:" ";
}
&.flow:before {
background-image: image-url('flow.png');
}
&.stock:before {
background-image: image-url('stock.png');
}
&.template:before {
background-image: image-url('template.png');
}
}
@import 'modules/settings';
.panel-heading {
background-color: $theme-color-main;
color: $theme-color-light;
}
@import 'modules/settings';
#post-form {
.row {
margin-top: 20px;
.col-xs-9 {
.field {
margin-bottom: 10px;
.input-group-addon {
background-color: #fff;
border-top: 1px solid $theme-color-main;
border-left: 1px solid $theme-color-main;
border-bottom: 1px solid $theme-color-main;
color: $theme-color-main;
label {
margin-bottom: 0;
font-weight: 300;
}
}
.form-control {
border: 1px solid $theme-color-main;
padding: 10px!important;
height: 50px;
}
.select2-choices {
box-shadow: 0 0 0 #fff;
border: 1px solid $theme-color-main;
background-image: none;
padding: 5px;
}
}
}
}
.btn-toolbar {
> .btn-group > .btn {
color: $theme-color-main;
background-color: #fff;
box-shadow: 0 0 0 #fff;
}
}
textarea {
padding: 10px;
border-top: 0px solid #fff;
&:focus {
box-shadow: 0 0 0 #fff!important;
background-color: #fff;
}
}
.mod-mdEditor-textarea {
&:focus {
box-shadow: 0 0 0 #fff!important;
}
}
.preview-wrapper {
.mod-mdEditor-preview {
}
.panel-body {
padding: 10px;
padding-top: 0;
}
}
#save_button {
margin-bottom: 10px;
}
table {
width: 100%;
}
td {
width: 50%;
}
}
input,
textarea {
border: 1px solid $theme-color-main;
&:focus {
border: 1px solid $theme-color-main;
background-color: #f8f8f8;
box-shadow: 0 0 0 #fff!important;
@include transition;
}
}
@import 'values';
@import 'modules/settings';
.mod-tag-tree {
.mod-tag-tree-filter {
margin-bottom: 20px;
width: 400px!important;
&:focus {
border: 1px solid $main-color;
border: 1px solid $theme-color-main;
box-shadow: 0 0 0 #fff!important;
background-color: #f8f8f8;
@include transition;
......
// Place all the styles related to the templates controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
// /*************************************************************************
// * app_header
// *************************************************************************/
// @import 'modules/settings';
// @import url(https://fonts.googleapis.com/css?family=Flamenco:300,400);
// @import url(https://fonts.googleapis.com/css?family=Quicksand:300,400,700);
// $theme-color-main: #75b3c8;
// .template-wrapper {
// margin-top: 15px;
// }
// .navbar-original {
// background-color: $theme-color-main!important;
// background-image: none!important;
// li:hover {
// cursor: pointer;
// // a {
// // color: $theme-color-main;
// // }
// }
// li.new-post-btn:hover {
// background-color: $theme-color-main;
// a {
// color: #fff;
// }
// }
// a {
// color: #fff;
// font-family: 'Quciksand', 'meiryo', 'メイリオ','sans-serif';
// letter-spacing: .1em;
// font-weight: 300;
// @include transition;
// }
// .input-group {
// input {
// border: 1px solid transparent;
// box-shadow: none;
// }
// button {
// background-color: #fff;
// border: 1px solid #fff;
// .search {
// width: 20px;
// &:hover {
// opacity: .7;
// @include transition;
// }
// }
// }
// }
// .nav-icon {
// width: 20px;
// margin-right: 5px;
// }
// li.stock img {
// width: 25px;
// position: relative;
// bottom: 2px;
// }
// li.flow {
// a {
// position: relative;
// top: 2px;
// }
// img {
// position: relative;
// bottom: 2px;
// }
// }
// .navbar-right {
// .new-post-btn {
// .btn {
// position: relative;
// background-color: #fafafa;
// color: $theme-color-main;
// vertical-align: middle;
// &:hover {
// background-color: #ddd;
// @include transition;
// }
// }
// .write {
// width: 17px;
// vertical-align: middle;
// position: relative;
// bottom: 1px;
// }
// }
// }
// .badge {
// background-color: transparent;
// color: #fff;
// letter-spacing: 0;
// border: 1px solid #fff;
// padding: 4px 4px;
// margin-left: 5px;
// min-width: 20px;
// min-height: 20px;
// }
// .dropdown-menu {
// background-color: $theme-color-main;
// a {
// color: #fff;
// }
// }
// }
@import 'modules/settings';
@import url(https://fonts.googleapis.com/css?family=Flamenco:300,400);
@import url(https://fonts.googleapis.com/css?family=Quicksand:300,400,700);
p, h1, h2, h3, h4, h5, h6, span {
// font-family: 'メイリオ', 'meiryo', hiragino kaku go;
// letter-spacing: 2pt;
// line-height: 150%;
// margin: 0;
// padding: 0;
}
.badge.badge-transparent {
background-color: transparent;
color: $theme-color-main;
// font-family: 'Quicksand';
letter-spacing: 0;
border: 1.5px solid $theme-color-main;
padding: 4px 6px;
}
.text-shadow {
color: #999999;
}
a .text-link {
color: #1e0fbe;
}
a:visited .text-link {
color: #609;
}
.popover {
max-width: 400px;
}
.navbar-default .navbar-brand {
background-color: #428bca;
color: #fff;
}
.navbar-default .navbar-brand,
.label a {
// color: white;
}
/* #app-search-form {
width: 200px;
}
*/
.container-main{
min-height: 400px;
}
.body-padding {
padding-top: 70px;
}
@import url(https://fonts.googleapis.com/css?family=Quicksand:300,400,700);
$theme-color-main: #75b3c8;
.background-image {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
background-image: image-url("compass.jpg");
background-size: cover;
}
.background-mask {
width: 100%;
height: 100%;
background-color: rgba(#000, .6);
position: fixed;
top: 0;
left: 0;
}
.login {
.container.marketing {
h2.title {
font-family: 'Quicksand', sans-serif;
font-weight: 300;
font-size: 62px;
color: #fff;
}
p {
color: #fff;
}
}
.welcome-box {
text-align: center;
.btn-original {
margin-top: 140px;
}
.zigexn {
margin-top: 20px;
}
}
.featurette {
.featurette-heading {
margin-top: 0;
color: #ddd;
line-height: 150%;
font-family: 'Quicksand','メイリオ', 'meiryo', hiragino kaku go;
}
.text-muted {
color: #ccc;
font-family: 'Quicksand','メイリオ', 'meiryo', hiragino kaku go;
}
.featurette-image {
box-shadow: 1px 1px 1px #ccc;
border-radius: 5px;
}
}
}
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 8/9.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
/**
* Correct `inline-block` display not defined in IE 8/9.
*/
audio,
canvas,
video {
display: inline-block;
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9.
* Hide the `template` element in IE, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none;
}
/* ==========================================================================
Base
========================================================================== */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* ==========================================================================
Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background: transparent;
}
/**
* Address `outline` inconsistency between Chrome and other browsers.
*/
a:focus {
outline: thin dotted;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* ==========================================================================
Typography
========================================================================== */
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari 5, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Address styling not present in IE 8/9, Safari 5, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari 5 and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Correct font family set oddly in Safari 5 and Chrome.
*/
code,
kbd,
pre,
samp {
font-family: monospace, serif;
font-size: 1em;
}
/**
* Improve readability of pre-formatted text in all browsers.
*/
pre {
white-space: pre-wrap;
}
/**
* Set consistent quote types.
*/
q {
quotes: "\201C" "\201D" "\2018" "\2019";
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* ==========================================================================
Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9.
*/
img {
border: 0;
}
/**
* Correct overflow displayed oddly in IE 9.
*/
svg:not(:root) {
overflow: hidden;
}
/* ==========================================================================
Figures
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari 5.
*/
figure {
margin: 0;
}
/* ==========================================================================
Forms
========================================================================== */
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
* 1. Correct font family not being inherited in all browsers.
* 2. Correct font size not being inherited in all browsers.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
*/
button,
input,
select,
textarea {
font-family: inherit; /* 1 */
font-size: 100%; /* 2 */
margin: 0; /* 3 */
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
button,
input {
line-height: normal;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
* Correct `select` style inheritance in Firefox 4+ and Opera.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* 1. Remove default vertical scrollbar in IE 8/9.
* 2. Improve readability and alignment in all browsers.
*/
textarea {
overflow: auto; /* 1 */
vertical-align: top; /* 2 */
}
/* ==========================================================================
Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
@import 'values';
@import 'modules/settings';
#post-form {
.row {
......@@ -8,23 +8,23 @@
margin-bottom: 10px;
.input-group-addon {
background-color: #fff;
border-top: 1px solid $main-color;
border-left: 1px solid $main-color;
border-bottom: 1px solid $main-color;
color: $main-color;
border-top: 1px solid $theme-color-main;
border-left: 1px solid $theme-color-main;
border-bottom: 1px solid $theme-color-main;
color: $theme-color-main;
label {
margin-bottom: 0;
font-weight: 300;
}
}
.form-control {
border: 1px solid $main-color;
border: 1px solid $theme-color-main;
padding: 10px!important;
height: 50px;
}
.select2-choices {
box-shadow: 0 0 0 #fff;
border: 1px solid $main-color;
border: 1px solid $theme-color-main;
background-image: none;
padding: 5px;
}
......@@ -33,7 +33,7 @@
}
.btn-toolbar {
> .btn-group > .btn {
color: $main-color;
color: $theme-color-main;
background-color: #fff;
box-shadow: 0 0 0 #fff;
}
......@@ -74,9 +74,9 @@
input,
textarea {
border: 1px solid $main-color;
border: 1px solid $theme-color-main;
&:focus {
border: 1px solid $main-color;
border: 1px solid $theme-color-main;
background-color: #f8f8f8;
box-shadow: 0 0 0 #fff!important;
@include transition;
......
......@@ -5,11 +5,11 @@
// /*************************************************************************
// * app_header
// *************************************************************************/
// @import 'values';
// @import 'modules/settings';
// @import url(https://fonts.googleapis.com/css?family=Flamenco:300,400);
// @import url(https://fonts.googleapis.com/css?family=Quicksand:300,400,700);
// $main-color: #75b3c8;
// $theme-color-main: #75b3c8;
// .template-wrapper {
// margin-top: 15px;
......@@ -17,16 +17,16 @@
// .navbar-original {
// background-color: $main-color!important;
// background-color: $theme-color-main!important;
// background-image: none!important;
// li:hover {
// cursor: pointer;
// // a {
// // color: $main-color;
// // color: $theme-color-main;
// // }
// }
// li.new-post-btn:hover {
// background-color: $main-color;
// background-color: $theme-color-main;
// a {
// color: #fff;
// }
......@@ -79,7 +79,7 @@
// .btn {
// position: relative;
// background-color: #fafafa;
// color: $main-color;
// color: $theme-color-main;
// vertical-align: middle;
// &:hover {
// background-color: #ddd;
......@@ -105,7 +105,7 @@
// min-height: 20px;
// }
// .dropdown-menu {
// background-color: $main-color;
// background-color: $theme-color-main;
// a {
// color: #fff;
......
@import 'modules/settings';
@import url(https://fonts.googleapis.com/css?family=Flamenco:300,400);
@import url(https://fonts.googleapis.com/css?family=Quicksand:300,400,700);
p, h1, h2, h3, h4, h5, h6, span {
// font-family: 'メイリオ', 'meiryo', hiragino kaku go;
// letter-spacing: 2pt;
// line-height: 150%;
// margin: 0;
// padding: 0;
}
.badge.badge-transparent {
background-color: transparent;
color: $theme-color-main;
// font-family: 'Quicksand';
letter-spacing: 0;
border: 1.5px solid $theme-color-main;
padding: 4px 6px;
}
.text-shadow {
color: #999999;
}
a .text-link {
color: #1e0fbe;
}
a:visited .text-link {
color: #609;
}
.popover {
max-width: 400px;
}
.navbar-default .navbar-brand {
background-color: #428bca;
color: #fff;
}
.navbar-default .navbar-brand,
.label a {
// color: white;
}
/* #app-search-form {
width: 200px;
}
*/
.container-main{
min-height: 400px;
}
.body-padding {
padding-top: 70px;
}
@import url(https://fonts.googleapis.com/css?family=Quicksand:300,400,700);
$main-color: #75b3c8;
$theme-color-main: #75b3c8;
.background-image {
width: 100%;
height: 100%;
......
nav.navbar.navbar-fixed-top.navbar-default.navbar-original role="navigation"
nav.navbar.navbar-fixed-top role="navigation"
.container-fluid
.navbar-header
......@@ -15,17 +15,14 @@ nav.navbar.navbar-fixed-top.navbar-default.navbar-original role="navigation"
input.form-control name="q" placeholder="Search" type="text" value=params[:q] /
ul.nav.navbar-nav
li.stock class=('active' if current_page?(flow_path))
a href=flow_path title="Flow"
/ = image_tag "flow.png", class: 'nav-icon flow'
li class=('active' if current_page?(flow_path))
a.nav-icon.flow href=flow_path title="Flow"
| Flow
li.stock class=('active' if current_page?(stock_path))
a href=stock_path title="Stock"
/ = image_tag "stock.png", class: 'nav-icon stock'
li class=('active' if current_page?(stock_path))
a.nav-icon.stock href=stock_path title="Stock"
| Stock
li.template class=('active' if current_page?(templates_path))
a href=templates_path title="Templates"
/ = image_tag "template.png", class: 'nav-icon'
li class=('active' if current_page?(templates_path))
a.nav-icon.template href=templates_path title="Templates"
| Templates
ul.nav.navbar-nav.navbar-right
......
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