Skip to content

Update with Bootstrap's variables and mixins #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions README.md~

This file was deleted.

51 changes: 23 additions & 28 deletions token-input-bootstrappy.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,24 @@ ul.token-input-list-facebook {
height: auto !important;
height: 1%;
width: 400px;
border: 1px solid #BBB;
border: 1px solid $inputBorder;
cursor: text;
font-size: 12px;
font-family: Verdana, sans-serif;
font-size: $baseFontSize;
font-family: $sansFontFamily;
min-height: 1px;
z-index: 999;
margin: 0;
padding: 0;
background-color: #fff;
background-color: $sansFontFamily;
list-style-type: none;
clear: left;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
@include border-radius(3px);
}

ul.token-input-list-facebook.token-input-focused-facebook {
border-color: #59abea; // for old browsers
border-color: rgba(82, 168, 236, 0.8);
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
@include box-shadow(#{inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6)});
outline: 0;
outline: thin dotted 9;
}
Expand All @@ -33,7 +30,7 @@ ul.token-input-list-facebook li input {
border: 0;
width: 100px;
padding: 3px 8px;
background-color: white;
background-color: $white;
margin: 2px 0;
-webkit-appearance: caret;
}
Expand All @@ -44,14 +41,12 @@ li.token-input-token-facebook {
height: 15px;
margin: 3px;
padding: 1px 3px;
background-color: #F5F5F5;
background-color: darken($white, 4%);
color: #555;
cursor: default;
border: 1px solid #BBB;
border: 1px solid $inputBorder;
font-size: 11px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
@include border-radius(5px);
float: left;
white-space: nowrap;
}
Expand All @@ -70,9 +65,9 @@ li.token-input-token-facebook span {
}

li.token-input-selected-token-facebook {
background-color: #5670a6;
border: 1px solid #3b5998;
color: #fff;
background-color: $infoText;
border: 1px solid darken($infoText, 5%);
color: $white;
}

li.token-input-input-token-facebook {
Expand All @@ -85,22 +80,22 @@ li.token-input-input-token-facebook {
div.token-input-dropdown-facebook {
position: absolute;
width: 400px;
background-color: #F5F5F5;
background-color: darken($white, 4%);
overflow: hidden;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
cursor: default;
font-size: 12px;
font-family: Verdana, sans-serif;
font-size: $baseFontSize;;
font-family: $sansFontFamily;
z-index: 1;
}

div.token-input-dropdown-facebook p {
margin: 0;
padding: 5px;
font-weight: bold;
color: #555;
color: $gray;
}

div.token-input-dropdown-facebook ul {
Expand All @@ -109,18 +104,18 @@ div.token-input-dropdown-facebook ul {
}

div.token-input-dropdown-facebook ul li {
background-color: #f5f5f5;
background-color: darken($white, 4%);
padding: 3px;
margin: 0;
list-style-type: none;
}

div.token-input-dropdown-facebook ul li.token-input-dropdown-item-facebook {
background-color: #f5f5f5;
background-color: darken($white, 4%);
}

div.token-input-dropdown-facebook ul li.token-input-dropdown-item2-facebook {
background-color: #f5f5f5;
background-color: darken($white, 4%);
}

div.token-input-dropdown-facebook ul li em {
Expand All @@ -129,6 +124,6 @@ div.token-input-dropdown-facebook ul li em {
}

div.token-input-dropdown-facebook ul li.token-input-selected-dropdown-item-facebook {
background-color: #08C;
color: #f5f5f5;
background-color: $linkColor;
color: $white;
}