Updates packages. Split CSS in Sass files (#4135)

This commit is contained in:
Gustavo Maximiliano Cortez 2016-04-28 08:27:01 -03:00
parent 8b61189f85
commit 20a094c434
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
10 changed files with 3137 additions and 2395 deletions

4
.gitignore vendored
View File

@ -94,6 +94,10 @@ Session.vim
.netrwhist
*~
# SASS
src/sass/*.css
.sass-cache
# copay public
public/icons/*
public/css/*

View File

@ -62,6 +62,20 @@ module.exports = function(grunt) {
tasks: ['concat:js']
}
},
sass: {
dist: {
options: {
style: 'compact',
sourcemap: 'none'
},
files: [{
expand: true,
src: ['src/sass/*.scss'],
dest: './',
ext: '.css'
}]
}
},
concat: {
options: {
sourceMap: false,
@ -106,7 +120,7 @@ module.exports = function(grunt) {
dest: 'public/js/copay.js'
},
css: {
src: ['src/css/*.css'],
src: ['src/css/*.css', 'src/sass/*.css'],
dest: 'public/css/copay.css'
},
foundation: {
@ -233,8 +247,9 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-node-webkit-builder');
grunt.loadNpmTasks('grunt-contrib-compress');
grunt.loadNpmTasks('grunt-string-replace');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.registerTask('default', ['nggettext_compile', 'exec:version', 'exec:coinbase', 'browserify', 'concat', 'copy:icons']);
grunt.registerTask('default', ['nggettext_compile', 'exec:version', 'exec:coinbase', 'browserify', 'sass', 'concat', 'copy:icons']);
grunt.registerTask('prod', ['default', 'uglify']);
grunt.registerTask('translate', ['nggettext_extract']);
grunt.registerTask('test', ['karma:unit']);

View File

@ -8,15 +8,14 @@
],
"dependencies": {
"angular": "1.4.6",
"angular-bitcore-wallet-client": "1.1.7",
"angular-foundation": "0.7.0",
"angular-gettext": "2.1.2",
"angular-foundation": "0.8.0",
"angular-gettext": "2.2.1",
"angular-moment": "0.10.1",
"angular-qrcode": "monospaced/angular-qrcode#~6.0.3",
"angular-qrcode": "monospaced/angular-qrcode#~6.2.1",
"angular-ui-router": "0.2.18",
"angular-ui-switch": "0.1.1",
"animate.css": "3.4.0",
"foundation": "5.5.2",
"animate.css": "3.5.1",
"foundation": "5.5.3",
"foundation-icon-fonts": "*",
"moment": "2.10.3",
"ng-lodash": "0.2.3",
@ -25,6 +24,7 @@
"ng-csv": "~0.3.6"
},
"resolutions": {
"angular": "1.4.6"
"angular": "1.4.6",
"qrcode-generator": "0.1.0"
}
}

View File

@ -67,6 +67,7 @@
"angular-mocks": "^1.3.14",
"bhttp": "^1.2.1",
"cordova": "^6.1.1",
"grunt-contrib-sass": "^1.0.0",
"grunt-karma": "^0.10.1",
"grunt-karma-coveralls": "^2.5.3",
"grunt-node-webkit-builder": "^1.0.2",

File diff suppressed because it is too large Load Diff

View File

@ -89,773 +89,19 @@ _:-ms-fullscreen, :root .main {
}
}
.tab-bar {
background-color: #4B6178;
z-index: 5;
}
.tab-bar h1 {
font-weight: 500;
font-size: 14px;
}
.tab-bar-section.middle {
left: 4.7rem;
right: 4.7rem;
}
.left-small {
width: 4.7rem;
line-height: 2.95rem;
border-right: none;
}
.right-small {
width: 4.7rem;
text-align: right;
line-height: 2.7rem;
border-left: none;
}
.right-small a, .left-small a {
color: #FFFFFF;
}
.backup .right-small a, .backup .left-small a {
color: #7A8C9E;
}
.tab-bar .icon-back {
font-size: 2.5rem;
position: absolute;
line-height: 52px;
left: -5px;
height: 45px;
top: 0px;
}
.tab-bar .text-back {
margin-left: 26px;
font-size: 0.9rem;
font-weight: 400;
padding: 10px 0;
visibility: middle;
}
.tab-bar .text-close {
font-size: 0.9rem;
font-weight: 400;
line-height: 2.95rem;
}
.bottom-bar {
display: block;
position: fixed;
bottom: 0;
width: 100%;
z-index: 5;
background: #FFFFFF;
border-top: 1px solid #E2E7ED;
}
.second-bottom-bar {
z-index: 6;
}
.second-bottom-bar.animated.slideInRight,
.second-bottom-bar.animated.slideInLeft {
-webkit-animation-duration: 0.3s;
animation-duration: 0.3s;
}
.menu-toggle {
padding-top: 1rem !important;
}
.menu-wallet-home {
background: #fff linear-gradient(-180deg, #F1F3F5 0%, #FFFFFF 30%);
box-shadow: 0px -1px 0px 0px rgba(165,178,191,0.35);
width: 100%;
height: 8rem;
position: absolute;
top: -10px;
margin-left: auto;
margin-right: auto;
left:0;
right:0;
border-radius: 100%;
z-index: -999;
}
.amount {
width: 100%;
text-align: center;
padding: 1.5rem 1rem 1.5rem 1rem;
color: #fff;
height: 150px;
margin-bottom: 25px;
}
.alternative-amount {
height: 25px;
text-align: center;
}
.scroll-section {
position: absolute;
top: 120px;
overflow-y: auto;
}
.status {
bottom: 65px;
left: 0;
}
.right-off-canvas-menu {
background-color: #213140 ;
}
.off-canvas-wrap,.inner-wrap{
height:100%;
}
.walletHome .avatar-wallet {
padding: 0.5rem;
width: 75px;
height: 75px;
position: absolute;
top: -22px;
font-size: 2.2rem;
border: 3px solid #fff;
background: #1ABC9C;
margin: 0;
color: #FFF;
font-weight: 700;
text-align: center;
border-radius: 5px;
}
.walletHome .wallet-info {
position: absolute;
top: inherit;
left: 10px;
bottom: 26px;
font-size: 20px;
color: #fff;
}
.camera-icon a {
background: #4B6178;
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.50);
color: #fff;
display: block;
position: absolute;
padding: 15px 17px;
border-radius: 100%;
top: inherit;
right: 15px;
bottom: 2px;
line-height: 12px;
}
.send .camera-icon a {
top: inherit;
bottom: 0;
}
ul.copayer-list img {
width: 30px;
height: 30px;
}
.bottombar-item a {
color: #A5B2BF;
padding: 0.5rem 0;
display: block;
}
.bottombar-item a.active .label {
text-shadow: none;
}
.box-founds {
background-color: #213140;
}
a.missing-copayers {
bottom: -34px;
text-align: center;
padding: .7rem;
width: 100%;
}
.button, button {
padding: 1rem 1.2rem 1.0625rem;
border: 1px solid transparent;
font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.box-setup {
margin-bottom: 50px;
}
.footer-setup {
margin-bottom: 50px;
}
.label {
font-size: 70%;
padding: 0.2rem 0.2rem;
}
.sidebar {
background: #2C3E50;
}
.sidebar .icon, .modal-content .icon {
width: 39px;
text-align: center;
margin-right: 15px;
float: left;
display: block;
}
.sidebar li {
overflow: hidden;
border-bottom: 1px solid #384B5F;
}
.sidebar li.nav-item.selected {
background-color: #122232;
}
.sidebar .avatar-wallet, .payment-uri .avatar-wallet, .modal-content .avatar-wallet {
background-color: #2C3E50;
color: #fff;
font-size: 1.4rem;
font-weight: 700;
margin-right: 15px;
text-align: center;
float: left;
width: 35px;
height: 30px;
border-radius: 3px;
padding-top: 5px;
}
.sidebar header {
text-align: center;
padding: 1.7rem;
border-bottom: 1px solid #384B5F;
}
.sidebar header h1 {
color: #fff;
margin: 0;
padding: 5px;
}
.sidebar header small {
color: #fff;
}
.sidebar ul.off-canvas-list {
margin-bottom: 30px;
}
.sidebar ul.off-canvas-list li a, .modal-content ul li a {
font-size: 12px;
font-weight: 300;
border-bottom: transparent;
color: #A5B2BF;
padding: 1rem 0.7rem;
}
.modal-content ul li a.removeAddressbook {
background-color: white;
color: red;
margin-right: -10px;
float: right;
}
.modal-content ul li a.selectAddressbook {
float: left;
font-size: 18px;
padding: 13px 14px;
color: red;
margin-right: 10px;
}
.sidebar .left-off-canvas-menu {
background: #E4E8EC;
line-height: 24px;
}
/*
* Remove all vendors hover / shadow / fade
*/
.tooltip {
display: none !important;
}
.move-right .exit-off-canvas,
.move-left .exit-off-canvas {
box-shadow: none;
}
ul.off-canvas-list li a:hover {
background: none;
}
.move-right .close-menu {
cursor: pointer;
box-shadow: none;
display: block;
position: absolute;
background: none;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 1002;
}
/* === */
/* Have to set height explicity on ui-view
to prevent collapsing during animation*/
.main[ui-view]{
height: 100%; /* TODO */
}
.ui-view-container {
position: relative;
height: 100%;
}
[ui-view].slideDown,
[ui-view].slideRight,
[ui-view].slideLeft {
z-index:100;
}
#mainSection, #mainSectionDup {
height:100%;
position: absolute;
left: 0;
right: 0;
animation-timing-function: ease-in-out;
animation-duration: .3s;
animation-iteration-count: 1;
animation-fill-mode: both;
-webkit-animation-timing-function: ease-in-out;
-webkit-animation-duration: .3s;
-webkit-animation-iteration-count: 1;
-webkit-animation-fill-mode: both;
}
.CslideInUp {
-webkit-animation-name: slideInUp;
animation-name: slideInUp;
z-index: 1003;
}
.CslideOutDown {
-webkit-animation-name: slideOutDown;
animation-name: slideOutDown;
z-index: 1003;
}
.CslideOutRight {
-webkit-animation-name: slideOutRight;
animation-name: slideOutRight;
z-index: 1003;
}
.CslideInRight {
-webkit-animation-name: slideInRight;
animation-name: slideInRight;
z-index: 1003;
}
/* == */
.icon-circle, .icon-circle-active {
color: #1ABC9C;
}
.tx-comment {
border-top: 1px solid #eee;
padding-top: 10px;
margin-top: 10px;
}
/* notifications */
.dr-notification-container {
position: absolute;
z-index: 10000;
width: 100%;
}
.dr-notification-container.bottom {
bottom: 20px;
}
.dr-notification-container.right {
right: 0;
}
.dr-notification-container.left {
left: 20px;
}
.dr-notification-container.top {
top: 45px;
}
.dr-notification-container.center {
left: 50%;
margin-left: -190px;
}
.dr-notification-wrapper {
position: relative;
width: 100%;
margin: 0;
}
.dr-notification-wrapper.offline {
position: absolute;
top: 0px;
z-index: 2000;
opacity: 1.0 !important;
background-color: #2C3E50;
}
.dr-notification-wrapper.client-error {
position: absolute;
top: 45px;
z-index: 11;
}
.dr-notification-close-btn {
color: #A5B2BF;
border: 1px solid #A5B2BF;
border-radius: 100%;
display: inline-block;
padding: 0px 8px;
position: absolute;
right: 5px;
cursor: pointer;
z-index: 10;
margin: 14px 8px 0;
font-size: 20px;
}
.dr-notification-image {
float: left;
color: #fff;
text-align: center;
background-color: #213140;
width: 40px;
height: 40px;
font-size: 1.5rem;
border-radius: 100%;
margin: 0.6rem;
}
.dr-notification-image img {
margin: 15px;
max-width: 70px;
min-width: 48px;
}
.dr-notification-content {
line-height: 90%;
padding: 10px 50px 5px 60px;
}
.dr-notification-title {
color: #fff;
font-size: 12px;
margin-bottom: 0;
font-weight: 700;
}
.dr-notification {
background: rgba(44,62,80,0.90);
box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.20);
-webkit-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.20);
-moz-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.20);
width: 100%;
clear: both;
overflow: hidden;
border-radius: 0;
height: 60px;
}
.dr-notification-text {
font-size: 11px;
color: #fff;
}
/*** modals ***/
.hideModal {
visibility: none !important;
display: none !important;
}
.reveal-modal-bg {
display: none !important;
}
.reveal-modal.full {
top: 0 !important;
}
.modal-content {
position: fixed;
overflow-y: auto;
height: 100%;
width: 100%;
top: 45px;
padding-bottom: 50px;
-webkit-transform: translate3d(0,0,0);
background: #f6f7f9;
}
body.modal-open {
position: fixed;
overflow: hidden;
z-index: 1;
}
.reveal-modal {
padding: 0;
border: none;
border-radius: 0;
outline: 0;
box-shadow: none;
}
.reveal-modal.animated.slideInRight,
.reveal-modal.animated.slideOutRight,
.txModal.animated.slideInRight,
.txModal.animated.slideOutRight,
.reveal-modal.animated.fadeOutUp,
.reveal-modal.animated.slideInUp,
.reveal-modal.animated.slideInDown {
-webkit-animation-duration: 0.3s;
animation-duration: 0.3s;
}
input[type="color"],
input[type="date"],
input[type="datetime-local"],
input[type="datetime"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"],
input,
select,
textarea,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="color"]:focus,
input:focus,
select:focus,
textarea:focus
{
outline: 0;
opacity: 1;
/*CSS transitions*/
-o-transition-property: none !important;
-moz-transition-property: none !important;
-ms-transition-property: none !important;
-webkit-transition-property: none !important;
transition-property: none !important;
/*CSS transforms*/
-o-transform: none !important;
-moz-transform: none !important;
-ms-transform: none !important;
-webkit-transform: none !important;
transform: none !important;
/*CSS animations*/
-webkit-animation: none !important;
-moz-animation: none !important;
-o-animation: none !important;
-ms-animation: none !important;
animation: none !important;
/*CSS box-shadow*/
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
box-shadow: none !important;
}
.popup-tx-status {
z-index: 1030;
}
.popup-txsent {
position: absolute;
width: 100%;
height: 100%;
background: rgba(24,44,58,0.90);
}
.popup-txsent i {
font-size: 5rem;
color: #4A90E2;
border-radius: 100%;
border-color: #4A90E2;
border: 2px solid;
width: 150px;
height: 150px;
display: block;
text-align: center;
padding-top: 1rem;
}
.popup-txsigned i {
font-size: 5rem;
color: #4A90E2;
border-radius: 100%;
border-color: #4A90E2;
border: 2px solid;
width: 150px;
height: 150px;
display: block;
text-align: center;
padding-top: 1rem;
}
.popup-txrejected i {
font-size: 5rem;
color: #4A90E2;
border-radius: 100%;
border-color: #4A90E2;
border: 2px solid;
width: 150px;
height: 150px;
display: block;
text-align: center;
padding-top: 1rem;
}
.payment-proposal-head {
color: #fff;
padding: 0 10px 20px 10px;
text-align: center;
}
.payment-proposal-to {
width: 100%;
display: inline-block;
padding: 5px 15px;
background-color: rgba(0, 0, 0, 0.1);
}
.payment-proposal-to i {
position: absolute;
left: 25px;
padding-right: 10px;
border-right: 1px solid;
border-color: rgba(255, 255, 255, 0.1);
font-size: 20px;
}
::-webkit-input-placeholder {
color: #B7C2CD;
}
:-moz-placeholder { /* Firefox 18- */
color: #B7C2CD;
}
::-moz-placeholder { /* Firefox 19+ */
color: #B7C2CD;
}
:-ms-input-placeholder {
color: #B7C2CD;
}
.tab-view {
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
width:100%;
position: absolute;
top: 44px;
bottom: 37px;
overflow: auto;
padding-bottom: 40px;
}
.tab-in {
-webkit-transform: translate3d(0, 0, 0) !important;
transform: translate3d(0, 0, 0) !important;
}
.tab-out {
-webkit-transform: translate3d(-100%, 0, 0) !important;
transform: translate3d(-100%, 0, 0) !important;
}
.create-tab {
background-color: #fff;
width: 100%;
border-bottom: 1px solid #DEDFE1;
margin-bottom: 25px;
overflow: hidden;
}
.create-tab .tab-container {
float: left;
text-align: center;
}
.test {
background: red;
}
.create-tab a {
font-size: .7rem;
padding: 1.2rem .2rem .6rem .2rem;
color: #7A8C9E;
text-transform: uppercase;
font-weight: 500;
display: block;
}
.tab-container.selected {
border-bottom: 3px solid #4B6178;
}
.tab-container.selected a {
color: #2C3E50;
@-webkit-keyframes stretchdelay {
0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
20% { -webkit-transform: scaleY(1.0) }
}
@keyframes stretchdelay {
0%, 40%, 100% {
transform: scaleY(0.4);
-webkit-transform: scaleY(0.4);
} 20% {
transform: scaleY(1.0);
-webkit-transform: scaleY(1.0);
}
}
/* removes 300ms in IE */

338
src/sass/buttons.scss Normal file
View File

@ -0,0 +1,338 @@
.button, button {
padding: 1rem 1.2rem 1.0625rem;
border: 1px solid transparent;
font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.button.outline {
background: transparent;
&:hover, &:focus {
background: transparent;
}
}
button.outline {
background: transparent;
&:hover, &:focus {
background: transparent;
}
}
.button.outline.tiny {
background: transparent;
&:hover, &:focus {
background: transparent;
}
}
button.outline.tiny {
background: transparent;
&:hover, &:focus {
background: transparent;
}
}
.button.outline.dark-gray {
background-color: transparent;
border: 1px solid #A5B2BF;
color: #A5B2BF;
&:hover, &:focus {
background-color: transparent;
border: 1px solid #A5B2BF;
color: #A5B2BF;
}
}
button.outline.dark-gray {
background-color: transparent;
border: 1px solid #A5B2BF;
color: #A5B2BF;
&:hover, &:focus {
background-color: transparent;
border: 1px solid #A5B2BF;
color: #A5B2BF;
}
}
.button.outline.light-gray {
background-color: transparent;
border: 1px solid #CED5DC;
color: #7A8C9E;
&:hover, &:focus {
background-color: transparent;
border: 1px solid #CED5DC;
color: #7A8C9E;
}
}
button.outline.light-gray {
background-color: transparent;
border: 1px solid #CED5DC;
color: #7A8C9E;
&:hover, &:focus {
background-color: transparent;
border: 1px solid #CED5DC;
color: #7A8C9E;
}
}
.button.outline.white {
background-color: transparent;
border: 1px solid #fff;
color: #fff;
&:hover, &:focus {
background-color: transparent;
border: 1px solid #fff;
color: #fff;
}
}
button {
&.outline.white {
background-color: transparent;
border: 1px solid #fff;
color: #fff;
&:hover, &:focus {
background-color: transparent;
border: 1px solid #fff;
color: #fff;
}
}
&.secondary {
background-color: #008CC1;
color: #fff;
&:hover, &:focus {
background-color: #008CC1;
color: #fff;
}
}
}
/* SECONDARY */
.button.secondary {
background-color: #008CC1;
color: #fff;
&:hover, &:focus {
background-color: #008CC1;
color: #fff;
}
}
/* PRIMARY */
button.primary {
background-color: #1ABC9C;
color: #fff;
&:hover, &:focus {
background-color: #1ABC9C;
color: #fff;
}
}
.button.primary {
background-color: #1ABC9C;
color: #fff;
&:hover, &:focus {
background-color: #1ABC9C;
color: #fff;
}
}
/* WARNING */
button.warning, .button.warning {
background-color: #ED4A43;
color: #fff;
}
button.warning {
&:hover, &:focus {
background-color: #ED4A43;
color: #fff;
}
}
.button.warning {
&:hover, &:focus {
background-color: #ED4A43;
color: #fff;
}
}
/* WHITE */
button.white {
background-color: #fff;
color: #2C3E50;
&:hover, &:focus {
background-color: #fff;
color: #2C3E50;
}
}
.button.white {
background-color: #fff;
color: #2C3E50;
&:hover, &:focus {
background-color: #fff;
color: #2C3E50;
}
}
/* BLACK */
button.black {
background-color: #2C3E50;
color: #fff;
&:hover, &:focus {
background-color: #2C3E50;
color: #fff;
}
}
.button.black {
background-color: #2C3E50;
color: #fff;
&:hover, &:focus {
background-color: #2C3E50;
color: #fff;
}
}
/* GRAY */
button.gray {
background-color: #A9B2B8;
color: #2C3E50;
&:hover, &:focus {
background-color: #A9B2B8;
color: #2C3E50;
}
}
.button.gray {
background-color: #A9B2B8;
color: #2C3E50;
&:hover, &:focus {
background-color: #A9B2B8;
color: #2C3E50;
}
}
button {
&.disabled, &[disabled] {
border-color: transparent !important;
background-color: #A5B2BF !important;
color: #fff !important;
}
}
.button {
&.disabled, &[disabled] {
border-color: transparent !important;
background-color: #A5B2BF !important;
color: #fff !important;
}
text-transform: uppercase;
transition: none !important;
}
button {
text-transform: uppercase;
transition: none !important;
}
.button:focus, button:focus {
outline: 0;
}
.postfix.button, .prefix.button {
position: absolute;
width: 35px;
height: 22px;
right: 7px;
top: 5px;
-moz-box-shadow: none;
box-shadow: none;
font-size: 12px;
border-radius: 2px;
line-height: 2;
padding: 0;
font-weight: 500;
}
.postfix.button i, .prefix.button i {
left: 12px;
top: 0;
border: none;
-moz-box-shadow: none;
box-shadow: none;
color: #fff;
}
a {
&.postfix {
height: 34px;
border: none;
font-weight: 700;
font-size: 14px;
color: #7A8C9E;
text-transform: uppercase;
position: absolute;
top: 0;
right: 0;
width: 50px;
padding-top: 7px;
}
&.button.postfix {
color: #fff;
}
}
.backup {
.panel {
padding: 0.5rem;
}
button {
&.words {
background: #FFFFFF;
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.3);
color: #4B6178;
text-transform: lowercase;
font-size: 0.8rem;
margin: 5px;
padding: 0.5rem;
}
&[disabled] {
box-shadow: none;
}
}
}
button.radius, .button.radius {
-webkit-border-radius: 3px;
border-radius: 3px;
}
.button.small.side-bar {
padding: 0rem 0.4rem;
}
.button-box {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
padding: 0.8rem;
z-index: 9999;
}
.backup .button-box {
background: #F6F7F9;
}
.splash .button-box {
background: #2C3E50;
}

568
src/sass/forms.scss Normal file
View File

@ -0,0 +1,568 @@
// Forms
input {
border-radius: 2px;
background: #EDEDED;
color: #2C3E42;
padding: 1.2rem 0.7rem;
margin-bottom: 1.5rem;
border: 0;
&[type="color"], &[type="date"], &[type="datetime-local"], &[type="datetime"], &[type="email"], &[type="month"], &[type="number"], &[type="password"], &[type="search"], &[type="tel"], &[type="text"], &[type="time"], &[type="url"], &[type="week"] {
color: #B7C2CD;
margin-bottom: 1.5rem;
height: 35px;
background: transparent;
border: none;
padding-left: 0.1rem;
font-size: 13px;
border-bottom: 1px solid #E9EDF0;
}
}
textarea {
color: #B7C2CD;
margin-bottom: 1.5rem;
height: 35px;
background: transparent;
border: none;
padding-left: 0.1rem;
font-size: 13px;
border-bottom: 1px solid #E9EDF0;
}
input {
&[type="text"]:focus, &[type="password"]:focus, &[type="date"]:focus, &[type="datetime"]:focus, &[type="datetime-local"]:focus, &[type="month"]:focus, &[type="week"]:focus, &[type="email"]:focus, &[type="number"]:focus, &[type="search"]:focus, &[type="tel"]:focus, &[type="time"]:focus, &[type="url"]:focus, &[type="color"]:focus {
color: #4B6178;
border-color: #CED5DC;
background: transparent;
}
}
textarea:focus {
color: #4B6178;
border-color: #CED5DC;
background: transparent;
}
input[type="text"] {
&[disabled], &[readonly] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
}
fieldset[disabled] input[type="text"] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
input[type="password"] {
&[disabled], &[readonly] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
}
fieldset[disabled] input[type="password"] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
input[type="date"] {
&[disabled], &[readonly] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
}
fieldset[disabled] input[type="date"] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
input[type="datetime"] {
&[disabled], &[readonly] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
}
fieldset[disabled] input[type="datetime"] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
input[type="datetime-local"] {
&[disabled], &[readonly] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
}
fieldset[disabled] input[type="datetime-local"] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
input[type="month"] {
&[disabled], &[readonly] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
}
fieldset[disabled] input[type="month"] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
input[type="week"] {
&[disabled], &[readonly] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
}
fieldset[disabled] input[type="week"] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
input[type="email"] {
&[disabled], &[readonly] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
}
fieldset[disabled] input[type="email"] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
input[type="number"] {
&[disabled], &[readonly] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
}
fieldset[disabled] input[type="number"] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
input[type="search"] {
&[disabled], &[readonly] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
}
fieldset[disabled] input[type="search"] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
input[type="tel"] {
&[disabled], &[readonly] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
}
fieldset[disabled] input[type="tel"] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
input[type="time"] {
&[disabled], &[readonly] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
}
fieldset[disabled] input[type="time"] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
input[type="url"] {
&[disabled], &[readonly] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
}
fieldset[disabled] input[type="url"] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
input[type="color"] {
&[disabled], &[readonly] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
}
fieldset[disabled] input[type="color"] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
textarea {
&[disabled], &[readonly] {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
}
fieldset[disabled] textarea {
background-color: #E4E8EC;
color: #2C3E50;
padding-left: 0.5rem;
opacity: 1;
}
select {
background-color: transparent;
color: #7A8C9E;
border-color: #A5B2BF;
}
label {
text-transform: uppercase;
font-weight: 700;
font-size: 11px;
color: #34495E;
margin-bottom: 3px;
}
label small {
font-size: 10px;
color: #999;
&.has-error {
font-size: 11px;
}
}
input {
&[type="color"], &[type="date"], &[type="datetime-local"], &[type="datetime"], &[type="email"], &[type="month"], &[type="number"], &[type="password"], &[type="search"], &[type="tel"], &[type="text"], &[type="time"], &[type="url"], &[type="week"] {
outline: 0;
opacity: 1;
/*CSS transitions*/
-o-transition-property: none !important;
-moz-transition-property: none !important;
-ms-transition-property: none !important;
-webkit-transition-property: none !important;
transition-property: none !important;
/*CSS transforms*/
-o-transform: none !important;
-moz-transform: none !important;
-ms-transform: none !important;
-webkit-transform: none !important;
transform: none !important;
/*CSS animations*/
-webkit-animation: none !important;
-moz-animation: none !important;
-o-animation: none !important;
-ms-animation: none !important;
animation: none !important;
/*CSS box-shadow*/
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
box-shadow: none !important;
}
outline: 0;
opacity: 1;
/*CSS transitions*/
-o-transition-property: none !important;
-moz-transition-property: none !important;
-ms-transition-property: none !important;
-webkit-transition-property: none !important;
transition-property: none !important;
/*CSS transforms*/
-o-transform: none !important;
-moz-transform: none !important;
-ms-transform: none !important;
-webkit-transform: none !important;
transform: none !important;
/*CSS animations*/
-webkit-animation: none !important;
-moz-animation: none !important;
-o-animation: none !important;
-ms-animation: none !important;
animation: none !important;
/*CSS box-shadow*/
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
box-shadow: none !important;
}
select, textarea {
outline: 0;
opacity: 1;
/*CSS transitions*/
-o-transition-property: none !important;
-moz-transition-property: none !important;
-ms-transition-property: none !important;
-webkit-transition-property: none !important;
transition-property: none !important;
/*CSS transforms*/
-o-transform: none !important;
-moz-transform: none !important;
-ms-transform: none !important;
-webkit-transform: none !important;
transform: none !important;
/*CSS animations*/
-webkit-animation: none !important;
-moz-animation: none !important;
-o-animation: none !important;
-ms-animation: none !important;
animation: none !important;
/*CSS box-shadow*/
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
box-shadow: none !important;
}
input {
&[type="text"]:focus, &[type="password"]:focus, &[type="date"]:focus, &[type="datetime"]:focus, &[type="datetime-local"]:focus, &[type="month"]:focus, &[type="week"]:focus, &[type="email"]:focus, &[type="number"]:focus, &[type="search"]:focus, &[type="tel"]:focus, &[type="time"]:focus, &[type="url"]:focus, &[type="color"]:focus, &:focus {
outline: 0;
opacity: 1;
/*CSS transitions*/
-o-transition-property: none !important;
-moz-transition-property: none !important;
-ms-transition-property: none !important;
-webkit-transition-property: none !important;
transition-property: none !important;
/*CSS transforms*/
-o-transform: none !important;
-moz-transform: none !important;
-ms-transform: none !important;
-webkit-transform: none !important;
transform: none !important;
/*CSS animations*/
-webkit-animation: none !important;
-moz-animation: none !important;
-o-animation: none !important;
-ms-animation: none !important;
animation: none !important;
/*CSS box-shadow*/
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
box-shadow: none !important;
}
}
select:focus, textarea:focus {
outline: 0;
opacity: 1;
/*CSS transitions*/
-o-transition-property: none !important;
-moz-transition-property: none !important;
-ms-transition-property: none !important;
-webkit-transition-property: none !important;
transition-property: none !important;
/*CSS transforms*/
-o-transform: none !important;
-moz-transform: none !important;
-ms-transform: none !important;
-webkit-transform: none !important;
transform: none !important;
/*CSS animations*/
-webkit-animation: none !important;
-moz-animation: none !important;
-o-animation: none !important;
-ms-animation: none !important;
animation: none !important;
/*CSS box-shadow*/
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
box-shadow: none !important;
}
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill, input:-webkit-autofill:focus, textarea:-webkit-autofill:focus, select:-webkit-autofill:focus {
-webkit-box-shadow: 0 0 0px 1000px white inset;
}
/* Turn Off Number Input Spinners */
input[type=number] {
&::-webkit-inner-spin-button, &::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
}
.backup input[type="text"] {
border-bottom: 1px solid #CAD4DB;
&:focus {
border-bottom: 1px solid #A5B2BF;
}
}
.label {
font-weight: 500;
padding: 0.3rem 0.4rem;
vertical-align: text-bottom;
&.outline {
background: transparent;
border: 1px solid #4B6178;
&.gray {
font-size: 90%;
background: transparent;
border: 1px solid #A9B6C2;
}
}
&.success {
background-color: #1ABC9C;
}
&.alert {
background-color: #ED4A43;
}
&.gray {
background-color: #4B6178;
}
}
label.postfix {
height: 34px;
border: none;
font-weight: 700;
font-size: 14px;
color: #7A8C9E;
text-transform: uppercase;
position: absolute;
top: 0;
right: 0;
width: 50px;
padding-top: 7px;
}
.input {
&.block i {
position: absolute;
top: 2px;
left: 15px;
font-size: 20px;
color: #7A8C9E;
border-right: 1px solid #ccc;
padding-right: 8px;
border-right: 1px solid #E5E8EB;
display: block;
cursor: pointer;
}
position: relative;
label {
line-height: 0;
padding: 0;
}
}
.label {
font-size: 70%;
padding: 0.2rem 0.2rem;
}
.settings {
fieldset {
border: 1px solid #425467;
legend {
background: transparent;
color: #A5B2BF;
}
}
label {
color: #A5B2BF;
font-weight: normal;
}
}
.bottombar-item a {
color: #A5B2BF;
padding: 0.5rem 0;
display: block;
&.active .label {
text-shadow: none;
}
}
::-webkit-input-placeholder {
color: #B7C2CD;
}
:-moz-placeholder {
/* Firefox 18- */
color: #B7C2CD;
}
::-moz-placeholder {
/* Firefox 19+ */
color: #B7C2CD;
}
:-ms-input-placeholder {
color: #B7C2CD;
}

2147
src/sass/main.scss Normal file

File diff suppressed because it is too large Load Diff

42
src/sass/search.scss Normal file
View File

@ -0,0 +1,42 @@
/*//////////////////////////// SEARCH INPUT ////////////////////////////*/
.searchBar {
display: table;
.columns {
display: table-cell;
vertical-align: middle;
float: none;
}
[class*="column"] + [class*="column"]:last-child {
float: none;
}
form {
margin-left: 20px;
}
input {
margin-bottom: auto;
border-bottom: 0px solid #E9EDF0;
padding-left: 8px;
}
i {
position: absolute;
padding: 8px 0 8px 8px;
}
.small-11 {
padding-right: 5px;
padding-left: 5px;
}
.small-1 {
padding-left: 2px;
padding-right: 8px;
}
}
.searchLabel {
margin-top: 10px;
margin-bottom: 10px;
background-color: rgba(0, 0, 0, 0.02);
border-radius: 10px;
position: relative;
}