اليوم سوف نقدم لكم ثلاث قوائم في قمة الإحترافية وبتقنية Css جديدة 2015 لمدونات بلوجر .
- الطريقة التركيب :
1- أدخل إلى مدونتك ثم أختر لوحة التحكم ومن ثم أختر تخطيط بعد ذلك أختر إضافة أداة : HTML/JavaScript
2- أضف كود القائمة في صندوق الأداة ثم إحفظ .
1- القائمة الأولى :
<div id='HOMEBLOGGER-pluto'>
<ul><!--omeblog7.blogspot.com menu starts-->
<li class='active'><a href='#'><span>الرئيسية</span></a></li>
<li><a href='#'><span>تعديل</span></a></li>
<li><a href='#'><span>تعديل</span></a></li>
<li><a href='#'><span>عن المدونة</span></a></li>
<li><a href='#'><span>راسلنا</span></a></li>
</ul><!--omeblog7.blogspot.com menu ends-->
</div>
<style>/*omeblog7.blogspot.com CSS starts*/
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
@charset "UTF-8";
/* Base Styles */
#HOMEBLOGGER-pluto ul,
#HOMEBLOGGER-pluto li,
#HOMEBLOGGER-pluto a {
list-style: none;
margin: 0;
padding: 0;
border: 0;
line-height: 1;
font-family: 'Lato', sans-serif;
}
#HOMEBLOGGER-pluto {
border: 1px solid #000000;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
width: auto;
}
#HOMEBLOGGER-pluto ul {
zoom: 1;
background: #47474e;
background: -moz-linear-gradient(top, #47474e 0%, #2f2f33 100%);
background: -webkit-gradient(linear, right top, right bottom, color-stop(0%, #47474e), color-stop(100%, #2f2f33));
background: -webkit-linear-gradient(top, #47474e 0%, #2f2f33 100%);
background: -o-linear-gradient(top, #47474e 0%, #2f2f33 100%);
background: -ms-linear-gradient(top, #47474e 0%, #2f2f33 100%);
background: linear-gradient(top, #47474e 0%, #2f2f33 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@top-color', endColorstr='@bottom-color', GradientType=0);
padding: 5px 10px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
}
#HOMEBLOGGER-pluto ul:before {
content: '';
display: block;
}
#HOMEBLOGGER-pluto ul:after {
content: '';
display: table;
clear: both;
}
#HOMEBLOGGER-pluto li {
float: right;
margin:0 0 0 5px;
border: 1px solid transparent;
}
#HOMEBLOGGER-pluto li a {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
padding:8px 15px 9px 15px;
display: block;
text-decoration: none;
color: #ffffff;
border: 1px solid transparent;
font-size: 17px;
-webkit-transition: all .5s ease;
-moz-transition: all .5s ease;
-o-transition: all .5s ease;
-ms-transition: all .5s ease;
transition: all .5s ease;
}
#HOMEBLOGGER-pluto li.active {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
border: 1px solid #47474e;
}
#HOMEBLOGGER-pluto li.active a {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
display: block;
background: #171718;
border: 1px solid #000000;
-moz-box-shadow: inset 0 5px 10px #000000;
-webkit-box-shadow: inset 0 5px 10px #000000;
box-shadow: inset 0 5px 10px #000000;
}
#HOMEBLOGGER-pluto li:hover {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
border: 1px solid #47474e;
}
#HOMEBLOGGER-pluto li:hover a {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
display: block;
background: #171718;
border: 1px solid #000000;
-moz-box-shadow: inset 0 5px 10px #000000;
-webkit-box-shadow: inset 0 5px 10px #000000;
box-shadow: inset 0 5px 10px #000000;
}
/*omeblog7.blogspot.com CSS ends*/
@media screen and (max-width: 768px) {
#HOMEBLOGGER-pluto li {
float: none;
margin:0 0 0 5px;
border: 1px solid transparent;
}
}
</style>
<div id='HOMEBLOGGER-menu'>
<ul><!--homeblog7.blogspot.com menu starts-->
<li class='active'><a href='#'><span>الرئيسية</span></a></li>
<li><a href='#'><span>تعديل</span></a></li>
<li><a href='#'><span>تعديل</span></a></li>
<li><a href='#'><span>عن المدونة</span></a></li>
<li class='last'><a href='#'><span>راسلنا</span></a></li>
</ul><!--homeblog7.blogspot.com menu ends-->
</div>
<style>/*homeblog7.blogspot.com CSS starts*/
@import url(http://fonts.googleapis.com/css?family=Raleway);
#HOMEBLOGGER-menu {background: #333;
width: auto;
}
#HOMEBLOGGER-menu ul {
list-style: none;
margin: 0;
padding: 0;
line-height: 1.4;
display: block;
zoom: 1;
}
#HOMEBLOGGER-menu ul:after {
content: " ";
display: block;
font-size: 0;
height: 0;
clear: both;
visibility: hidden;
}
#HOMEBLOGGER-menu ul li {
display: inline-block;
padding: 0;
margin: 0;
}
#HOMEBLOGGER-menu.align-left ul li {
float: left;
}
#HOMEBLOGGER-menu.align-center ul {
text-align: center;
}
#HOMEBLOGGER-menu ul li a {
color: #ffffff;
text-decoration: none;
display: block;
padding: 15px 25px;
font-family: 'Raleway', sans-serif;
font-weight: 700;
text-transform: capitalize;
font-size: 15px;
position: relative;
-webkit-transition: color .25s;
-moz-transition: color .25s;
-ms-transition: color .25s;
-o-transition: color .25s;
transition: color .25s;
}
#HOMEBLOGGER-menu ul li a:hover {
color: #fff;
}
#HOMEBLOGGER-menu ul li a:hover:before {
width: 100%;
}
#HOMEBLOGGER-menu ul li a:after {
content: "";
display: block;
position: absolute;
left: -3px;
top: 19px;
height: 6px;
width: 6px;
background: #ffffff;
opacity: .5;
}
#HOMEBLOGGER-menu ul li a:before {
content: "";
display: block;
position: absolute;
right: 0;
bottom: 0;
height: 3px;
width: 0;
background:#3CF;
-webkit-transition: width .25s;
-moz-transition: width .25s;
-ms-transition: width .25s;
-o-transition: width .25s;
transition: width .25s;
}
#HOMEBLOGGER-menu ul li.last > a:after,
#HOMEBLOGGER-menu ul li:last-child > a:after {
display: none;
}
#HOMEBLOGGER-menu ul li.active a {
color: #f5f5f5;
}
#HOMEBLOGGER-menu ul li.active a:before {
width: 100%;
}
#HOMEBLOGGER-menu.align-left li.last > a:after,
#HOMEBLOGGER-menu.align-left li:last-child > a:after {
display: block;
}
#HOMEBLOGGER-menu.align-left li:first-child a:after {
display: none;
}
/*homeblog7.blogspot.com CSS ends*/
@media screen and (max-width: 768px) {
#HOMEBLOGGER-menu { -moz-box-shadow: 2px 2px 5px #d5d5d5;
-webkit-box-shadow: 2px 2px 5px #d5d5d5;
box-shadow: 2px 2px 5px #d5d5d5;
}
#HOMEBLOGGER-menu ul li {
float: none;
display: block;
}
#HOMEBLOGGER-menu ul li a {
width: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-bottom: 1px solid #fff;
-webkit-transition: all .5s ease;
-moz-transition: all .5s ease;
-o-transition: all .5s ease;
-ms-transition: all .5s ease;
transition: all .5s ease;
}
#HOMEBLOGGER-menu ul li a:hover {
-webkit-transition: all .5s ease;
-moz-transition: all .5s ease;
-o-transition: all .5s ease;
-ms-transition: all .5s ease;
transition: all .5s ease;
width: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-bottom: 1px solid #fff;
background:#4c4c4c;
}
#HOMEBLOGGER-menu ul li.last > a,
#HOMEBLOGGER-menu ul li:last-child > a {
border: 0;
}
#HOMEBLOGGER-menu ul li a:after {
display: none;
}
#HOMEBLOGGER-menu ul li a:before {
display: none;
}
}
</style>
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<style>/*homeblog7.blogspot.com CSS starts*/
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro);
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
margin: 0;
padding: 0;
border: 0;
list-style: none;
line-height: 1;
display: block;
position: relative;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
#cssmenu:after,
#cssmenu > ul:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
#cssmenu #menu-button {
display: none;
}
#cssmenu {
width: auto;
border-radius: 4px;
border: 1px solid #2698e9;
font-family: 'Source Sans Pro', sans-serif;
line-height: 1;
background: #6bb9f0;
background: -webkit-linear-gradient(bottom, #54aeee, #82c4f2);
background: -ms-linear-gradient(bottom, #54aeee, #82c4f2);
background: -moz-linear-gradient(bottom, #54aeee, #82c4f2);
background: -o-linear-gradient(bottom, #54aeee, #82c4f2);
background: linear-gradient(to top, #54aeee, #82c4f2);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), inset 0 -2px 0px #46a7ec, inset 0 1px 0 #90cbf4;
}
#cssmenu > ul > li {
float: right;
}
#cssmenu.align-center > ul {
font-size: 0;
text-align: center;
}
#cssmenu.align-center > ul > li {
display: inline-block;
float: none;
}
#cssmenu.align-left > ul > li {
float: left;
}
#cssmenu > ul > li > a {
padding:20px 25px 21px 25px;
font-size: 16px;
text-decoration: none;
color: #fcfefb;
-webkit-transition: all .2s ease;
-moz-transition: all .2s ease;
-ms-transition: all .2s ease;
-o-transition: all .2s ease;
transition: all .2s ease;
}
#cssmenu > ul > li:first-child > a {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
#cssmenu.align-center > ul > li:first-child > a {
border-radius: 0;
}
#cssmen.align-left > ul > li:first-child > a {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
color: #444444;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li > a:hover {
background: rgba(125, 125, 125, 0.04);
}
#cssmenu > ul > li:after {
content: '';
position: absolute;
top: 18px;
left: 0;
display: block;
height: 20px;
width: 1px;
opacity: .15;
background: rgba(0, 0, 0, 0.7);
background: linear-gradient(to top, rgba(0, 0, 0, 0), #000000, rgba(0, 0, 0, 0));
background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), #000000, rgba(0, 0, 0, 0));
background: -ms-linear-gradient(top, rgba(0, 0, 0, 0), #000000, rgba(0, 0, 0, 0));
background: -moz-linear-gradient(top, rgba(0, 0, 0, 0), #000000, rgba(0, 0, 0, 0));
background: -o-linear-gradient(top, rgba(0, 0, 0, 0), #000000, rgba(0, 0, 0, 0));
}
#cssmenu.align-left > ul > li:after {
left: auto;
right: -1px;
}
#cssmenu > ul > li:before {
content: '';
position: absolute;
top: 18px;
left: -1px;
display: block;
height: 20px;
width: 1px;
opacity: .35;
background: rgba(255, 255, 255, 0.8);
background: linear-gradient(to top, rgba(0, 0, 0, 0), #ffffff, rgba(0, 0, 0, 0));
background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), #ffffff, rgba(0, 0, 0, 0));
background: -ms-linear-gradient(top, rgba(0, 0, 0, 0), #ffffff, rgba(0, 0, 0, 0));
background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.01), #ffffff, rgba(255, 255, 255, 0.01));
background: -o-linear-gradient(top, rgba(0, 0, 0, 0), #ffffff, rgba(0, 0, 0, 0));
}
#cssmenu.align-left > ul > li:before {
left: auto;
right: 0px;
}
#cssmenu > ul > li:last-child:after,
#cssmenu > ul > li:last-child:before {
display: none;
}
#cssmenu.small-screen {
width: 100%;
}
#cssmenu.small-screen > ul,
#cssmenu.small-screen.align-center > ul {
width: 100%;
text-align: right;
}
#cssmenu.small-screen > ul > li,
#cssmenu.small-screen.align-center {
float: none;
display: block;
border-top: 1px solid rgba(100, 100, 100, 0.1);
}
#cssmenu.small-screen > ul > li > a {
padding: 18px 25px;
}
#cssmenu.small-screen > ul > li:after,
#cssmenu.small-screen > ul > li:before {
display: none;
}
#cssmenu.small-screen #menu-button {
display: block;
padding:18px 25px 19px 25px;
cursor: pointer;
font-size: 16px;
text-decoration: none;
color: #fcfefb;
}
#cssmenu.small-screen #menu-button.menu-opened {
color: #444444;
}
#cssmenu.small-screen #menu-button:after {
content: "";
position: absolute;
left: 25px;
top: 20px;
display: block;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
border-top: 2px solid #fcfefb;
border-bottom: 2px solid #fcfefb;
width: 18px;
height: 3px;
}
#cssmenu.small-screen #menu-button.menu-opened:after {
border-top: 2px solid #444444;
border-bottom: 2px solid #444444;
}
#cssmenu.small-screen #menu-button:before {
content: "";
position: absolute;
left: 25px;
top: 30px;
display: block;
width: 18px;
height: 2px;
background: #fcfefb;
}
#cssmenu.small-screen #menu-button.menu-opened:before {
background: #444444;
}/*crawlist.net CSS ends*/
</style>
<div id='cssmenu'>
<ul><!--homeblog7.blogspot.com menu starts-->
<li class="active"><a href="#">الرئيسية</a></li>
<li><a href="#">تعديل</a></li>
<li><a href="#">تعديل</a></li>
<li><a href="#">عن المدونة</a></li>
<li><a href="#">راسلنا</a></li>
</ul><!--homeblog7.blogspot.com menu ends-->
</div>
<script>
(function($) {
$.fn.menumaker = function(options) {
var cssmenu = $(this), settings = $.extend({
title: "Menu",
format: "dropdown",
breakpoint: 768,
sticky: false
}, options);
return this.each(function() {
cssmenu.find('li ul').parent().addClass('has-sub');
if (settings.format != 'select') {
cssmenu.prepend('<div id="menu-button">' + settings.title + '</div>');
$(this).find("#menu-button").on('click', function(){
$(this).toggleClass('menu-opened');
var mainmenu = $(this).next('ul');
if (mainmenu.hasClass('open')) {
mainmenu.hide().removeClass('open');
}
else {
mainmenu.show().addClass('open');
if (settings.format === "dropdown") {
mainmenu.find('ul').show();
}
}
});
multiTg = function() {
cssmenu.find(".has-sub").prepend('<span class="submenu-button"></span>');
cssmenu.find('.submenu-button').on('click', function() {
$(this).toggleClass('submenu-opened');
if ($(this).siblings('ul').hasClass('open')) {
$(this).siblings('ul').removeClass('open').hide();
}
else {
$(this).siblings('ul').addClass('open').show();
}
});
};
if (settings.format === 'multitoggle') multiTg();
else cssmenu.addClass('dropdown');
}
else if (settings.format === 'select')
{
cssmenu.append('<select style="width: 100%"/>').addClass('select-list');
var selectList = cssmenu.find('select');
selectList.append('<option>' + settings.title + '</option>', {
"selected": "selected",
"value": ""});
cssmenu.find('a').each(function() {
var element = $(this), indentation = "";
for (i = 1; i < element.parents('ul').length; i++)
{
indentation += '-';
}
selectList.append('<option value="' + $(this).attr('href') + '">' + indentation + element.text() + '</option');
});
selectList.on('change', function() {
window.location = $(this).find("option:selected").val();
});
}
if (settings.sticky === true) cssmenu.css('position', 'fixed');
resizeFix = function() {
if ($(window).width() > settings.breakpoint) {
cssmenu.find('ul').show();
cssmenu.removeClass('small-screen');
if (settings.format === 'select') {
cssmenu.find('select').hide();
}
else {
cssmenu.find("#menu-button").removeClass("menu-opened");
}
}
if ($(window).width() <= settings.breakpoint && !cssmenu.hasClass("small-screen")) {
cssmenu.find('ul').hide().removeClass('open');
cssmenu.addClass('small-screen');
if (settings.format === 'select') {
cssmenu.find('select').show();
}
}
};
resizeFix();
return $(window).on('resize', resizeFix);
});
};
})(jQuery);
(function($){
$(document).ready(function(){
$(document).ready(function() {
$("#cssmenu").menumaker({
title: "Menu",
format: "dropdown"
});
});
});
})(jQuery);
</script>
0 Comments:
إرسال تعليق