* feat(app): Restructure app to be more flexible and redux idiomatic BREAKING CHANGE: Lots of breaking changes * refactor(challenges): Redux to started file structure * fix(app): lint issues due to refactor * fix(settings): Refactor settings to use folder structure * refactor(challenges): Move step redux stuff into step folder * fix(challenges): Remove fetchchallenges actions * refactor(challenges): Move project redux logic into project view subdirectory * refactor(app): %s/sagas/epics/g * refactor(redux): Use new redux-epic with combineEpic and ofType * refactor(app): Move challenge selector to app level * fix(app): Move loading challenge info into challenge route This moves a lot of the logic needed to load challenge info into the challenge app. This decouples the main app from the challenge route * refactor(map): Map is now decoupled from challenges * refactor(challenges): Use selectors everywhere instead of guessing state shape * refactor(client): refactor client epics to use selectors * refactor(app): Refactor userSelector to return user object instead of object.user * refactor(entities): Move entities logic into it's own file * fix(redux): combineTypes should be combineActions * fix(app): reducer namespacing and import * fix(Map): Fix undefined type and update redux-action * fix(redux): Refactor fetchUser to be more declarative Use rxjs methods instead of imperative if/else. Also prevent non-actions from being emitted * fix(redux): toString multi phase action types * fix(redux): typecast multiphase type, fix typo in reducer toString multiphase types in fetch challenge epic. Add epic to epics lists. Fix type in fetch challenge complete handler * fix(redux): updateCurrentChallengelogic should be centerlized Move route changes to one location. * fix(Nav): Prevent event object from hanging around closeDropDown/openDropDown where handing on to the event object. This was causing issues with react since event objects are recycled in React. * fix(Map.Challenge): decouple map selector * fix(Map): Decouple panel selectors from props Panel Selectors no longer need to know the shape of a components props. Refactored component selectors to decouple them entities state shape * fix(Map.redux): Add select challenge epic and connect map epics * fix(redux.analytics): Fix meta creator and nav/map events * fix(redux): Update current challenge ajax * fix(challenges): ssr fetch challenge should update challenge ui Was using an epic to update challenge ui on fetch complete, but this was not working on ssr due to the way ssr disables epics to wait for completion. This commit fixes this by causing the complete to directly update state in the challenge ui * fix(challenges): wrong import of types, refactor epic name * fix(redux): Prevent fetch challenge epic from emitting null to dispatch * fix(redux): prevent executechallenge from emitting null * fix(challenges.redux): testsSelector returns just tests * fix(challenges.redux): Prevent completion challenge from emitting null * refactor(Challenges.Step): Refactor step challenge to release event object * fix(redux): wrap reducers in factories reducers exported from features need to be factories this helps avoid cyclic requires messing up reducer creation We end up with exports from files being undefined as node tries to resolve cyclic dependencies. This prevents that by wrapping the `handleActions` call so that the ref to types imported from parent features are closures and can be resolved by node before we need them. * fix(Map): createUi not working correctly map utils should receive just map ui state, createMapUi needs to add title to challenge * feat(Challenges): Adds Panes and panes backend challenge * fix: Create child container to wrap children Create a ChildContainer comp' to wrap all children that represent the view for the current route. This let's the child route define if they want a full width view or if they want the standard max-width view. * feat(Panes): panes now render dividers * feat(Panes): Get divider to move currectly * fix(Nav): Add top margin to contained childs Move margin-bottom from nav to child container as margin top. This let's the jsbin style views fit snug with navbar * fix(Panes): Should be contained within their borders * feat(Panes): Update navbar height of pane on app mount * feat(Panes): Toggle map on map nav btn click * fix(gulpfile): Ensure nodemon exits on restart On process exit, wait for nodemon to shutdown before process.exit * feat(Panes): Make Panes redux first * fix(Panes): Fix divider positioning * fix(Panes): Update divider moved handler dividerMoved action now uses new panesByName structure * feat(Panes): Pane nav button will hide panes * chore(package-lock): Update package lock * feat(Panes.redux): Recaculate dividers on pane toggle * fix(Challenges): Update challenge on dashedName change This fixes backwards navigation not updating the redux state current challenge * feat(Panes.redux): Clear panes on unmount Clearing panes on unmount will clear bin buttons in nav * refactor(Map): Colocate styles * feat(Map): New map layout * fix(Map): No longer has it's own page * fix: FetchChallenges on appMounted * feat: Normalize fetchChallenge(s) results This allows superblocks to be sent with both fetchChallenge and fetchChallenges so the map is always populated on first load * feat(Map): Show blocks on first load * fix(less): Remove old css * feat(Nav): Reduce nav height * fix(Nav): Render nav after content Render nav after content and use css to reverse again on screen. We do this so the panes can render first and update redux panes state which will then update the nav ui state before nav has a chance to render * fix(Panes): Add container This adds a Panes Container that will allow it to udpate redux state so Panes Component will have redux state ready to actually render panes * feat(Challenges.Classic): Add panes * fix(Challenge.Classic): Editor onchange should not need to know about file * fix(Panes): Index on panes hide should account for hidden pane * fix(Challanges.Classic): Fix panes types * fix(Challenges): Add completion modal to all challenges Change classic modal to completion modal * fix(Panes): Dividers live on top of planes * fix(Challenges): Remove codemirror theme Remove codemirror theme and remove borders from preview frame * fix(Challenges.Classic): Remove old component * feat(Challenges.Step): Add panes to step challenge * feat(Challenges.Project): Add panes to projects * fix(Challenges.Projects): Remove row * fix(Modals): Move modal text color to challenge less This text color is dependent on the actual header color * fix(Map): Use Superblock title for ui * fix(Map): Reduce panel header height * fix(app): Capitalize Toasts folder Feature folders should be campitalized * chore(Map): Remove unused epic file * fix(Step): Fix tests * test(Map): Update createMapUi tests input
660 lines
14 KiB
Plaintext
Executable File
660 lines
14 KiB
Plaintext
Executable File
//
|
|
// Navbars
|
|
// --------------------------------------------------
|
|
|
|
|
|
// Wrapper and base class
|
|
//
|
|
// Provide a static navbar from which we expand to create full-width, fixed, and
|
|
// other navbar variations.
|
|
|
|
.navbar {
|
|
position: relative;
|
|
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
|
|
border: 1px solid transparent;
|
|
|
|
// Prevent floats from breaking the navbar
|
|
&:extend(.clearfix all);
|
|
|
|
@media (min-width: @grid-float-breakpoint) {
|
|
border-radius: @navbar-border-radius;
|
|
}
|
|
}
|
|
|
|
|
|
// Navbar heading
|
|
//
|
|
// Groups `.navbar-brand` and `.navbar-toggle` into a single component for easy
|
|
// styling of responsive aspects.
|
|
|
|
.navbar-header {
|
|
&:extend(.clearfix all);
|
|
|
|
@media (min-width: @grid-float-breakpoint) {
|
|
float: left;
|
|
}
|
|
}
|
|
|
|
|
|
// Navbar collapse (body)
|
|
//
|
|
// Group your navbar content into this for easy collapsing and expanding across
|
|
// various device sizes. By default, this content is collapsed when <768px, but
|
|
// will expand past that for a horizontal display.
|
|
//
|
|
// To start (on mobile devices) the navbar links, forms, and buttons are stacked
|
|
// vertically and include a `max-height` to overflow in case you have too much
|
|
// content for the user's viewport.
|
|
|
|
.navbar-collapse {
|
|
overflow-x: visible;
|
|
padding-right: @navbar-padding-horizontal;
|
|
padding-left: @navbar-padding-horizontal;
|
|
border-top: 1px solid transparent;
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
|
|
&:extend(.clearfix all);
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
&.in {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
@media (min-width: @grid-float-breakpoint) {
|
|
width: auto;
|
|
border-top: 0;
|
|
box-shadow: none;
|
|
|
|
&.collapse {
|
|
display: block !important;
|
|
visibility: visible !important;
|
|
height: auto !important;
|
|
padding-bottom: 0; // Override default setting
|
|
overflow: visible !important;
|
|
}
|
|
|
|
&.in {
|
|
overflow-y: visible;
|
|
}
|
|
|
|
// Undo the collapse side padding for navbars with containers to ensure
|
|
// alignment of right-aligned contents.
|
|
.navbar-fixed-top &,
|
|
.navbar-static-top &,
|
|
.navbar-fixed-bottom & {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.navbar-fixed-top,
|
|
.navbar-fixed-bottom {
|
|
.navbar-collapse {
|
|
max-height: @navbar-collapse-max-height;
|
|
|
|
@media (max-device-width: @screen-xs-min) and (orientation: landscape) {
|
|
max-height: 200px;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// Both navbar header and collapse
|
|
//
|
|
// When a container is present, change the behavior of the header and collapse.
|
|
|
|
.container,
|
|
.container-fluid {
|
|
> .navbar-header,
|
|
> .navbar-collapse {
|
|
margin-right: -@navbar-padding-horizontal;
|
|
margin-left: -@navbar-padding-horizontal;
|
|
|
|
@media (min-width: @grid-float-breakpoint) {
|
|
margin-right: 0;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
//
|
|
// Navbar alignment options
|
|
//
|
|
// Display the navbar across the entirety of the page or fixed it to the top or
|
|
// bottom of the page.
|
|
|
|
// Static top (unfixed, but 100% wide) navbar
|
|
.navbar-static-top {
|
|
z-index: @zindex-navbar;
|
|
border-width: 0 0 1px;
|
|
|
|
@media (min-width: @grid-float-breakpoint) {
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
|
|
// Fix the top/bottom navbars when screen real estate supports it
|
|
.navbar-fixed-top,
|
|
.navbar-fixed-bottom {
|
|
position: fixed;
|
|
right: 0;
|
|
left: 0;
|
|
z-index: @zindex-navbar-fixed;
|
|
|
|
// Undo the rounded corners
|
|
@media (min-width: @grid-float-breakpoint) {
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
.navbar-fixed-top {
|
|
top: 0;
|
|
border-width: 0 0 1px;
|
|
}
|
|
.navbar-fixed-bottom {
|
|
bottom: 0;
|
|
margin-bottom: 0; // override .navbar defaults
|
|
border-width: 1px 0 0;
|
|
}
|
|
|
|
|
|
// Brand/project name
|
|
|
|
.navbar-brand {
|
|
float: left;
|
|
padding: @navbar-padding-vertical @navbar-padding-horizontal;
|
|
font-size: @font-size-large;
|
|
line-height: @line-height-computed;
|
|
height: @navbar-height;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
text-decoration: none;
|
|
}
|
|
|
|
> img {
|
|
display: block;
|
|
}
|
|
|
|
@media (min-width: @grid-float-breakpoint) {
|
|
.navbar > .container &,
|
|
.navbar > .container-fluid & {
|
|
margin-left: -@navbar-padding-horizontal;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// Navbar toggle
|
|
//
|
|
// Custom button for toggling the `.navbar-collapse`, powered by the collapse
|
|
// JavaScript plugin.
|
|
|
|
@navbar-toggle-height: 30px;
|
|
.navbar-toggle {
|
|
position: relative;
|
|
float: right;
|
|
margin-right: @navbar-padding-horizontal;
|
|
padding: 6px 10px;
|
|
.navbar-vertical-align(@navbar-toggle-height);
|
|
background-color: transparent;
|
|
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
|
border: 1px solid transparent;
|
|
border-radius: @border-radius-base;
|
|
|
|
// We remove the `outline` here, but later compensate by attaching `:hover`
|
|
// styles to `:focus`.
|
|
&:focus {
|
|
outline: 0;
|
|
}
|
|
|
|
// Bars
|
|
.icon-bar {
|
|
display: block;
|
|
width: 22px;
|
|
height: 2px;
|
|
border-radius: 1px;
|
|
background-color: #eeeeee !important;
|
|
}
|
|
.icon-bar + .icon-bar {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
@media (min-width: @grid-float-breakpoint) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
|
|
// Navbar nav links
|
|
//
|
|
// Builds on top of the `.nav` components with its own modifier class to make
|
|
// the nav the full height of the horizontal nav (above 768px).
|
|
|
|
.navbar-nav {
|
|
margin: (@navbar-padding-vertical / 2) -@navbar-padding-horizontal;
|
|
|
|
> li > a {
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
line-height: @line-height-computed;
|
|
}
|
|
|
|
@media (max-width: @grid-float-breakpoint-max) {
|
|
// Dropdowns get custom display when collapsed
|
|
.open .dropdown-menu {
|
|
position: static;
|
|
float: none;
|
|
width: auto;
|
|
margin-top: 0;
|
|
background-color: transparent;
|
|
border: 0;
|
|
box-shadow: none;
|
|
> li > a,
|
|
.dropdown-header {
|
|
padding: 5px 15px 5px 25px;
|
|
}
|
|
> li > a {
|
|
line-height: @line-height-computed;
|
|
&:hover,
|
|
&:focus {
|
|
background-image: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Uncollapse the nav
|
|
@media (min-width: @grid-float-breakpoint) {
|
|
float: left;
|
|
margin: 0;
|
|
|
|
> li {
|
|
float: left;
|
|
> a {
|
|
padding-top: @navbar-padding-vertical;
|
|
padding-bottom: @navbar-padding-vertical;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// Navbar form
|
|
//
|
|
// Extension of the `.form-inline` with some extra flavor for optimum display in
|
|
// our navbars.
|
|
|
|
.navbar-form {
|
|
margin-left: -@navbar-padding-horizontal;
|
|
margin-right: -@navbar-padding-horizontal;
|
|
padding: 10px @navbar-padding-horizontal;
|
|
border-top: 1px solid transparent;
|
|
border-bottom: 1px solid transparent;
|
|
@shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);
|
|
.box-shadow(@shadow);
|
|
|
|
// Mixin behavior for optimum display
|
|
.form-inline();
|
|
|
|
.form-group {
|
|
@media (max-width: @grid-float-breakpoint-max) {
|
|
margin-bottom: 5px;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Vertically center in expanded, horizontal navbar
|
|
.navbar-vertical-align(@input-height-base);
|
|
|
|
// Undo 100% width for pull classes
|
|
@media (min-width: @grid-float-breakpoint) {
|
|
width: auto;
|
|
border: 0;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
.box-shadow(none);
|
|
}
|
|
}
|
|
|
|
|
|
// Dropdown menus
|
|
|
|
// Menu position and menu carets
|
|
.navbar-nav > li > .dropdown-menu {
|
|
margin-top: 0;
|
|
.border-top-radius(0);
|
|
}
|
|
// Menu position and menu caret support for dropups via extra dropup class
|
|
.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
|
|
.border-bottom-radius(0);
|
|
}
|
|
|
|
|
|
// Buttons in navbars
|
|
//
|
|
// Vertically center a button within a navbar (when *not* in a form).
|
|
|
|
.navbar-btn {
|
|
.navbar-vertical-align(@input-height-base);
|
|
|
|
&.btn-sm {
|
|
.navbar-vertical-align(@input-height-small);
|
|
}
|
|
&.btn-xs {
|
|
.navbar-vertical-align(22);
|
|
}
|
|
}
|
|
|
|
|
|
// Text in navbars
|
|
//
|
|
// Add a class to make any element properly align itself vertically within the navbars.
|
|
|
|
.navbar-text {
|
|
.navbar-vertical-align(@line-height-computed);
|
|
|
|
@media (min-width: @grid-float-breakpoint) {
|
|
float: left;
|
|
margin-left: @navbar-padding-horizontal;
|
|
margin-right: @navbar-padding-horizontal;
|
|
}
|
|
}
|
|
|
|
|
|
// Component alignment
|
|
//
|
|
// Repurpose the pull utilities as their own navbar utilities to avoid specificity
|
|
// issues with parents and chaining. Only do this when the navbar is uncollapsed
|
|
// though so that navbar contents properly stack and align in mobile.
|
|
//
|
|
// Declared after the navbar components to ensure more specificity on the margins.
|
|
|
|
@media (min-width: @grid-float-breakpoint) {
|
|
.navbar-left { .pull-left(); }
|
|
.navbar-right {
|
|
.pull-right();
|
|
margin-right: -@navbar-padding-horizontal;
|
|
|
|
~ .navbar-right {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// Alternate navbars
|
|
// --------------------------------------------------
|
|
|
|
// Default navbar
|
|
.navbar-default {
|
|
background-color: @navbar-default-bg;
|
|
border-color: @navbar-default-border;
|
|
|
|
.navbar-brand {
|
|
color: @navbar-default-brand-color;
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-default-brand-hover-color;
|
|
background-color: @navbar-default-brand-hover-bg;
|
|
}
|
|
}
|
|
|
|
.navbar-text {
|
|
color: @navbar-default-color;
|
|
}
|
|
|
|
.navbar-nav {
|
|
> li > a {
|
|
color: @navbar-default-link-color;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-default-link-hover-color;
|
|
background-color: @navbar-default-link-hover-bg;
|
|
}
|
|
}
|
|
> .active > a {
|
|
&,
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-default-link-active-color;
|
|
}
|
|
}
|
|
> .disabled > a {
|
|
&,
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-default-link-disabled-color;
|
|
background-color: @navbar-default-link-disabled-bg;
|
|
}
|
|
}
|
|
}
|
|
|
|
.navbar-toggle {
|
|
border-color: @navbar-default-toggle-border-color;
|
|
&:hover,
|
|
&:focus {
|
|
background-color: @navbar-default-toggle-hover-bg;
|
|
}
|
|
.icon-bar {
|
|
background-color: @navbar-default-toggle-icon-bar-bg;
|
|
}
|
|
}
|
|
|
|
.navbar-collapse,
|
|
.navbar-form {
|
|
border-color: @navbar-default-border;
|
|
}
|
|
|
|
// Dropdown menu items
|
|
.navbar-nav {
|
|
// Remove background color from open dropdown
|
|
> .open > a {
|
|
&,
|
|
&:hover,
|
|
&:focus {
|
|
background-color: @navbar-default-link-active-bg;
|
|
color: @navbar-default-link-active-color;
|
|
}
|
|
}
|
|
|
|
@media (max-width: @grid-float-breakpoint-max) {
|
|
// Dropdowns get custom display when collapsed
|
|
.open .dropdown-menu {
|
|
> li > a {
|
|
color: @navbar-default-link-color;
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-default-link-hover-color;
|
|
background-color: @navbar-default-link-hover-bg;
|
|
}
|
|
}
|
|
> .active > a {
|
|
&,
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-default-link-active-color;
|
|
background-color: @navbar-default-link-active-bg;
|
|
}
|
|
}
|
|
> .disabled > a {
|
|
&,
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-default-link-disabled-color;
|
|
background-color: @navbar-default-link-disabled-bg;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// Links in navbars
|
|
//
|
|
// Add a class to ensure links outside the navbar nav are colored correctly.
|
|
|
|
.navbar-link {
|
|
color: @navbar-default-link-color;
|
|
&:hover {
|
|
color: @navbar-default-link-hover-color;
|
|
}
|
|
}
|
|
|
|
.btn-link {
|
|
color: @navbar-default-link-color;
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-default-link-hover-color;
|
|
}
|
|
&[disabled],
|
|
fieldset[disabled] & {
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-default-link-disabled-color;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Inverse navbar
|
|
|
|
.navbar-inverse {
|
|
background-color: @navbar-inverse-bg;
|
|
border-color: @navbar-inverse-border;
|
|
|
|
.navbar-brand {
|
|
color: @navbar-inverse-brand-color;
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-inverse-brand-hover-color;
|
|
background-color: @navbar-inverse-brand-hover-bg;
|
|
}
|
|
}
|
|
|
|
.navbar-text {
|
|
color: @navbar-inverse-color;
|
|
}
|
|
|
|
.navbar-nav {
|
|
> li > a {
|
|
color: @navbar-inverse-link-color;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-inverse-link-hover-color;
|
|
background-color: @navbar-inverse-link-hover-bg;
|
|
}
|
|
}
|
|
> .active > a {
|
|
&,
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-inverse-link-active-color;
|
|
background-color: @navbar-inverse-link-active-bg;
|
|
}
|
|
}
|
|
> .disabled > a {
|
|
&,
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-inverse-link-disabled-color;
|
|
background-color: @navbar-inverse-link-disabled-bg;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Darken the responsive nav toggle
|
|
.navbar-toggle {
|
|
border-color: @navbar-inverse-toggle-border-color;
|
|
&:hover,
|
|
&:focus {
|
|
background-color: @navbar-inverse-toggle-hover-bg;
|
|
}
|
|
.icon-bar {
|
|
background-color: @navbar-inverse-toggle-icon-bar-bg;
|
|
}
|
|
}
|
|
|
|
.navbar-collapse,
|
|
.navbar-form {
|
|
border-color: darken(@navbar-inverse-bg, 7%);
|
|
}
|
|
|
|
// Dropdowns
|
|
.navbar-nav {
|
|
> .open > a {
|
|
&,
|
|
&:hover,
|
|
&:focus {
|
|
background-color: @navbar-inverse-link-active-bg;
|
|
color: @navbar-inverse-link-active-color;
|
|
}
|
|
}
|
|
|
|
@media (max-width: @grid-float-breakpoint-max) {
|
|
// Dropdowns get custom display
|
|
.open .dropdown-menu {
|
|
> .dropdown-header {
|
|
border-color: @navbar-inverse-border;
|
|
}
|
|
.divider {
|
|
background-color: @navbar-inverse-border;
|
|
}
|
|
> li > a {
|
|
color: @navbar-inverse-link-color;
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-inverse-link-hover-color;
|
|
background-color: @navbar-inverse-link-hover-bg;
|
|
}
|
|
}
|
|
> .active > a {
|
|
&,
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-inverse-link-active-color;
|
|
background-color: @navbar-inverse-link-active-bg;
|
|
}
|
|
}
|
|
> .disabled > a {
|
|
&,
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-inverse-link-disabled-color;
|
|
background-color: @navbar-inverse-link-disabled-bg;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.navbar-link {
|
|
color: @navbar-inverse-link-color;
|
|
&:hover {
|
|
color: @navbar-inverse-link-hover-color;
|
|
}
|
|
}
|
|
|
|
.btn-link {
|
|
color: @navbar-inverse-link-color;
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-inverse-link-hover-color;
|
|
}
|
|
&[disabled],
|
|
fieldset[disabled] & {
|
|
&:hover,
|
|
&:focus {
|
|
color: @navbar-inverse-link-disabled-color;
|
|
}
|
|
}
|
|
}
|
|
}
|