diff --git a/src/apps/callcenter/style/app.scss b/src/apps/callcenter/style/app.scss index 0442bc5..8929650 100644 --- a/src/apps/callcenter/style/app.scss +++ b/src/apps/callcenter/style/app.scss @@ -206,46 +206,78 @@ } } - #callwaiting-list { - position:relative; + .call-waiting-list { float: left; + width: 220px; + padding: 0 0 0 30px; + background-color: #fff; + /*-webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; + -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065); + -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);*/ + + ul { + list-style: none; + margin: 0; + padding: 0; + } + + li > a { + display: block; + margin: 0 0 -1px; + padding: 8px 14px; + border: 1px solid #e5e5e5; + color: #414141; + } - .add_flow { - line-height: 60px; - cursor: default; - color: #22A5FF; - font-size: 14px; - font-weight: bold; + li:first-child > a { + border-top-left-radius: 6px; + border-top-right-radius: 6px; } - .list-panel-anchor ul li { - cursor: default; + li:last-child > a { + border-bottom-left-radius: 6px; + border-bottom-right-radius: 6px; } - .list-panel-anchor ul li a { - padding-left: 5px; - width: 110px; - float: left; - overflow: hidden; - white-space: nowrap; + .active > a { + position: relative; + z-index: 2; + padding: 9px 15px; + border: 0; + text-shadow: 0 1px 0 rgba(0,0,0,.15); + -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1); + -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1); + box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1); } - .list-panel-anchor ul li:hover, - .list-panel-anchor ul li.selected { - background: #333; + .icon-right { + float: right; + margin-top: 2px; + margin-right: -6px; + opacity: .25; } - .list-panel-anchor ul li .timer { - float: left; - width: 45px; - height: 27px; - line-height: 27px; - color: #22A5FF; + .call-waiting-item { + .cw-item-name { + display: inline-block; + width: 140px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + vertical-align: top; + } + + .cw-item-timer { + display: inline-block; + vertical-align: top; + } } } .dashboard-bottom-right { - padding: 10px 10px 10px 220px; + padding: 10px 10px 10px 229px; #agents-view { padding-left: 22px; @@ -471,10 +503,6 @@ } } -.timer { - float: right; -} - .list-panel-anchor ul li{ height:27px; width: 210px; diff --git a/src/apps/callcenter/views/calls_dashboard.html b/src/apps/callcenter/views/calls_dashboard.html index 39df3e8..268eabd 100644 --- a/src/apps/callcenter/views/calls_dashboard.html +++ b/src/apps/callcenter/views/calls_dashboard.html @@ -1,14 +1,19 @@ -