mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-01-11 11:18:39 +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 {
|
||||
label:hover ~ label {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
|
||||
&:hover .content{
|
||||
display: block;
|
||||
}
|
||||
|
||||
input:checked + label {
|
||||
display: block;
|
||||
}
|
||||
|
||||
input {
|
||||
.content {
|
||||
display: none;
|
||||
margin: 5px;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
label {
|
||||
display: none;
|
||||
position: relative;
|
||||
input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
margin: 5px;
|
||||
padding: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
32
styles.css
32
styles.css
|
|
@ -96,7 +96,20 @@ pre {
|
|||
border-radius: 3px;
|
||||
background-clip: padding-box;
|
||||
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 {
|
||||
background: #fff;
|
||||
|
|
@ -3286,6 +3299,23 @@ input[type="range"] {
|
|||
flex-grow: 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 {
|
||||
color: #5cff56; }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user