Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
Recent Tutorials
Top posting users this month
Top Achievers
Who is online?
In total there are 22 users online :: 0 Registered, 0 Hidden and 22 Guests
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
How to install the color on all pages
Page 1 of 1 • Share
- whiteNew Member
- Gender :
Posts : 6
Points : 2925
Reputation : 0
Language : English
Browser : Forum Version :
How to install the color on all pages
The problem with the updated page is not installed color
To see this code
The problem with the updated page is not installed color
To see this code
- Code:
<style>
@import url("https://fonts.googleapis.com/css?family=Raleway:400,700");
.menu-container {
z-index: 100;
position: fixed;
top: 50%;
left: 0;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
height: 60px;
width: 60px;
-webkit-transition: 0.33s ease, height 0.33s 0.33s ease;
transition: 0.33s ease, height 0.33s 0.33s ease;
}
.menu-thing {
position: absolute;
height: 60px;
width: 60px;
left: -120%;
box-shadow: 2px 5px 8px -1px rgba(0,0,0,0.4);
color: #fff;
text-align: center;
line-height: 60px;
cursor: pointer;
}
.menu-thing.one {
top: 60px;
background-color: #3eb890;
}
.menu-thing.two {
top: 120px;
background-color: #70cadb;
}
.menu-thing.three {
top: 180px;
background-color: #e8a723;
}
.menu-thing.four {
top: 240px;
background-color: #e01765;
}
.menu-thing:hover {
width: 75px;
}
.menu-label {
position: absolute;
height: 60px;
width: 60px;
top: 0;
left: 0;
background-color: #443642;
box-shadow: 2px 5px 8px -1px rgba(0,0,0,0.4);
}
.menu-label:before {
content: "Background";
position: absolute;
top: 50%;
left: 175%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
padding: 6px;
letter-spacing: 2px;
background-color: rgba(0,0,0,0.65);
color: #f2f2f2;
-webkit-transition: 0.25s ease;
transition: 0.25s ease;
opacity: 0;
pointer-events: none;
}
.menu-label:after {
content: "";
position: absolute;
top: 50%;
left: 130%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
border: 14px solid transparent;
border-right: 14px solid rgba(0,0,0,0.65);
-webkit-transition: 0.25s ease;
transition: 0.25s ease;
opacity: 0;
pointer-events: none;
}
.menu-label:hover:before {
opacity: 1;
left: 125.5%;
}
.menu-label:hover:after {
opacity: 1;
left: 80%;
}
.white-line {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
height: 2px;
width: 70%;
background-color: #fff;
}
.white-line:before,
.white-line:after {
content: "";
position: absolute;
height: 100%;
width: 60%;
background-color: #fff;
-webkit-transition: 0.2s ease;
transition: 0.2s ease;
}
.white-line:before {
top: -7px;
}
.white-line:after {
top: 8px;
}
#menuCheckbox {
display: none;
}
#menuCheckbox:checked~ .menu-container {
height: 300px;
-webkit-transition: 0.33s ease;
transition: 0.33s ease;
}
#menuCheckbox:checked~ .menu-container .menu-thing {
left: 0;
}
#menuCheckbox:checked~ .menu-container .menu-thing.one {
-webkit-transition: 0.33s ease, left 0.33s 0.33s ease;
transition: 0.33s ease, left 0.33s 0.33s ease;
}
#menuCheckbox:checked~ .menu-container .menu-thing.two {
-webkit-transition: 0.33s ease, left 0.33s 0.43s ease;
transition: 0.33s ease, left 0.33s 0.43s ease;
}
#menuCheckbox:checked~ .menu-container .menu-thing.three {
-webkit-transition: 0.33s ease, left 0.33s 0.53s ease;
transition: 0.33s ease, left 0.33s 0.53s ease;
}
#menuCheckbox:checked~ .menu-container .menu-thing.four {
-webkit-transition: 0.33s ease, left 0.33s 0.63s ease;
transition: 0.33s ease, left 0.33s 0.63s ease;
}
.face {
position: absolute;
top: 30%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
font-size: 5vw;
width: 85%;
text-align: center;
color: #e4e9e9;
-webkit-transition: 0s ease;
transition: 0s ease;
}
.face.two {
top: 75%;
opacity: 0;
}
.face.two.visible {
opacity: 1;
}
.face span {
letter-spacing: 1vw;
}
.whoa-button {
position: absolute;
left: 0;
bottom: 0;
height: 60px;
width: 60px;
line-height: 60px;
text-align: center;
background-color: transparent;
color: #e4e9e9;
}
.whoa-button:hover {
background-color: rgba(0,0,0,0.6);
color: #fff;
}
.whoa {
-webkit-animation: colors 1.5s infinite linear;
animation: colors 1.5s infinite linear;
}
@-webkit-keyframes colors {
0% {
background-color: #3eb890;
}
25% {
background-color: #e8a723;
}
50% {
background-color: #70cadb;
}
75% {
background-color: #e01765;
}
100% {
background-color: #3eb890;
}
}
@keyframes colors {
0% {
background-color: #3eb890;
}
25% {
background-color: #e8a723;
}
50% {
background-color: #70cadb;
}
75% {
background-color: #e01765;
}
100% {
background-color: #3eb890;
}
}
</style>
<input type="checkbox" id="menuCheckbox"/>
<div class="menu-container">
<label class="menu-label" for="menuCheckbox">
<div class="white-line"></div>
</label>
<div class="menu-thing side one">:D</div>
<div class="menu-thing side two">( ._.)</div>
<div class="menu-thing side three">n_n</div>
<div class="menu-thing side four">:)</div>
</div>
<div class="face"></div>
<div class="face two"></div>
<div class="whoa-button">:O</div>
<script>
// Colors provided by Slack
$(document).ready(function(){
// better body background color changing function
$('.menu-thing').click(function(){
$('body').removeClass('whoa');
$('.face.two').removeClass('visible');
$('body').css('background-color', $(this).css('background-color'));
return false;
});
$('.whoa-button').click(function(){
$('body').toggleClass('whoa');
$('.face.two').toggleClass('visible');
return false;
});
});
</script>
- Code:
$(document).ready(function(){
// better body background color changing function
$('.menu-thing').click(function(){
$('body').removeClass('whoa');
$('.face.two').removeClass('visible');
$('body').css('background-color', $(this).css('background-color'));
return false;
});
$('.whoa-button').click(function(){
$('body').toggleClass('whoa');
$('.face.two').toggleClass('visible');
return false;
});
});
Similar topics
Create an account or log in to leave a reply
You need to be a member in order to leave a reply.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|