styling dialog boxes

This commit is contained in:
loro2
2019-07-25 14:06:50 +02:00
parent 12f51f1171
commit 38c740067c
+112 -12
View File
@@ -102,7 +102,20 @@ input[type=button] {
} }
legend { legend {
font-weight: bold; text-align: left;
display: block;
width: 100%;
padding: 0;
margin-bottom: 10px;
font-size: 21px;
color: rgba(0, 0, 0, .87);
line-height: inherit;
}
fieldset {
border: none;
padding: 0px;
margin: 0px 0px 10px 0px;
} }
label, input, select { label, input, select {
@@ -113,6 +126,66 @@ label {
opacity: 0.7; opacity: 0.7;
} }
#keys hr {
visibility: hidden;
}
#keyadd {
margin: 15px;
color: #FFF;
background-color: #2196F3;
}
#keyremove {
margin: 15px;
color: #FFF;
background-color: #F44336;
}
#keyremove:hover {
transition: all .2s ease-in-out;
background-color: #f55a4e;
box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .2);
}
#keyadd:hover {
transition: all .2s ease-in-out;
background-color: #39a1f4;
box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .2);
}
#keyleft, #keyright {
height: auto;
line-height: normal;
box-shadow: none;
padding: 3px;
box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .2);
}
#keyfields, #keyavail {
height: auto;
background-image: none;
font-size: small;
border: 1px solid rgba(0, 0, 0, .26);
padding: 0px;
}
#keys table {
width: 100%;
}
#keys table td {
width: 42%;
}
#keys table td+td {
width: 16%;
}
#keys table td+td+td {
width: 42%;
}
#commentbtn { #commentbtn {
box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .2); box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .2);
} }
@@ -186,7 +259,7 @@ select optgroup {
transition: all .2s ease-in-out; transition: all .2s ease-in-out;
right: 4px; right: 4px;
top: 0px; top: 0px;
width: 200px; width: 190px;
margin: 0px 0px 20px 0px; margin: 0px 0px 20px 0px;
padding: 0px; padding: 0px;
background-color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);
@@ -205,8 +278,8 @@ select optgroup {
margin: auto auto 3px auto; margin: auto auto 3px auto;
padding: 2px; padding: 2px;
line-height: 1.3; line-height: 1.3;
font-size: small;
opacity: .7; opacity: .7;
text-transform: none;
} }
#bar input:hover { #bar input:hover {
@@ -240,7 +313,7 @@ select optgroup {
border-radius: 2px; border-radius: 2px;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
height: 21px; height: 22px;
opacity: .7; opacity: .7;
} }
@@ -327,6 +400,7 @@ select optgroup {
.table tbody td { .table tbody td {
padding: 3px; padding: 3px;
position: relative;
} }
.table tbody.expanded { .table tbody.expanded {
@@ -356,10 +430,6 @@ select optgroup {
border-left-color: transparent; border-left-color: transparent;
} }
.table tbody td {
position: relative;
}
.table tbody[title]:not(.expanded):not([title=""]) td:last-child:after { .table tbody[title]:not(.expanded):not([title=""]) td:last-child:after {
content: ''; content: '';
position: relative; position: relative;
@@ -438,8 +508,38 @@ select optgroup {
} }
#textarea { #textarea {
width: 650px; width: 100%;
height: 200px; height: 200px;
font-size: small;
font-family: "Lucida Console", Monaco, monospace;
}
#io hr {
visibility: hidden;
}
#io input[type=button] {
box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .2);
}
#io input[type=button]:active {
background-color: #f2f2f2;
transition: all .2s ease-out;
}
#io #clientsql {
color: #FFF;
background-color: #FF4081;
}
#io #clientsql:hover {
transition: all .2s ease-in-out;
box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .2);
background-color: #ff5a92;
}
#io {
min-width: 860px;
} }
#opts { #opts {
@@ -464,10 +564,10 @@ select optgroup {
#keys { #keys {
white-space: nowrap; white-space: nowrap;
padding: 0px 10px;
text-align: center; text-align: center;
} }
#throbber { #throbber {
position: absolute; position: absolute;
top: 2px; top: 2px;
@@ -476,8 +576,8 @@ select optgroup {
#rubberband { #rubberband {
position: absolute; position: absolute;
border: 1px solid #000; border: .2px solid #FF4081;
background: #888; background: rgba(255, 64, 129, 0.5);
opacity: 0.5; opacity: 0.5;
visibility: hidden; visibility: hidden;
} }