mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-26 03:02:25 -05:00
[ux] import variables from andbang, initial take on chatbox form
This commit is contained in:
parent
6be75b7f6c
commit
3cd74f0a03
@ -13,6 +13,19 @@ $dkgray = #202020
|
|||||||
$blue = #00aeef
|
$blue = #00aeef
|
||||||
$dkblue = #006991
|
$dkblue = #006991
|
||||||
|
|
||||||
|
// new colors
|
||||||
|
|
||||||
|
$activeBlue = #00aeef
|
||||||
|
$actionPink = #ec008c
|
||||||
|
|
||||||
|
$sidebarBg = #0b1316
|
||||||
|
$sidebarActive = #192a47
|
||||||
|
|
||||||
|
$baseText = #565656
|
||||||
|
$textSecondary = #b7b7b7
|
||||||
|
|
||||||
|
$grayBackground = #f7f7f7
|
||||||
|
$grayOutline = #e4e4e4
|
||||||
|
|
||||||
// font sizes
|
// font sizes
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@
|
|||||||
|
|
||||||
.chatBox
|
.chatBox
|
||||||
borderbox()
|
borderbox()
|
||||||
border-top: 1px solid rgba(0,0,0,.08)
|
border-top: 1px solid $grayOutline
|
||||||
bottom: 0px
|
bottom: 0px
|
||||||
position: fixed
|
position: fixed
|
||||||
right: 0px
|
right: 0px
|
||||||
@ -123,11 +123,8 @@
|
|||||||
z-index: 200
|
z-index: 200
|
||||||
|
|
||||||
form
|
form
|
||||||
gradient: #e1e4e6 #cacdce
|
background: $grayBackground
|
||||||
padding: 11px
|
padding: 11px
|
||||||
border-top: 1px solid #fff
|
|
||||||
border-left: 1px solid #ddd
|
|
||||||
border-right: 1px solid #ddd
|
|
||||||
|
|
||||||
.formwrap
|
.formwrap
|
||||||
borderbox()
|
borderbox()
|
||||||
@ -139,22 +136,20 @@
|
|||||||
background-color: #fff
|
background-color: #fff
|
||||||
width: 100%
|
width: 100%
|
||||||
height: 30px
|
height: 30px
|
||||||
border: 1px solid #ccc
|
border: 1px solid $grayOutline
|
||||||
border-top-color: #bbb
|
roundall: 3px
|
||||||
roundall: 5px
|
|
||||||
innerShadow: rgba(0,0,0,.1) 0 -1px 3px
|
|
||||||
line-height: 18px
|
line-height: 18px
|
||||||
outline: none
|
outline: none
|
||||||
resize: none
|
resize: none
|
||||||
color: #222f3b
|
color: #222f3b
|
||||||
font-size: 14px
|
font-size: 14px
|
||||||
-webkit-font-smoothing: antialiased
|
-webkit-font-smoothing: antialiased
|
||||||
|
-webkit-appearance: none
|
||||||
padding: 5px
|
padding: 5px
|
||||||
borderbox()
|
borderbox()
|
||||||
|
|
||||||
&:focus
|
&:focus
|
||||||
border-color: #bbb
|
border-color: #bbb
|
||||||
border-top-color: #aaa
|
|
||||||
|
|
||||||
&.editing
|
&.editing
|
||||||
background-color: yellow
|
background-color: yellow
|
||||||
|
@ -570,7 +570,7 @@ td {
|
|||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-top: 1px solid rgba(0,0,0,0.08);
|
border-top: 1px solid #e4e4e4;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 0px;
|
right: 0px;
|
||||||
@ -578,13 +578,8 @@ td {
|
|||||||
z-index: 200;
|
z-index: 200;
|
||||||
}
|
}
|
||||||
.chatBox form {
|
.chatBox form {
|
||||||
background: #e1e4e6;
|
background: #f7f7f7;
|
||||||
background-image: -moz-linear-gradient(top, #e1e4e6, #cacdce);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #e1e4e6), color-stop(1, #cacdce));
|
|
||||||
padding: 11px;
|
padding: 11px;
|
||||||
border-top: 1px solid #fff;
|
|
||||||
border-left: 1px solid #ddd;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
}
|
||||||
.chatBox .formwrap {
|
.chatBox .formwrap {
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
@ -598,23 +593,20 @@ td {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #e4e4e4;
|
||||||
border-top-color: #bbb;
|
-moz-border-radius: 3px;
|
||||||
-moz-border-radius: 5px;
|
-webkit-border-radius: 3px;
|
||||||
-webkit-border-radius: 5px;
|
-khtml-border-radius: 3px;
|
||||||
-khtml-border-radius: 5px;
|
-o-border-radius: 3px;
|
||||||
-o-border-radius: 5px;
|
-border-radius: 3px;
|
||||||
-border-radius: 5px;
|
border-radius: 3px;
|
||||||
border-radius: 5px;
|
|
||||||
-moz-box-shadow: inset rgba(0,0,0,0.1) 0 -1px 3px;
|
|
||||||
-webkit-box-shadow: inset rgba(0,0,0,0.1) 0 -1px 3px;
|
|
||||||
box-shadow: inset rgba(0,0,0,0.1) 0 -1px 3px;
|
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
outline: none;
|
outline: none;
|
||||||
resize: none;
|
resize: none;
|
||||||
color: #222f3b;
|
color: #222f3b;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-webkit-appearance: none;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
@ -622,7 +614,6 @@ td {
|
|||||||
}
|
}
|
||||||
.chatBox textarea:focus {
|
.chatBox textarea:focus {
|
||||||
border-color: #bbb;
|
border-color: #bbb;
|
||||||
border-top-color: #aaa;
|
|
||||||
}
|
}
|
||||||
.chatBox textarea.editing {
|
.chatBox textarea.editing {
|
||||||
background-color: #ff0;
|
background-color: #ff0;
|
||||||
|
Loading…
Reference in New Issue
Block a user