mirror of
https://github.com/ivabus/www
synced 2024-11-14 09:15:07 +03:00
Design of copy button on mobile
This commit is contained in:
parent
e60183973b
commit
9314568c95
2 changed files with 14 additions and 120 deletions
|
@ -22,106 +22,17 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
@media only screen and (min-width: 1200px) {
|
@media only screen and (min-width: 768px) {
|
||||||
|
|
||||||
.one-liner{
|
.one-liner{
|
||||||
width: 85%;
|
width: 85%;
|
||||||
height: 8.371vw;
|
padding: 2.455vw 4.185vw;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
border: none;
|
border: none;
|
||||||
background-color: #1a1a1a !important;
|
background-color: #1a1a1a !important;
|
||||||
font-family: "pp-neue-machina";
|
font-family: "pp-neue-machina";
|
||||||
color:#4d4d4d;
|
color:#4d4d4d;
|
||||||
font-size: 2.1vw;
|
font-size: 2vw;
|
||||||
padding-left: 4.185vw;
|
|
||||||
border-left: 2px solid #949494;
|
|
||||||
border-right: 2px solid #949494;
|
|
||||||
}
|
|
||||||
|
|
||||||
.one-liner:focus{
|
|
||||||
border:none;
|
|
||||||
outline: none;
|
|
||||||
border-left: 2px solid #949494;
|
|
||||||
border-right: 2px solid #949494;
|
|
||||||
}
|
|
||||||
|
|
||||||
.clipboard-copy{
|
|
||||||
height: 8.371vw;
|
|
||||||
width: 14%;
|
|
||||||
font-family: "pp-neue-machina";
|
|
||||||
color:#4d4d4d;
|
|
||||||
font-size: 2.1vw;
|
|
||||||
float:right;
|
|
||||||
background-color: #1a1a1a !important;
|
|
||||||
border: none;
|
|
||||||
border-right: 2px solid #949494;
|
|
||||||
transition: 0.2s linear;
|
|
||||||
}
|
|
||||||
|
|
||||||
.clipboard-copy:hover{
|
|
||||||
background-color: #00ffd0 !important;
|
|
||||||
color: #1a1a1a !important;
|
|
||||||
box-shadow: inset 0vw 0vw 0vw 0.558vw #1a1a1a !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (min-width: 992px) and (max-width: 1200px) {
|
|
||||||
|
|
||||||
.one-liner{
|
|
||||||
width: 85%;
|
|
||||||
height: 8.371vw;
|
|
||||||
border-radius: 0px;
|
|
||||||
border: none;
|
|
||||||
background-color: #1a1a1a !important;
|
|
||||||
font-family: "pp-neue-machina";
|
|
||||||
color:#4d4d4d;
|
|
||||||
font-size: 2.1vw;
|
|
||||||
padding-left: 4.185vw;
|
|
||||||
border-left: 2px solid #949494;
|
|
||||||
border-right: 2px solid #949494;
|
|
||||||
}
|
|
||||||
|
|
||||||
.one-liner:focus{
|
|
||||||
border:none;
|
|
||||||
outline: none;
|
|
||||||
border-left: 2px solid #949494;
|
|
||||||
border-right: 2px solid #949494;
|
|
||||||
}
|
|
||||||
|
|
||||||
.clipboard-copy{
|
|
||||||
height: 8.371vw;
|
|
||||||
width: 14%;
|
|
||||||
font-family: "pp-neue-machina";
|
|
||||||
color:#4d4d4d;
|
|
||||||
font-size: 2.1vw;
|
|
||||||
float:right;
|
|
||||||
background-color: #1a1a1a !important;
|
|
||||||
border: none;
|
|
||||||
border-right: 2px solid #949494;
|
|
||||||
transition: 0.2s linear;
|
|
||||||
}
|
|
||||||
|
|
||||||
.clipboard-copy:hover{
|
|
||||||
background-color: #00ffd0 !important;
|
|
||||||
color: #1a1a1a !important;
|
|
||||||
box-shadow: inset 0vw 0vw 0vw 0.558vw #1a1a1a !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (min-width: 768px) and (max-width: 992px) {
|
|
||||||
|
|
||||||
.one-liner{
|
|
||||||
width: 85%;
|
|
||||||
height: 8.371vw;
|
|
||||||
border-radius: 0px;
|
|
||||||
border: none;
|
|
||||||
background-color: #1a1a1a !important;
|
|
||||||
font-family: "pp-neue-machina";
|
|
||||||
color:#4d4d4d;
|
|
||||||
font-size: 2.1vw;
|
|
||||||
padding-left: 4.185vw;
|
|
||||||
border-left: 2px solid #949494;
|
border-left: 2px solid #949494;
|
||||||
border-right: 2px solid #949494;
|
border-right: 2px solid #949494;
|
||||||
}
|
}
|
||||||
|
@ -158,14 +69,13 @@
|
||||||
|
|
||||||
.one-liner{
|
.one-liner{
|
||||||
width: 85%;
|
width: 85%;
|
||||||
height: 8.371vw;
|
padding: 5vw 4vw;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
border: none;
|
border: none;
|
||||||
background-color: #1a1a1a !important;
|
background-color: #1a1a1a !important;
|
||||||
font-family: "pp-neue-machina";
|
font-family: "pp-neue-machina";
|
||||||
color:#4d4d4d;
|
color:#4d4d4d;
|
||||||
font-size: 2.1vw;
|
font-size: 3.5vw;
|
||||||
padding-left: 4.185vw;
|
|
||||||
border-left: 2px solid #949494;
|
border-left: 2px solid #949494;
|
||||||
border-right: 2px solid #949494;
|
border-right: 2px solid #949494;
|
||||||
}
|
}
|
||||||
|
@ -178,11 +88,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.clipboard-copy{
|
.clipboard-copy{
|
||||||
height: 8.371vw;
|
padding: 5vw 4vw;
|
||||||
width: 14%;
|
width: 14%;
|
||||||
font-family: "pp-neue-machina";
|
font-family: "pp-neue-machina";
|
||||||
color:#4d4d4d;
|
color:#4d4d4d;
|
||||||
font-size: 2.1vw;
|
font-size: 3.5vw;
|
||||||
float:right;
|
float:right;
|
||||||
background-color: #1a1a1a !important;
|
background-color: #1a1a1a !important;
|
||||||
border: none;
|
border: none;
|
||||||
|
@ -201,15 +111,15 @@
|
||||||
@media only screen and (max-width: 576px) {
|
@media only screen and (max-width: 576px) {
|
||||||
|
|
||||||
.one-liner{
|
.one-liner{
|
||||||
width: 85%;
|
width: 100%;
|
||||||
height: 8.371vw;
|
padding: 7.5vw 7.5vw !important;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
border: none;
|
border: none;
|
||||||
background-color: #1a1a1a !important;
|
background-color: #1a1a1a !important;
|
||||||
font-family: "pp-neue-machina";
|
font-family: "pp-neue-machina";
|
||||||
color:#4d4d4d;
|
color:#4d4d4d;
|
||||||
font-size: 2.1vw;
|
text-align: center !important;
|
||||||
padding-left: 4.185vw;
|
font-size: 4vw;
|
||||||
border-left: 2px solid #949494;
|
border-left: 2px solid #949494;
|
||||||
border-right: 2px solid #949494;
|
border-right: 2px solid #949494;
|
||||||
}
|
}
|
||||||
|
@ -222,22 +132,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.clipboard-copy{
|
.clipboard-copy{
|
||||||
height: 8.371vw;
|
display: none;
|
||||||
width: 14%;
|
|
||||||
font-family: "pp-neue-machina";
|
|
||||||
color:#4d4d4d;
|
|
||||||
font-size: 2.1vw;
|
|
||||||
float:right;
|
|
||||||
background-color: #1a1a1a !important;
|
|
||||||
border: none;
|
|
||||||
border-right: 2px solid #949494;
|
|
||||||
transition: 0.2s linear;
|
|
||||||
}
|
|
||||||
|
|
||||||
.clipboard-copy:hover{
|
|
||||||
background-color: #00ffd0 !important;
|
|
||||||
color: #1a1a1a !important;
|
|
||||||
box-shadow: inset 0vw 0vw 0vw 0.558vw #1a1a1a !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,14 +11,13 @@
|
||||||
|
|
||||||
.one-liner{
|
.one-liner{
|
||||||
width: 85%;
|
width: 85%;
|
||||||
height: 8.371vw;
|
padding: 2.455vw 4.185vw;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
border: none;
|
border: none;
|
||||||
background-color: #1a1a1a !important;
|
background-color: #1a1a1a !important;
|
||||||
font-family: "pp-neue-machina";
|
font-family: "pp-neue-machina";
|
||||||
color:#4d4d4d;
|
color:#4d4d4d;
|
||||||
font-size: 2.1vw;
|
font-size: 2.1vw;
|
||||||
padding-left: 4.185vw;
|
|
||||||
border-left: 2px solid #949494;
|
border-left: 2px solid #949494;
|
||||||
border-right: 2px solid #949494;
|
border-right: 2px solid #949494;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue