blob: 1b135c603394c46d3b319154c8bd2fc212089529 [file] [log] [blame]
Unknownd2db0f12019-01-10 14:22:00 -05001/*!
2* Neon Pingendo template (https://templates.pingendo.com)
3* Based on: Bootstrap v4.1.3 (https://getbootstrap.com)
4* Copyright 2014-2018 Pingendo (https://pingendo.com)
5*/
6
7@import url('https://fonts.googleapis.com/css?family=Montserrat:200');
8
9// Options
10//
11// Quickly modify global styling by enabling or disabling optional features.
12
13$enable-rounded: true;
14$enable-shadows: false;
15$enable-transitions: true;
16$enable-hover-media-query: false;
17$enable-grid-classes: true;
18$enable-print-styles: true;
19
20// Variables
21//
22// Colors
23
24$theme-colors: (
25 primary: #0080ff,
26 secondary: #0060aa,
27 light: #f3f3f3,
28 dark: #303030,
29 info: #00aaff,
30 success: #28a745,
31 warning: #ffc107,
32 danger: #dc3545
33);
34
35$body-bg: #111;
36
37$body-color: #efefef;
38$body-color-inverse: invert($body-color) !default;
39$link-color: #0080ff;
40
41$link-hover-color: white;
42$link-hover-decoration: none;
43
44
45// Fonts
46$font-family-base: Montserrat;
47$headings-font-family: Montserrat;
48$font-weight-normal: 200;
49$font-weight-base: $font-weight-normal;
50$headings-line-height: 1.2;
51$lead-font-size: 1.30rem;
52$line-height-base: 1.8;
53
54$spacer: 1.5rem;
55
56// Components
57$border-width: 1px;
58$border-radius: 0.75rem;
59$border-radius-lg: $border-radius * 1.2;
60$border-radius-sm: $border-radius * .4;
61$component-active-color : map-get($theme-colors,"dark");
62
63// Buttons
64$input-btn-padding-x-lg: 1.1rem;
65$input-btn-padding-x: 1rem !default;
66
67// Cards
68$card-border-width: 0px;
69$card-bg: rgba(#333,.5);
70
71// Breadcrumb
72$breadcrumb-bg: transparent !default;
73$breadcrumb-active-color: map-get($theme-colors,"light");
74
75// Carousel
76$carousel-caption-width: 100% !default;
77$carousel-indicator-height: 6px !default;
78
79//Images
80$thumbnail-border-color: map-get($theme-colors,"primary");
81
82// Nav tabs
83$nav-tabs-border-color: map-get($theme-colors,"primary");
84$nav-tabs-link-hover-border-color: transparent;
85$nav-tabs-link-active-color: $component-active-color;
86$nav-tabs-link-active-bg: map-get($theme-colors,"primary");
87$nav-tabs-link-active-border-color: $nav-tabs-border-color;
88
89// Nav pills
90$nav-pills-link-active-color: $component-active-color !default;
91
92// Navbar
93$navbar-light-color: rgba(black,.6);
94
95// Pagination
96$pagination-bg: $body-bg;
97$pagination-border-color: map-get($theme-colors,"dark");
98$pagination-hover-bg: $body-bg;
99$pagination-hover-border-color: $pagination-border-color;
100$pagination-active-color: $component-active-color;
101$pagination-active-bg: map-get($theme-colors,"primary");
102$pagination-active-border-color: map-get($theme-colors,"dark");
103
104// List group
105$list-group-bg: $body-bg;
106$list-group-border-color: map-get($theme-colors,"dark");
107$list-group-hover-bg: $body-bg;
108$list-group-active-color: $component-active-color;
109$list-group-action-color: $link-color;
110$list-group-active-border-color: map-get($theme-colors,"dark");
111$list-group-action-hover-color: map-get($theme-colors,"light");
112$list-group-action-active-color: $body-color !default;
113$list-group-action-active-bg: transparent;
114
115// Horizontal rule
116$hr-border-color: rgba(map-get($theme-colors,"primary"),.75);
117
118// Tables
119$table-accent-bg: rgba(map-get($theme-colors,"light"),.05);
120$table-inverse-bg: rgba(map-get($theme-colors,"light"),.5);
121$table-hover-bg: rgba(map-get($theme-colors,"light"),.1);
122$table-border-color: map-get($theme-colors,"dark");
123
124$font-size-base: 0.85rem;
125
126
127
128@import 'bootstrap-4.1.3';
129
130html,body {
131 height:100%;
132}
133
134
135// Color yiq
136@each $name, $value in $theme-colors {
137 .bg-#{$name} {
138 color: color-yiq($value);
139 input::placeholder {
140 color: transparentize(color-yiq($value), .2);
141 }
142 .input-group-text {
143 color: color-yiq($value);
144 }
145 }
146}
147
148.section-fade-in-out {
149 position: relative;
150 color:white;
151 background-size:cover;
152 background-position: center;
153 &:before {
154 position: absolute;
155 top:0px;
156 left:0px;
157 width:100%;
158 height: 100%;
159 content: ' ';
160 background: linear-gradient($body-bg, transparentize($body-bg, 0.2),transparentize($body-bg, 0.8),transparentize($body-bg, 0.2), $body-bg);
161 }
162}
163
164.section-fade-in {
165 position: relative;
166 color:white;
167 background-size:cover;
168 background-position: center;
169 &:before {
170 position: absolute;
171 top:0px;
172 left:0px;
173 width:100%;
174 height: 100%;
175 content: ' ';
176 background: linear-gradient($body-bg, transparentize($body-bg, 0.2),transparentize($body-bg, 0.8));
177 }
178}
179
180.section-fade-out {
181 position: relative;
182 color:white;
183 background-size:cover;
184 background-position: center;
185 &:before {
186 position: absolute;
187 top:0px;
188 left:0px;
189 width:100%;
190 height: 100%;
191 content: ' ';
192 background: linear-gradient(transparentize($body-bg, 0.8),transparentize($body-bg, 0.2), $body-bg);
193 }
194}
195
196.shadowed {
197 box-shadow: 0px 0px 10px #000;
198}
199
200.carousel {
201 .carousel-caption {
202 padding-top:50px;
203 padding-bottom:20px;
204 bottom:0px;
205 background: linear-gradient(transparent 10%, transparentize($body-bg, 0) 100%);
206 }
207
208 .carousel-control-next, .carousel-control-prev {
209 opacity:0.85;
210 }
211
212 .carousel-indicators {
213 bottom: 0px;
214 }
215}
216
217mark {
218 &.primary {
219 background-color: map-get($theme-colors,"primary");
220 color: black;
221 }
222 &.secondary {
223 background-color: map-get($theme-colors,"secondary");
224 color: white;
225 }
226}
227
228.cover {
229 min-height: 100%;
230}
231
232/* Animate state between .navbar and .navbar-ontop */
233.navbar {
234 transition: background-color .5s ease-out;
235}
236
237.navbar-ontop {
238 background-color: transparent !important;
239}
240
241/* Animate on entrance */
242
243.animate-in-down {
244 transition: all 1.3s ease-out;
245 position:relative;
246 opacity:1;
247 top:0px;
248 &.out-of-viewport {
249 top:40px;
250 opacity:0;
251 }
252}
253
254
255.animate-in-left {
256 transition: all 1.0s ease-out;
257 position:relative;
258 opacity:1;
259 left:0%;
260 &.out-of-viewport {
261 opacity:0;
262 left:-5%;
263 }
264}
265
266
267.animate-in-right {
268 transition: all 1.0s ease-out;
269 position:relative;
270 opacity:1;
271 left:0%;
272 &.out-of-viewport {
273 opacity:0;
274 left:5%;
275 }
276}