mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-02-07 13:58:40 +00:00
Attempted to implemented unit switching
Closer but still not there, yet.
This commit is contained in:
parent
8a50cb4919
commit
9bee9f6192
28
input.scss
28
input.scss
|
|
@ -134,23 +134,27 @@ input[type="text"]:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown {
|
.dropdown {
|
||||||
label:hover ~ label {
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
|
||||||
|
&:hover .content{
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
input:checked + label {
|
.content {
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
|
||||||
display: none;
|
display: none;
|
||||||
margin: 5px;
|
position: absolute;
|
||||||
width: 100%;
|
z-index: 2;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
|
||||||
|
|
||||||
label {
|
input {
|
||||||
display: none;
|
display: none;
|
||||||
position: relative;
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
display: block;
|
||||||
|
margin: 5px;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
32
styles.css
32
styles.css
|
|
@ -96,7 +96,20 @@ pre {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
border: 1px solid #b7b7b7;
|
border: 1px solid #b7b7b7;
|
||||||
padding: 5px; }
|
padding: 5px;
|
||||||
|
overflow-x: scroll;
|
||||||
|
counter-reset: line; }
|
||||||
|
pre span {
|
||||||
|
display: block; }
|
||||||
|
pre span:before {
|
||||||
|
counter-increment: line;
|
||||||
|
content: counter(line);
|
||||||
|
display: inline-block;
|
||||||
|
border-right: 1px solid #ddd;
|
||||||
|
padding: 0 .5em;
|
||||||
|
margin-right: .5em;
|
||||||
|
color: #888;
|
||||||
|
width: 30px; }
|
||||||
|
|
||||||
article {
|
article {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
@ -3286,6 +3299,23 @@ input[type="range"] {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
flex-shrink: 1; }
|
flex-shrink: 1; }
|
||||||
|
|
||||||
|
.dropdown {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block; }
|
||||||
|
.dropdown:hover .content {
|
||||||
|
display: block; }
|
||||||
|
.dropdown .content {
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
z-index: 2;
|
||||||
|
background: #fff; }
|
||||||
|
.dropdown .content input {
|
||||||
|
display: none; }
|
||||||
|
.dropdown .content label {
|
||||||
|
display: block;
|
||||||
|
margin: 5px;
|
||||||
|
padding: 5px; }
|
||||||
|
|
||||||
.ok {
|
.ok {
|
||||||
color: #5cff56; }
|
color: #5cff56; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user