talkdesk-useragent-switcher/data/popup/index.css

172 lines
2.7 KiB
CSS
Raw Normal View History

2017-09-13 03:18:12 -07:00
[hbox] {
display: flex;
flex-direction: row;
}
[vbox] {
display: flex;
flex-direction: column;
}
[flex="1"] {
flex: 1;
}
[pack=center] {
justify-content: center;
}
[align=center] {
align-items: center;
}
[pack=end] {
justify-content: flex-end;
}
[align=end] {
align-items: flex-end;
}
body {
2017-09-14 05:50:53 -07:00
background-color: #fff;
2017-09-13 03:18:12 -07:00
font-family: "Helvetica Neue",Helvetica,sans-serif;
font-size: 13px;
2018-04-10 00:50:58 -07:00
width: 600px;
2017-09-13 03:18:12 -07:00
}
table {
width: 100%;
border-collapse: collapse;
}
fieldset {
border: solid 1px #ccc;
}
input[type=search],
input[type=text] {
width: 100%;
margin-right: 2px;
text-indent: 5px;
2017-09-14 05:50:53 -07:00
padding-right: 5px;
2017-09-13 03:18:12 -07:00
}
input {
outline: none;
background-color: #fff;
color: #000;
2018-04-10 00:50:58 -07:00
border: solid 1px #e7e7e7;
2017-09-13 03:18:12 -07:00
box-sizing: border-box;
height: 24px;
border-radius: 0;
2018-04-10 00:50:58 -07:00
font-size: 11px;
2017-09-13 03:18:12 -07:00
}
input[type=button] {
cursor: pointer;
min-width: 100px;
}
input[type=button]:active {
opacity: 0.5;
}
2017-09-14 05:50:53 -07:00
input[type=button]:disabled {
opacity: 0.2;
cursor: default;
}
2018-04-10 00:50:58 -07:00
select {
-webkit-appearance: none;
-moz-appearance: none;
border: none;
user-select: none;
outline: none;
background: rgba(255,255,255,.5) url(list.svg) no-repeat center right 4px;
background-size: 8px;
font-size: 13px;
border-radius: 0;
padding: 2px 16px 2px 4px;
}
2017-09-13 03:18:12 -07:00
#list {
overflow: auto;
height: 300px;
2018-04-10 00:50:58 -07:00
margin-bottom: 10px;
background-color: #fdfafa;
background-position: top 120px center;
background-repeat: no-repeat;
2017-09-13 03:18:12 -07:00
}
#list[data-loading=true] {
2018-04-10 00:50:58 -07:00
background-image: url(loading.gif);
2017-09-13 03:18:12 -07:00
background-size: 64px;
}
2017-09-14 05:50:53 -07:00
#list table {
table-layout: fixed;
}
2018-04-10 00:50:58 -07:00
#list th {
height: 30px;
background-color: #e7e7e7;
}
2017-09-13 03:18:12 -07:00
#list tr {
cursor: pointer;
}
#list tr[data-matched=false] {
opacity: 0.5;
}
2018-04-10 00:50:58 -07:00
#list tbody {
position: relative;
}
2017-09-14 05:50:53 -07:00
#list tbody tr:nth-child(odd) {
background-color: #fff;
2017-09-13 03:18:12 -07:00
}
2018-04-10 00:50:58 -07:00
#list tbody tr:nth-child(even) {
background-color: #f5f5f5;
}
#list[data-loading=false] tbody:empty:before {
content: 'no user-agent string for this query!';
display: block;
position: absolute;
top: 50px;
left: 10px;
}
2017-09-13 03:18:12 -07:00
#list td:nth-child(1) {
text-align: center;
}
2017-09-14 05:50:53 -07:00
#list td {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 3px 5px;
2017-09-13 03:18:12 -07:00
}
#tools input {
width: 100px;
margin: 3px 0 0 5px;
}
#filter td:first-child {
width: 100px;
}
#agent {
padding: 10px 0;
white-space: nowrap;
}
#info {
padding: 0 5px;
}
#info:empty {
display: none;
}
2018-04-10 00:50:58 -07:00
[data-cmd="apply"] {
color: #fff;
background-color: #3c923c;
border: solid 1px #327932;
margin-right: 2px;
margin-left: 2px;
}
[data-cmd="reset"] {
color: #fff;
background-color: #eea345;
border: solid 1px #ec9730;
}
[data-cmd="refresh"] {
background-color: #f5f5f5;
}
#explore:not([data-loaded="true"]) {
margin-top: -8px;
height: 16px;
}