/*
 * Copyright 2017 Alexandre Terrasa <alexandre@moz-code.org>.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* utils */

.no-margin {
	margin: 0;
}

.no-padding {
	padding: 0;
}

.navbar-fixed-top {
	background-color: #1E9431;
	box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
}

#loading-bar .bar {
	background: #FF8100;
}

[ng-click] {
	cursor: pointer;
}

/* Body */

body {
	background: #f2f2f2;
	margin-top: 70px;
	margin-bottom: 70px;
}

h1, h2, h3, h4, h5, h6 {
	color: #666;
}

a {
	cursor: pointer;
}

.page-header {
    margin-top: 0;
    border: none;
}

/* ui */

.btn-bar { margin-top: -5px; float: right }
.btn-bar .btn { padding: 5px 10px; }

entity-list .btn-filter {
	visibility: hidden;
}

entity-list:hover .btn-filter {
	visibility: visible;
}

/* doc */

.nitdoc .synopsis {
	margin-top: 0;
}

.signature {
	color: #666;
	font-family: monospace;
}

.signature .name {
	font-weight: bold;
}

.page-header .signature .name, .signature .signature .name {
	font-weight: normal;
}

.signature .signature a {
	color: #666;
	font-family: monospace;
}

/* tabs */

.nav-tabs li { cursor: pointer; }

.nav>li.warning>a {
    color: #fff;
    background-color: #f0ad4e;
}

.nav>li.warning>a:focus, .nav>li.warning>a:hover {
    background-color: #ff9c0f;
}

/* forms */

.has-icon {
    position: relative;
}

.has-icon .form-control {
	padding-left: 35px;
}

.form-control-icon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none;
}

/* navs */

.nav-tabs li { cursor: pointer; }

/* Summary */

.summary h1, .summary h2, .summary h3, .summary h4, .summary h5, .summary h6 {
	margin: 5px 0;
}

.summary h1 a, .summary h2 a, .summary h3 a, .summary h4 a, .summary h5 a, .summary h6 a {
	color: #555;
}

.summary h1 { font-size: 14px; margin-left: 0px; font-weight: bold; }
.summary h2 { font-size: 13px; margin-left: 5px; font-weight: bold; }
.summary h3 { font-size: 12px; margin-left: 10px; }
.summary h4 { font-size: 11px; margin-left: 15px; }
.summary h5 { font-size: 10px; margin-left: 20px; }
.summary h6 { font-size: 9px; margin-left: 25px; }

/*
 * Ratings
 */

.star {
	color: grey;
}

.editable .star {
	cursor: pointer;
}

.editable .star:hover, .editable .star.active:hover {
	color: #FF8100
}

.star.active {
	color: #FFC000
}
