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

245 lines
3.9 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 {
2020-08-03 22:52:40 -07:00
color: #000;
2017-09-14 05:50:53 -07:00
background-color: #fff;
2020-03-15 05:20:18 -07:00
font-family: "Helvetica Neue", Helvetica, arial, sans-serif;
2017-09-13 03:18:12 -07:00
font-size: 13px;
2020-03-15 05:20:18 -07:00
width: 600px;
2019-11-05 03:02:26 -08:00
margin: 0;
2017-09-13 03:18:12 -07:00
}
2020-03-15 05:20:18 -07:00
@media (pointer: none), (pointer: coarse) {
body {
width: unset;
}
}
2017-09-13 03:18:12 -07:00
table {
width: 100%;
border-collapse: collapse;
}
input[type=search],
input[type=text] {
2019-11-05 03:02:26 -08:00
box-sizing: border-box;
2017-09-13 03:18:12 -07:00
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
}
2019-11-05 03:02:26 -08:00
input[type=text] {
width: 100%;
}
input[type=text]:read-only {
2020-08-03 22:52:40 -07:00
color: #636363;
2019-11-05 03:02:26 -08:00
background-color: transparent;
}
2017-09-13 03:18:12 -07:00
input {
outline: none;
background-color: #fff;
2019-11-05 03:02:26 -08:00
color: #000;
2020-08-03 22:52:40 -07:00
border: none;
2017-09-13 03:18:12 -07:00
box-sizing: border-box;
2020-08-03 22:52:40 -07:00
height: 28px;
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;
2019-11-05 03:02:26 -08:00
border: none;
2019-05-15 22:18:58 -07:00
transition-delay: 0;
2019-11-05 03:02:26 -08:00
height: 32px;
2017-09-13 03:18:12 -07:00
}
2019-05-15 22:18:58 -07:00
input[type=button].active {
2017-09-13 03:18:12 -07:00
opacity: 0.5;
}
2019-05-15 22:18:58 -07:00
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;
user-select: none;
outline: none;
2018-05-15 00:54:51 -07:00
color: #000;
2019-11-05 03:02:26 -08:00
background: #fff url(list.svg) no-repeat center right 4px;
2018-04-10 00:50:58 -07:00
background-size: 8px;
font-size: 13px;
border-radius: 0;
2020-08-03 22:52:40 -07:00
padding: 6px 16px 6px 4px;
border: none;
2018-04-10 00:50:58 -07:00
}
2017-09-13 03:18:12 -07:00
#list {
overflow: auto;
2020-08-03 21:47:39 -07:00
height: 240px;
2018-08-15 05:01:50 -07:00
color: #000;
2019-11-05 22:19:42 -08:00
background-position: top 120px center;
2018-04-10 00:50:58 -07:00
background-repeat: no-repeat;
2019-11-05 03:02:26 -08:00
font-size: 11px;
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 {
2019-11-05 03:02:26 -08:00
height: 32px;
2018-08-15 05:01:50 -07:00
color: #000;
2019-11-05 03:02:26 -08:00
background-color: #f5f5f5;
white-space: nowrap;
padding-left: 10px;
2018-04-10 00:50:58 -07:00
}
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) {
2018-08-15 05:01:50 -07:00
color: #000;
2017-09-14 05:50:53 -07:00
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) {
2018-08-15 05:01:50 -07:00
color: #000;
2018-04-10 00:50:58 -07:00
background-color: #f5f5f5;
}
2018-08-15 05:01:50 -07:00
#list[data-loading=false] tbody:empty::before {
2020-03-15 05:20:18 -07:00
content: 'No matching user-agent string for this query';
2018-04-10 00:50:58 -07:00
position: absolute;
2020-03-15 05:20:18 -07:00
left: 0;
top: 0;
width: 100%;
height: 268px;
display: flex;
align-items: center;
justify-content: center;
font-size: initial;
pointer-events: none;
2018-04-10 00:50:58 -07:00
}
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;
}
2019-11-05 03:02:26 -08:00
#filter {
background-color: #f5f5f5;
}
#filter th {
height: 32px;
}
#filter th:first-of-type {
text-align: left;
padding-left: 10px;
2017-09-13 03:18:12 -07:00
}
#filter th:last-of-type {
text-align: right;
padding-right: 10px;
}
2017-09-13 03:18:12 -07:00
#agent {
white-space: nowrap;
2020-03-15 05:20:18 -07:00
display: grid;
2020-08-03 21:47:39 -07:00
grid-template-columns: repeat(4, 1fr);
2020-03-15 05:20:18 -07:00
grid-gap: 1px;
2019-11-05 03:02:26 -08:00
}
#info {
padding: 0 5px;
}
#info:empty {
display: none;
}
2018-04-10 00:50:58 -07:00
2019-05-15 22:18:58 -07:00
[data-cmd="test"] {
background-color: #4d72b7;
color: #fff;
}
[data-cmd="container"],
2018-08-16 03:14:11 -07:00
[data-cmd="window"],
2018-04-10 00:50:58 -07:00
[data-cmd="apply"] {
color: #fff;
background-color: #3c923c;
}
[data-cmd="reset"] {
color: #fff;
2019-11-05 03:02:26 -08:00
background-color: #e6850b;
2018-04-10 00:50:58 -07:00
}
2018-08-16 03:14:11 -07:00
[data-cmd="reload"],
2018-05-15 00:54:51 -07:00
[data-cmd="options"],
2018-04-10 00:50:58 -07:00
[data-cmd="refresh"] {
2018-08-15 05:01:50 -07:00
color: #000;
2018-04-10 00:50:58 -07:00
background-color: #f5f5f5;
}
#explore:not([data-loaded="true"]) {
2020-08-03 22:52:40 -07:00
height: 18px;
2018-04-10 00:50:58 -07:00
}
body[data-android="true"] [data-cmd="reload"],
body[data-android="true"] [data-cmd="window"] {
display: none;
}
2019-11-05 03:02:26 -08:00
#view {
background-color: #f5f5f5;
2019-11-05 22:19:42 -08:00
padding: 5px 0;
2019-11-05 03:02:26 -08:00
}
#view td {
text-align: right;
white-space: nowrap;
}
#view td:nth-child(1),
#view td:nth-child(3) {
padding: 0 5px;
}
#toast {
position: fixed;
2020-08-03 22:52:40 -07:00
bottom: 95px;
2019-11-05 03:02:26 -08:00
right: 10px;
background-color: #e68509;
color: #fff;
padding: 2px 5px;
box-shadow: 0 0 2px #ca7403;
}
#toast:empty {
display: none;
}