Skip to content

Commit 9c63eb8

Browse files
Breadcrumbs / Forms merge
1 parent 4a2dcb3 commit 9c63eb8

File tree

6 files changed

+22
-14
lines changed

6 files changed

+22
-14
lines changed

dist/css/styles.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/styles.min.css.map

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/scripts.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/functions.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
'use strict';
22

3+
// Require jQuery
34
var $ = require('jquery');
45

6+
// Init events
57
var InitEvents = function () {
68
navOpen();
79

@@ -10,6 +12,7 @@ var InitEvents = function () {
1012
}
1113
};
1214

15+
// Sticky side menu for desktop
1316
function offSetManager(){
1417

1518
var yOffset = 110;
@@ -24,13 +27,15 @@ function offSetManager(){
2427
}
2528
}
2629

30+
// Open mobile nav menu
2731
function navOpen() {
2832
$('.nav-label, .open-documentation').on('click', function(e) {
2933
$('.nav-container').toggleClass('nav-container-active');
3034
e.preventDefault();
3135
});
3236
}
3337

38+
// Export module
3439
module.exports = {
3540
InitEvents: InitEvents
3641
};

js/scripts.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
'use strict';
22

3+
// Require jQuery for document ready event
34
var $ = require('jquery');
5+
6+
// Include your modules
47
var Forms = require('castlecss-forms').Forms;
8+
9+
// Custom script for docs
510
var InitEvents = require('./functions').InitEvents;
611

712
$(Forms);

scss/variables.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
22
---------- VARIABLES ----------
3-
Castlecss-core variables
4-
Do not edit this file!
5-
Create a copy and edit or add your own variables there
6-
or download the boilerplate for a ready-to-go setup here: https://github.com/CastleCSS/castlecss-boilerplate
3+
Copy of Castlecss-core variables http://www.castlecss.com/variables.html
4+
Feel free to edit this file to adjust the variables
75
-------------------------------
86
*/
97

@@ -122,10 +120,12 @@ $font-sec: 'Open Sans', Helvetica, Arial;
122120
$font-size-default: 1.6rem;
123121
$line-height-default: 1.5;
124122

123+
/* Breadcrumbs seperator */
124+
$breadcrumbs-separator: '\00bb';
125125

126126
/* Form specific variables */
127127
$input-height: 48px;
128-
$input-border: 1px solid $color03;
129-
$input-transition: 0.1s ease-in-out;
130-
131-
$breadcrumbs-separator: '\00bb';
128+
$input-border-color: #eee;
129+
$input-border-color-focus: #eee;
130+
$input-border: 1px solid $input-border-color;
131+
$input-transition: 0.1s ease-in-out;

0 commit comments

Comments
 (0)