mirror of
https://github.com/esiur/iui.git
synced 2025-05-06 06:42:58 +00:00
Merge branch 'main' of https://github.com/esiur/iui
This commit is contained in:
commit
cb4d16adac
236
css/iui.css
236
css/iui.css
@ -218,8 +218,7 @@ html[dir="rtl"] .textbox-with-label > span {
|
||||
}
|
||||
|
||||
.textbox-with-label > input,
|
||||
.textbox-with-label > i-input > input
|
||||
{
|
||||
.textbox-with-label > i-input > input {
|
||||
padding: 5px;
|
||||
border: 0;
|
||||
background: var(--textbox-background);
|
||||
@ -227,36 +226,31 @@ html[dir="rtl"] .textbox-with-label > span {
|
||||
}
|
||||
|
||||
.textbox-with-label > input:focus,
|
||||
.textbox-with-label > i-input:focus
|
||||
{
|
||||
.textbox-with-label > i-input:focus {
|
||||
outline: none;
|
||||
background: var(--textbox-background-active);
|
||||
}
|
||||
|
||||
.textbox-with-label > input:focus + span,
|
||||
.textbox-with-label > input:not(:placeholder-shown) + span
|
||||
{
|
||||
.textbox-with-label > input:not(:placeholder-shown) + span {
|
||||
opacity: 1;
|
||||
transform: scale(0.75) translateY(-40%) translateX(-20px);
|
||||
}
|
||||
|
||||
html[dir="rtl"] .textbox-with-label > input:focus + span,
|
||||
html[dir="rtl"] .textbox-with-label > input:not(:placeholder-shown) + span
|
||||
{
|
||||
html[dir="rtl"] .textbox-with-label > input:not(:placeholder-shown) + span {
|
||||
opacity: 1;
|
||||
transform: scale(0.75) translateY(-40%) translateX(20%);
|
||||
}
|
||||
|
||||
.input > input:focus + span,
|
||||
.input > input:not(:placeholder-shown) + span
|
||||
{
|
||||
.input > input:not(:placeholder-shown) + span {
|
||||
opacity: 1;
|
||||
transform: scale(0.75) translateY(-40%) translateX(-20px);
|
||||
}
|
||||
|
||||
html[dir="rtl"] .input > input:focus + span,
|
||||
html[dir="rtl"] .input > input:not(:placeholder-shown) + span
|
||||
{
|
||||
html[dir="rtl"] .input > input:not(:placeholder-shown) + span {
|
||||
opacity: 1;
|
||||
transform: scale(0.75) translateY(-40%) translateX(20%);
|
||||
}
|
||||
@ -555,8 +549,7 @@ html[dir='rtl'] .window-tools, html[dir='rtl'] .dialog-tools {
|
||||
color: var(--window-caption-color);
|
||||
}
|
||||
|
||||
.window-subtitle, .dialog-subtitle
|
||||
{
|
||||
.window-subtitle, .dialog-subtitle {
|
||||
border: 1px solid #c2c2c2;
|
||||
font-size: 12px;
|
||||
height: 40%;
|
||||
@ -567,8 +560,7 @@ html[dir='rtl'] .window-tools, html[dir='rtl'] .dialog-tools {
|
||||
background: wheat;
|
||||
}
|
||||
|
||||
.window-subtitle:empty, .dialog-subtitle:empty
|
||||
{
|
||||
.window-subtitle:empty, .dialog-subtitle:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@ -1561,8 +1553,7 @@ html[dir="rtl"] .tabs-content-active {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.select-textbox
|
||||
{
|
||||
.select-textbox {
|
||||
border: 0;
|
||||
background: #f7f7f7;
|
||||
padding: 2px 4px;
|
||||
@ -1649,12 +1640,11 @@ html[dir='rtl'] .select-label, html[dir='rtl'] .select-autocomplete-textbox, htm
|
||||
align-self: stretch;
|
||||
margin: 0;
|
||||
transition: var(--selectlist-transition);
|
||||
min-height: 1.6em;
|
||||
min-height: 1.2em;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
.select-footer
|
||||
{
|
||||
.select-footer {
|
||||
text-align: center;
|
||||
padding: 0px 10px;
|
||||
background-color: #f1f1f1;
|
||||
@ -1665,8 +1655,7 @@ html[dir='rtl'] .select-label, html[dir='rtl'] .select-autocomplete-textbox, htm
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
.select-menu-repeat
|
||||
{
|
||||
.select-menu-repeat {
|
||||
background: var(--menu-background);
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
@ -1795,13 +1784,9 @@ html[dir='rtl'] .select-label, html[dir='rtl'] .select-autocomplete-textbox, htm
|
||||
opacity: 0;
|
||||
transition: opacity .3s, visibility .15s;
|
||||
user-select: none;
|
||||
|
||||
border-radius: 10px;
|
||||
|
||||
border-color: var(--textbox-border-color-focus);
|
||||
box-shadow: var(--textbox-box-shadow-focus);
|
||||
|
||||
|
||||
}
|
||||
|
||||
.dropdown-down > .dropdown-menu {
|
||||
@ -1900,14 +1885,12 @@ _:-moz-tree-row(hover), html[dir='rtl'] .autocomplete-menu, html[dir='rtl'] .sel
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.select-menu-repeat > div
|
||||
{
|
||||
.select-menu-repeat > div {
|
||||
padding: 0 3px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.select-menu-repeat > div:hover
|
||||
{
|
||||
.select-menu-repeat > div:hover {
|
||||
background: var(--menu-item-hover-background);
|
||||
box-shadow: var(--menu-item-hover-box-shadow);
|
||||
color: var(--menu-item-hover-color);
|
||||
@ -1920,8 +1903,7 @@ _:-moz-tree-row(hover), html[dir='rtl'] .autocomplete-menu, html[dir='rtl'] .sel
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.input > input
|
||||
{
|
||||
.input > input {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@ -1937,8 +1919,7 @@ _:-moz-tree-row(hover), html[dir='rtl'] .autocomplete-menu, html[dir='rtl'] .sel
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.input > input
|
||||
{
|
||||
.input > input {
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
@ -2599,8 +2580,7 @@ html[dir='rtl'] .multiselect-list-remove {
|
||||
|
||||
|
||||
|
||||
.router, i-router
|
||||
{
|
||||
.router, i-router {
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
@ -2664,8 +2644,7 @@ html[dir='rtl'] .multiselect-list-remove {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.link
|
||||
{
|
||||
.link {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
@ -2686,34 +2665,30 @@ html[dir='rtl'] .multiselect-list-remove {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.button:after
|
||||
{
|
||||
.button:after {
|
||||
background-color: #b2d7f3a8;
|
||||
}
|
||||
|
||||
.link:after
|
||||
{
|
||||
.link:after {
|
||||
background-color: #d2d2d2cc;
|
||||
}
|
||||
|
||||
|
||||
.button-clicked:after, .ripple-clicked:after, .link-clicked:after
|
||||
{
|
||||
.button-clicked:after, .ripple-clicked:after, .link-clicked:after {
|
||||
transition: width .5s ease-out, height .5s ease-out, opacity .5s ease-out;
|
||||
opacity: 0;
|
||||
width: calc(var(--w) * 2);;
|
||||
width: calc(var(--w) * 2);
|
||||
;
|
||||
height: calc(var(--w) * 2);
|
||||
}
|
||||
|
||||
.button-clicked:active:after, .ripple-clicked:active:after, .link-clicked:active:after
|
||||
{
|
||||
.button-clicked:active:after, .ripple-clicked:active:after, .link-clicked:active:after {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.router::after, .target::after
|
||||
{
|
||||
.router::after, .target::after {
|
||||
opacity: 0;
|
||||
transition: all 1s;
|
||||
content: ' ';
|
||||
@ -2723,11 +2698,9 @@ html[dir='rtl'] .multiselect-list-remove {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
visibility: hidden;
|
||||
|
||||
}
|
||||
|
||||
.router-loading::after, .target-loading::after
|
||||
{
|
||||
.router-loading::after, .target-loading::after {
|
||||
transition: all 1s 1s;
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
@ -2736,8 +2709,7 @@ html[dir='rtl'] .multiselect-list-remove {
|
||||
}
|
||||
|
||||
|
||||
.input-eye
|
||||
{
|
||||
.input-eye {
|
||||
width: 40px;
|
||||
background-color: #e4e4e4;
|
||||
position: absolute;
|
||||
@ -2753,22 +2725,19 @@ html[dir='rtl'] .multiselect-list-remove {
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
html[dir='rtl'] .input-eye
|
||||
{
|
||||
html[dir='rtl'] .input-eye {
|
||||
left: 0px;
|
||||
right: initial;
|
||||
}
|
||||
|
||||
.input-eye:hover
|
||||
{
|
||||
.input-eye:hover {
|
||||
background-image: var(--eye-active);
|
||||
}
|
||||
|
||||
.input-eye-active
|
||||
{
|
||||
background-image: var(--eye-light) !important;;
|
||||
.input-eye-active {
|
||||
background-image: var(--eye-light) !important;
|
||||
;
|
||||
background-color: #4ea3df;
|
||||
|
||||
}
|
||||
|
||||
.navbar {
|
||||
@ -2777,8 +2746,7 @@ html[dir='rtl'] .input-eye
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.navbar-search, .sitebar-search
|
||||
{
|
||||
.navbar-search, .sitebar-search {
|
||||
margin: 6px;
|
||||
background-image: var(--search);
|
||||
background-repeat: no-repeat;
|
||||
@ -2787,38 +2755,60 @@ html[dir='rtl'] .input-eye
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
.navbar-item[selected] {
|
||||
background: #dcf4ff;
|
||||
border-right: 9px solid #afafaf;
|
||||
}
|
||||
|
||||
.navbar-item > .navbar-menu
|
||||
{
|
||||
html[dir='rtl'] .navbar-item[selected] {
|
||||
border-right: 0;
|
||||
border-left: 9px solid #afafaf;
|
||||
}
|
||||
|
||||
.navbar-item > .navbar-menu {
|
||||
transition: max-height ease-in-out 0.5s;
|
||||
overflow: hidden;
|
||||
max-height: 800px;
|
||||
}
|
||||
|
||||
.navbar-item[collapsed] > .navbar-menu
|
||||
{
|
||||
.navbar-item[collapsed] > .navbar-menu {
|
||||
max-height: 0;
|
||||
transition: max-height ease-in-out 0.3s;
|
||||
}
|
||||
|
||||
.navbar-item[level='1'] {
|
||||
.navbar-item[level='1'] > .link {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
html[dir='rtl'] .navbar-item[level='1'] {
|
||||
html[dir='rtl'] .navbar-item[level='1'] > .link {
|
||||
padding-right: 10px;
|
||||
padding-left: unset;
|
||||
}
|
||||
|
||||
.navbar-item[level='2'] > .link {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.navbar-container
|
||||
{
|
||||
html[dir='rtl'] .navbar-item[level='2'] > .link {
|
||||
padding-right: 15px;
|
||||
padding-left: unset;
|
||||
}
|
||||
|
||||
.navbar-item[level='3'] > .link {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
html[dir='rtl'] .navbar-item[level='3'] > .link {
|
||||
padding-right: 20px;
|
||||
padding-left: unset;
|
||||
}
|
||||
|
||||
.navbar-container {
|
||||
overflow: auto;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.navbar-item > i-link
|
||||
{
|
||||
.navbar-item > i-link {
|
||||
display: flex;
|
||||
padding: 3px 10px;
|
||||
}
|
||||
@ -2828,8 +2818,7 @@ html[dir='rtl'] .navbar-item[level='1'] {
|
||||
}
|
||||
|
||||
.navbar i-link > span > span,
|
||||
.sitebar i-link > span > span
|
||||
{
|
||||
.sitebar i-link > span > span {
|
||||
color: black;
|
||||
background-color: #fff3d4;
|
||||
font-weight: bold;
|
||||
@ -2895,16 +2884,14 @@ html[dir='rtl'] .navbar-item[level='1'] {
|
||||
}
|
||||
|
||||
.navbar-item[selected] > i-link, .navbar-item[selected] > i-link:hover,
|
||||
.sitebar-item[selected] > i-link, .sitebar-item[selected] > i-link:hover
|
||||
{
|
||||
.sitebar-item[selected] > i-link, .sitebar-item[selected] > i-link:hover {
|
||||
font-weight: bold;
|
||||
background: #4ebeec;
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
||||
.navbar-container i-check
|
||||
{
|
||||
.navbar-container i-check {
|
||||
width: 26px;
|
||||
background-image: var(--arrow-left);
|
||||
background-position: 0px 48%;
|
||||
@ -2924,8 +2911,7 @@ html[dir='rtl'] .navbar-item[level='1'] {
|
||||
border-bottom-left-radius: 10px; */
|
||||
|
||||
|
||||
.sitebar-container i-check
|
||||
{
|
||||
.sitebar-container i-check {
|
||||
width: 34px;
|
||||
background-image: var(--arrow-left);
|
||||
background-position: 0px 48%;
|
||||
@ -2933,8 +2919,7 @@ html[dir='rtl'] .navbar-item[level='1'] {
|
||||
}
|
||||
|
||||
.navbar-container i-check[checked='checked'],
|
||||
.sitebar-container i-check[checked='checked']
|
||||
{
|
||||
.sitebar-container i-check[checked='checked'] {
|
||||
background-image: var(--arrow-down-active);
|
||||
}
|
||||
|
||||
@ -2947,25 +2932,20 @@ html[dir='rtl'] .navbar-item[level='1'] {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.sitebar-item
|
||||
{
|
||||
.sitebar-item {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sitebar-item > i-link
|
||||
{
|
||||
.sitebar-item > i-link {
|
||||
display: flex;
|
||||
background: #e9e9e9;
|
||||
|
||||
}
|
||||
|
||||
.sitebar-item > i-link:hover
|
||||
{
|
||||
.sitebar-item > i-link:hover {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.sitebar-menu
|
||||
{
|
||||
.sitebar-menu {
|
||||
position: absolute;
|
||||
width: auto;
|
||||
white-space: nowrap;
|
||||
@ -2982,13 +2962,11 @@ html[dir='rtl'] .navbar-item[level='1'] {
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.sitebar-container > *
|
||||
{
|
||||
.sitebar-container > * {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.sitebar-item > i-link
|
||||
{
|
||||
.sitebar-item > i-link {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
@ -3003,40 +2981,32 @@ html[dir='rtl'] .navbar-item[level='1'] {
|
||||
} */
|
||||
|
||||
|
||||
.sitebar-item[level='0'] > .sitebar-menu
|
||||
{
|
||||
.sitebar-item[level='0'] > .sitebar-menu {
|
||||
transition: transform ease-in-out 0.2s;
|
||||
transform: scaleY(1);
|
||||
transform-origin: top;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.sitebar-item[level='0'][collapsed] > .sitebar-menu
|
||||
{
|
||||
.sitebar-item[level='0'][collapsed] > .sitebar-menu {
|
||||
transition: transform ease-in-out 0.2s;
|
||||
transform: scaleY(0);
|
||||
transform-origin: top;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.sitebar-item[level='1'] > .sitebar-menu
|
||||
{
|
||||
.sitebar-item[level='1'] > .sitebar-menu {
|
||||
max-width: 800px;
|
||||
left: -100%;
|
||||
top: 0;
|
||||
box-shadow: -1px 1px 1px 0px #c8c8c8;
|
||||
border-bottom-right-radius: 0;
|
||||
|
||||
transition: transform ease-in-out 0.2s;
|
||||
transform: scaleX(1);
|
||||
transform-origin: right;
|
||||
|
||||
}
|
||||
|
||||
.sitebar-item[level='1'][collapsed] > .sitebar-menu
|
||||
{
|
||||
.sitebar-item[level='1'][collapsed] > .sitebar-menu {
|
||||
transition: transform ease-in-out 0.2s;
|
||||
transform: scaleX(0);
|
||||
transform-origin: right;
|
||||
@ -3044,25 +3014,44 @@ html[dir='rtl'] .navbar-item[level='1'] {
|
||||
|
||||
|
||||
|
||||
.location
|
||||
{
|
||||
/*.location {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.location > i-link
|
||||
{
|
||||
.location > i-link {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.location > span::after
|
||||
{
|
||||
.location > span::after {
|
||||
content: '/';
|
||||
}
|
||||
*/
|
||||
.location {
|
||||
/*flex-grow: 1;*/
|
||||
text-align: left;
|
||||
padding: 19px 8px;
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
.codepreview
|
||||
{
|
||||
.location > span {
|
||||
background-color: #5de198;
|
||||
padding: 0px 10px;
|
||||
border-radius: 10px;
|
||||
margin: 0px 2px;
|
||||
font-size: 14px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
.location > span:nth-child(1) {
|
||||
/*background-color: #eabf33;*/
|
||||
background-color: #f2d473;
|
||||
}
|
||||
|
||||
.codepreview {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
border: 1px solid #c2c2c2;
|
||||
@ -3072,16 +3061,13 @@ html[dir='rtl'] .navbar-item[level='1'] {
|
||||
border-left: 4px solid #4ebeec;
|
||||
}
|
||||
|
||||
.codepreview-content
|
||||
{
|
||||
.codepreview-content {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.codepreview-editor
|
||||
{
|
||||
.codepreview-editor {
|
||||
background: #e8e8e8;
|
||||
padding: 10px;
|
||||
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
flex: 2;
|
||||
@ -3095,9 +3081,7 @@ html[dir='rtl'] .navbar-item[level='1'] {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.codepreview-bar
|
||||
{
|
||||
|
||||
.codepreview-bar {
|
||||
}
|
||||
|
||||
.iui-error {
|
||||
|
Loading…
x
Reference in New Issue
Block a user