diff options
author | elijah <elijah@riseup.net> | 2017-04-24 00:53:41 -0700 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2017-04-24 11:12:26 +0200 |
commit | 9d301349ab434dc744546918fe026d50485a0797 (patch) | |
tree | 802bec24bb446c9ed3af11f7ccfcd9793250b070 /ui/app/css/bootstrap.less | |
parent | 2976cf11e451f1086d98eae20bdfb0fffa87abb0 (diff) |
[feat] usable vpn ui
Diffstat (limited to 'ui/app/css/bootstrap.less')
-rw-r--r-- | ui/app/css/bootstrap.less | 69 |
1 files changed, 68 insertions, 1 deletions
diff --git a/ui/app/css/bootstrap.less b/ui/app/css/bootstrap.less index 3b77228..6ed519d 100644 --- a/ui/app/css/bootstrap.less +++ b/ui/app/css/bootstrap.less @@ -1,5 +1,72 @@ // -// require npm modules 'bootstrap' +// requires npm modules 'bootstrap' // + @import "~bootstrap/less/bootstrap"; +// +// overrides the bootstrap defaults +// note: in less, you put overrides after the definition. +// this works because of lazy loading. +// + +@import "colors"; + +@brand-primary: @teal; +@brand-success: @green; +@brand-danger: @red; +@brand-warning: @deep-orange; +@brand-info: @light-blue; + +// // Define colors for form feedback states and, by default, alerts. + +@state-success-text: @brand-success; +@state-success-bg: @brand-success; +@state-success-border: @brand-success; + +@state-info-text: @brand-info; +@state-info-bg: @brand-info; +@state-info-border: @brand-info; + +@state-warning-text: @brand-warning; +@state-warning-bg: @brand-warning; +@state-warning-border: @brand-warning; + +@state-danger-text: @brand-danger; +@state-danger-bg: @brand-danger; +@state-danger-border: @brand-danger; + +@alert-succcess-text: @white; +@alert-info-text: @white; +@alert-warning-text: @white; +@alert-danger-text: @white; + +.alert { + font-weight: bold; +} + +.help-block { + margin: 2px 0 0 0; + font-size: small; + opacity: 0.7; +} +.btn.btn-inverse { + color: white; + background-color: #333; +} +.btn.btn-flat { + border-color: transparent; + background-color: transparent; +} + +// +// the web widget has a weird default focus. override it here +// to match the input decoration when focused. +// +.btn:focus, .btn:active:focus, .btn.active:focus, +.btn.focus, .btn:active.focus, .btn.active.focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); +} |