rtpl-compass 1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +102 -0
- data/lib/config.rb +5 -0
- data/lib/rtpl-compass.rb +60 -0
- data/templates/project/css/dev.css +3 -0
- data/templates/project/files/compass_watch.bat +1 -0
- data/templates/project/files/readme.txt +36 -0
- data/templates/project/ie-old/favicon.ico +0 -0
- data/templates/project/ie-old/images/as.jpg +0 -0
- data/templates/project/ie-old/images/bg_span_wol.gif +0 -0
- data/templates/project/ie-old/images/f.jpg +0 -0
- data/templates/project/ie-old/images/gc.jpg +0 -0
- data/templates/project/ie-old/images/h.jpg +0 -0
- data/templates/project/ie-old/images/ie.jpg +0 -0
- data/templates/project/ie-old/images/mf.jpg +0 -0
- data/templates/project/ie-old/images/op.jpg +0 -0
- data/templates/project/ie-old/images/td1.jpg +0 -0
- data/templates/project/ie-old/images/td2.jpg +0 -0
- data/templates/project/ie-old/images/td3.jpg +0 -0
- data/templates/project/ie-old/index.html +175 -0
- data/templates/project/images/fancyClose.png +0 -0
- data/templates/project/images/fancyNext.png +0 -0
- data/templates/project/images/fancyPrev.png +0 -0
- data/templates/project/images/favicon.png +0 -0
- data/templates/project/images/loading.gif +0 -0
- data/templates/project/images/noimg.jpg +0 -0
- data/templates/project/images/screenshot.jpg +0 -0
- data/templates/project/index.html +24 -0
- data/templates/project/index.php +79 -0
- data/templates/project/js/full/example.js +1 -0
- data/templates/project/js/full/ph.js +33 -0
- data/templates/project/js/full/rform.js +416 -0
- data/templates/project/js/full/scripts.js +1 -0
- data/templates/project/js/init.js +41 -0
- data/templates/project/js/min/head.min.js +9 -0
- data/templates/project/js/min/jquery.fancybox.min.js +46 -0
- data/templates/project/js/min/ph.min.js +2 -0
- data/templates/project/manifest.rb +96 -0
- data/templates/project/sass/index.sass +36 -0
- data/templates/project/sass/source/_buttons.sass +35 -0
- data/templates/project/sass/source/_formstyle.sass +150 -0
- data/templates/project/sass/source/_global.sass +62 -0
- data/templates/project/sass/source/_reset.sass +93 -0
- data/templates/project/sass/source/_typography.sass +111 -0
- data/templates/project/sass/source/bl/_content.sass +1 -0
- data/templates/project/sass/source/bl/_footer.sass +1 -0
- data/templates/project/sass/source/bl/_header.sass +1 -0
- data/templates/project/sass/source/lib/_default.sass +226 -0
- data/templates/project/sass/source/lib/_mixins.sass +15 -0
- data/templates/project/sass/source/lib/mixins/_animations.sass +85 -0
- data/templates/project/sass/source/lib/mixins/_background.sass +41 -0
- data/templates/project/sass/source/lib/mixins/_base.sass +158 -0
- data/templates/project/sass/source/lib/mixins/_browsers.sass +54 -0
- data/templates/project/sass/source/lib/mixins/_fonts.sass +84 -0
- data/templates/project/sass/source/lib/mixins/_forms.sass +16 -0
- data/templates/project/sass/source/lib/mixins/_gridsystem.sass +66 -0
- data/templates/project/sass/source/lib/mixins/_media.sass +209 -0
- data/templates/project/sass/source/lib/mixins/_positions.sass +42 -0
- data/templates/project/sass/source/lib/mixins/_sprites.sass +65 -0
- data/templates/project/sass/source/lib/mixins/_width.sass +27 -0
- data/templates/project/sass/source/plugins/_jquery.fancybox.sass +197 -0
- data/templates/project/sass/source/plugins/_rforms.sass +258 -0
- metadata +105 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: bf494aa3d857c47d0b4d5c9e7ec59f8a79c26ead
|
4
|
+
data.tar.gz: e7d3e8ea4c0842dea3666c708f8b4f93609a8fd2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3a6e6a5b20fd3a3daa21f8590d92f67c44fb682d5ddbc4ee37d756293d7e97463247a5f11ef147d69e6e5874e496d4beb63c00779eba3b9601d9420d63480b30
|
7
|
+
data.tar.gz: c22d8bbabb1a1deaa15913c69523c53715d8189e613135ccf013b8b41183adeb64c15a29ff08fb9b531d15988e2a1d88c95659f7eac3edb1016fde514728122b
|
data/README.md
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
Compass VikingR Template
|
2
|
+
========================
|
3
|
+
|
4
|
+
Version
|
5
|
+
----
|
6
|
+
1.0
|
7
|
+
|
8
|
+
License
|
9
|
+
----
|
10
|
+
MIT
|
11
|
+
|
12
|
+
Installation
|
13
|
+
--------------
|
14
|
+
```sh
|
15
|
+
gem install rtpl-compass
|
16
|
+
```
|
17
|
+
|
18
|
+
Create project
|
19
|
+
--------------
|
20
|
+
```sh
|
21
|
+
compass create my_project -r rtpl-compass --using rtpl-compass
|
22
|
+
```
|
23
|
+
|
24
|
+
####This will create a my_project directory containing the following files:
|
25
|
+
```sh
|
26
|
+
my_project
|
27
|
+
|
|
28
|
+
|config.rb ***********************************// Settings for Compass
|
29
|
+
|index.html **********************************// HTML template
|
30
|
+
|index.php ***********************************// Showcase of the project
|
31
|
+
|readme.txt **********************************// Notes
|
32
|
+
|screenshot.jpg ******************************// Screenshot of the project
|
33
|
+
|compass_watch.bat ***************************// Console command "compass watch"
|
34
|
+
|css *****************************************// Stylesheets directory
|
35
|
+
|dev.css *********************************// Css for developers
|
36
|
+
|fonts ***************************************// Fonts directory
|
37
|
+
|ie-old **************************************// Cap for old IE
|
38
|
+
|images
|
39
|
+
|as.jpg
|
40
|
+
|bg_span_wol.gif
|
41
|
+
|f.jpg
|
42
|
+
|gc.jpg
|
43
|
+
|h.jpg
|
44
|
+
|ie.jpg
|
45
|
+
|mf.jpg
|
46
|
+
|op.jpg
|
47
|
+
|td1.jpg
|
48
|
+
|td2.jpg
|
49
|
+
|td3.jpg
|
50
|
+
|favicon.ico
|
51
|
+
|index.html
|
52
|
+
|images **************************************// Images directory
|
53
|
+
|bg **************************************// Directory with background images
|
54
|
+
|icons ***********************************// Directory with icons for sprite
|
55
|
+
|required ********************************// Directory with required images
|
56
|
+
|loading.gif *************************// Image load when necessary image is loading
|
57
|
+
|noimg.jpg ***************************// Image load when necessary image not found
|
58
|
+
|temp ************************************// Directory with temporary images
|
59
|
+
|favicon.png *****************************// Favicon for the project
|
60
|
+
|js ******************************************// Javascripts directory
|
61
|
+
|full ************************************// Directory for not compressed scripts
|
62
|
+
|example.js **************************// Example scripts for the project, default "commented out"
|
63
|
+
|rform.js ****************************// JavaScript library for forms, default "commented out"
|
64
|
+
|scripts.js **************************// All scripts for the project, default "commented out"
|
65
|
+
|ph.min.js ***************************// Compressed script for placeholders in IE9 and Opera
|
66
|
+
|min *************************************// Directory for compressed scripts
|
67
|
+
|head.min.js *************************// JavaScript library what make the only script in HEAD (*1*)
|
68
|
+
|jquery.fancybox.min.js ********// Compressed JavaScript library for FancyBox, default "unconnected" (*2*)
|
69
|
+
|ph.js *******************************// Script for placeholders in IE9 and Opera
|
70
|
+
|init.js *********************************// Adding HeadJS to the project
|
71
|
+
|sass ****************************************// Sass directory
|
72
|
+
|source **********************************// Source directory for styles
|
73
|
+
|bl
|
74
|
+
|_content.sass *******************// Styles for content
|
75
|
+
|_footer.sass ********************// Styles for footer
|
76
|
+
|_header.sass ********************// Styles for header
|
77
|
+
|lib
|
78
|
+
|mixins
|
79
|
+
|_mixins.sass ********************// Mixins sass file
|
80
|
+
|_animations.sass ************// Mixins for animations
|
81
|
+
|_background.sass ************// Mixins for background
|
82
|
+
|_base.sass ******************// Base mixins
|
83
|
+
|_browsers.sass **************// Mixins for browsers
|
84
|
+
|_fonts.sass *****************// Mixins for typography
|
85
|
+
|_forms.sass *****************// Mixins for formstyle
|
86
|
+
|_gridsystem.sass ************// Gridsystem mixins
|
87
|
+
|_media.sass *****************// Media query mixins
|
88
|
+
|_positions.sass *************// Mixins for positions
|
89
|
+
|_sprites.sass ***************// Mixins for sprites
|
90
|
+
|_width.sass *****************// Mixins for width
|
91
|
+
|_default.sass *******************// Default classes
|
92
|
+
|plugins
|
93
|
+
|_jquery.fancybox.sass ***********// Styles for FancyBox, default "unconnected" (*2*)
|
94
|
+
|_rforms.sass ********************// Styles for rforms, default "unconnected"
|
95
|
+
|_buttons.sass ***********************// Styles for buttons
|
96
|
+
|_formstyle.sass *********************// Styles for forms
|
97
|
+
|_global.sass ************************// Global styles
|
98
|
+
|_reset.sass *************************// Reset styles
|
99
|
+
|_typography.sass ********************// Styles for typography
|
100
|
+
|index.sass ******************************// Main sass file
|
101
|
+
```
|
102
|
+
*<a href="http://headjs.com/">1</a>*, *<a href="http://www.fancyapps.com/fancybox/">2</a>*
|
data/lib/config.rb
ADDED
data/lib/rtpl-compass.rb
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
# All gems that are required for this extension to work should go here.
|
2
|
+
# These are the requires you would normally put in your config.rb file
|
3
|
+
# By default, you should always included Compass. Do not include your
|
4
|
+
# extension.
|
5
|
+
require 'compass'
|
6
|
+
|
7
|
+
Compass.add_project_configuration(File.join(File.dirname(__FILE__), 'config.rb'))
|
8
|
+
|
9
|
+
# This tells Compass what your Compass extension is called, and where to find
|
10
|
+
# its files
|
11
|
+
# Replace 'extension' with the name of your extension. Spaces allowed.
|
12
|
+
|
13
|
+
extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
|
14
|
+
|
15
|
+
Compass::Frameworks.register(
|
16
|
+
'rtpl-compass',
|
17
|
+
:path => extension_path
|
18
|
+
)
|
19
|
+
|
20
|
+
|
21
|
+
# Version and date of version for your Compass extension.
|
22
|
+
# Replace Extension with the name of your extension
|
23
|
+
# Letters, numbers, and underscores only
|
24
|
+
# Version is a number. If a version contains alphas, it will be created as
|
25
|
+
# a prerelease version
|
26
|
+
# Date is in the form of YYYY-MM-DD
|
27
|
+
module Extension
|
28
|
+
VERSION = "1.0"
|
29
|
+
DATE = "2015-02-25"
|
30
|
+
end
|
31
|
+
|
32
|
+
module Compass
|
33
|
+
module AppIntegration
|
34
|
+
module StandAlone
|
35
|
+
module ConfigurationDefaults
|
36
|
+
def default_project_type
|
37
|
+
:stand_alone
|
38
|
+
end
|
39
|
+
|
40
|
+
def javascripts_dir_without_default
|
41
|
+
"js"
|
42
|
+
end
|
43
|
+
|
44
|
+
def css_dir_without_default
|
45
|
+
"css"
|
46
|
+
end
|
47
|
+
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# This is where any custom SassScript should be placed. The functions will be
|
55
|
+
# available on require of your extension without the need for users to import
|
56
|
+
# any partials. Uncomment below.
|
57
|
+
|
58
|
+
# module Sass::Script::Functions
|
59
|
+
|
60
|
+
# end
|
@@ -0,0 +1 @@
|
|
1
|
+
cmd /K compass watch
|
@@ -0,0 +1,36 @@
|
|
1
|
+
-- Styles --
|
2
|
+
Все стили хранятся в css/index.css.
|
3
|
+
Стили писались на SASS и собраны в один файл с помощью Compass.
|
4
|
+
|
5
|
+
--->>> Если дальнейшая работа с SASS вестись не будет, при желании можно удалить папки sass, .sass-cache и файл config.rb (настройки compass).
|
6
|
+
Для добавления новых стилей настоятельно рекомендую использовать dev.css (css/dev.css).
|
7
|
+
Перед началом работы с ним, его нужно активировать в шапке index.html.
|
8
|
+
|
9
|
+
-- JS --
|
10
|
+
Скрипты подключены через head.min.js (http://headjs.com/).
|
11
|
+
Все библиотеки и скрипты перечислены в js/init.js.
|
12
|
+
В папке min - все сжатые скрипты.
|
13
|
+
В папке full - все полные скрипты.
|
14
|
+
Полный путь к папке со скриптами задается в переменнной "paths.source" в js/init.js, ст.6.
|
15
|
+
Основная библиотека JavaScript -> jQuery.
|
16
|
+
|
17
|
+
-- Исключения --
|
18
|
+
1) Если у пользователя браузер IE7 и ниже, будет загружаться заглушка (папка ie-old), с просьбой обновить браузер или загрузить любой другой.
|
19
|
+
2) Если у пользователя браузер IE8, будет загружаться html5.js, который призван корректно отображать теги HTML5 (https://github.com/aFarkas/html5shiv).
|
20
|
+
3) Если у пользователя браузер IE (<=9) или opera, будет загружаться ph.min.js, который призван корректно отображать placeholder в полях ввода.
|
21
|
+
Полный скрипт -> full/ph.js.
|
22
|
+
4) Каждая html страница может иметь свой уникальный класс в теге <html>. По этому классу можно подгружать отдельные файлы стилей и скриптов, исключительно для этих страниц.
|
23
|
+
|
24
|
+
-- Images --
|
25
|
+
icons - Папка с иконками. Также ее использует compass для создания спрайта.
|
26
|
+
bg - Папка с фоновыми изображениями.
|
27
|
+
required - Папка с вспомогательными изображениями.
|
28
|
+
temp - Папка с временными изображениями (статическими изображениями постов и т.п.). После интеграции верстки ее можно удалить.
|
29
|
+
|
30
|
+
-- Fonts --
|
31
|
+
Папка для сторонних шрифтов.
|
32
|
+
|
33
|
+
--Plugins--
|
34
|
+
В шаблоне используются вспомогательные библиотеки:
|
35
|
+
1) fancyBox (http://www.fancyapps.com/fancybox/) - мощная библиотека для реализации модальных окон и лайтбоксов. Для реализации в коммерческих проектах нужно читать лицензию (http://sites.fastspring.com/fancyapps/product/store)
|
36
|
+
2) rForms - библиотека для реализации кастомных елементов форм.
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,175 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Old Internet Explorer</title>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
<meta name="description" content="Old Internet Explorer">
|
7
|
+
<meta name="keywords" content="Old Internet Explorer">
|
8
|
+
<link rel="icon" href="favicon.ico" type="image/x-icon">
|
9
|
+
<link rel="shortcut icon" href="favicon.ico">
|
10
|
+
<style>
|
11
|
+
*{margin:0;padding:0}html{height:100%;margin-bottom:1px}body{color:#333;text-align:left;font:13px Tahoma, Helvetica, Geneva, sans-serif;background:#dbf3fd}a{color:#005987;font:13px Tahoma, Helvetica, Geneva, sans-serif;outline:0}a:hover{text-decoration:none}p{line-height:1.5em;margin:0 10px 1em 20px;text-indent:0}h1,h2,h3{color:#f3801f;font-weight:normal}h1,h2{font-size:24px;line-height:1.8em;margin:0 0 0.5em 20px}h2{margin-top:20px}h3{font-size:18px}.wrap{margin:auto;width:980px}.wrap img{border:none;vertical-align:inherit}.header,.main,.footer{clear:both}.header{background:url(images/h.jpg) no-repeat top;height:158px}.brows{width:100%;margin:20px 0}.brows td{height:133px;padding-bottom:30px;vertical-align:top}.brows td a{font-size:17px;display:block}tr.brows_name td{text-align:center;height:20px}.return{position:absolute;top:-110px;left:47px}.return a{color:#f3801f;font:26px Tahoma, Helvetica, Geneva, sans-serif}text-decoration:none .return a:hover{text-decoration:underline}.why{width:100%;margin-top:25px}.why p{padding:0;margin:0}.main{background:url(images/bg_span_wol.gif) repeat-y top;position:relative}.footer{background:url(images/f.jpg) no-repeat top;height:131px}.td1,.td2,.td3{width:239px;height:119px;vertical-align:top;padding:15px 65px 0 25px}.td1{background:url(images/td1.jpg) top no-repeat}.td2{background:url(images/td2.jpg) top no-repeat}.td3{background:url(images/td3.jpg) top no-repeat}.qtabs{float:right;color:#666;margin:57px 34px 0 0}.qtabs ul{list-style:none}.qtabs li{float:left;cursor:pointer;padding:0 5px}.qtabs li span:hover{text-decoration:underline}.qtabs li.current span{color:#f3801f}.qtabs li.open p:hover{text-decoration:none}.qtwrapper{height:1%}.qtcontent{width:94%;margin:0 30px;padding:20px 0;display:none}.qtcontent.visible{display:block}
|
12
|
+
</style>
|
13
|
+
</head>
|
14
|
+
<body>
|
15
|
+
<div class="wrap">
|
16
|
+
<div class="header">
|
17
|
+
<div class="qtabs">
|
18
|
+
<ul id="qtabs-ex2" class="tabs">
|
19
|
+
<li class="open current"><span>По-русски</span></li>
|
20
|
+
<li class="closed"><span>English</span></li>
|
21
|
+
</ul>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
<div class="main" id="current-ex2">
|
25
|
+
<div class="qtcontent visible">
|
26
|
+
<h1>ВНИМАНИЕ! Вы используете устаревший браузер Internet Explorer</h1>
|
27
|
+
<p>Данный сайт построен на передовых, современных технологиях и не поддерживает Internet Explorer данной версии.</p>
|
28
|
+
<p>Настоятельно Вам рекомендуем выбрать и установить любой из современных браузеров. Это бесплатно и займет всего несколько минут.</p>
|
29
|
+
<table class="brows" cellspacing="0">
|
30
|
+
<tbody>
|
31
|
+
<tr>
|
32
|
+
<td><noindex><a href="http://www.microsoft.com/windows/Internet-explorer/default.aspx" target="_blank" rel="nofollow"><img src="images/ie.jpg" alt="Internet Explorer"></a></noindex></td>
|
33
|
+
<td><noindex><a href="http://www.opera.com/download/" target="_blank" rel="nofollow"><img src="images/op.jpg" alt="Opera Browser"></a></noindex></td>
|
34
|
+
<td><noindex><a href="http://www.mozilla.com/firefox/" target="_blank" rel="nofollow"><img src="images/mf.jpg" alt="Mozilla Firefox"></a></noindex></td>
|
35
|
+
<td><noindex><a href="http://www.google.com/chrome" target="_blank" rel="nofollow"><img src="images/gc.jpg" alt="Google Chrome"></a></noindex></td>
|
36
|
+
<td><noindex><a href="http://www.apple.com/safari/download/" target="_blank" rel="nofollow"><img src="images/as.jpg" alt="Apple Safari"></a></noindex></td>
|
37
|
+
</tr>
|
38
|
+
<tr class="brows_name">
|
39
|
+
<td><noindex><a href="http://www.microsoft.com/windows/Internet-explorer/default.aspx" target="_blank" rel="nofollow">Internet Explorer NEW</a></noindex></td>
|
40
|
+
<td><noindex><a href="http://www.opera.com/download/" target="_blank" rel="nofollow">Opera Browser</a></noindex></td>
|
41
|
+
<td><noindex><a href="http://www.mozilla.com/firefox/" target="_blank" rel="nofollow">Mozilla Firefox</a></noindex></td>
|
42
|
+
<td><noindex><a href="http://www.google.com/chrome" target="_blank" rel="nofollow">Google Chrome</a></noindex></td>
|
43
|
+
<td><noindex><a href="http://www.apple.com/safari/download/" target="_blank" rel="nofollow">Apple Safari</a></noindex></td>
|
44
|
+
</tr>
|
45
|
+
</tbody>
|
46
|
+
</table>
|
47
|
+
<h2>Почему нужно поменять браузер Internet Explorer старой версии на другой?</h2>
|
48
|
+
<p>
|
49
|
+
Браузер Internet Explorer является не просто браузером старой
|
50
|
+
версии, а устаревшим браузером, браузером старого поколения. Он не может
|
51
|
+
предоставить все возможности, которые могут предоставить современные
|
52
|
+
браузеры, а скорость его работы в несколько раз ниже! Internet Explorer
|
53
|
+
не способен корректно отображать большинство сайтов.
|
54
|
+
</p>
|
55
|
+
<p>
|
56
|
+
Если по каким либо причинам Вы не имеете доступа к возможности
|
57
|
+
установки программ, то рекомендуем воспользоваться "portable" версиями
|
58
|
+
браузеров. Они не требуют инсталляции на компьютер и работают с любого
|
59
|
+
диска или вашей флешки: <noindex><a href="http://portableapps.com/apps/internet/firefox_portable" target="_blank" rel="nofollow">Mozilla Firefox</a></noindex> или <noindex><a href="http://portableapps.com/apps/internet/google_chrome_portable" target="_blank" rel="nofollow">Google Chrome</a></noindex>.
|
60
|
+
</p>
|
61
|
+
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
62
|
+
<tbody>
|
63
|
+
<tr>
|
64
|
+
<td class="td1">
|
65
|
+
<h3>Безопасность</h3>
|
66
|
+
Использование Internet Explorer старой версии потенциально опасно, так как именно через него доступ в Ваш компьютер имеют вирусы и мошенники.
|
67
|
+
</td>
|
68
|
+
<td> </td>
|
69
|
+
<td class="td2">
|
70
|
+
<h3>Только факты</h3>
|
71
|
+
IE6 был выпущен в 2001 году!<br>
|
72
|
+
IE7 был выпущен в 2006 году!<br>
|
73
|
+
IE8 был выпущен в 2009 году!<br>
|
74
|
+
Позже были созданы версии 9, 10, 11
|
75
|
+
</td>
|
76
|
+
<td> </td>
|
77
|
+
<td class="td3">
|
78
|
+
<h3>Microsoft</h3>
|
79
|
+
Microsoft, разработчик
|
80
|
+
Internet<br>
|
81
|
+
Explorer, прекратила поддержки версий 6,7,8<br>
|
82
|
+
и рекомендует устанавливать новые версии своего браузера.
|
83
|
+
</td>
|
84
|
+
</tr>
|
85
|
+
</tbody>
|
86
|
+
</table>
|
87
|
+
</div>
|
88
|
+
<div class="qtcontent">
|
89
|
+
<h1>СAUTION! You are using the out-of-date browser Internet Explorer</h1>
|
90
|
+
<p>This site is built on the advanced, modern technologies and does not support Internet Explorer this version.</p>
|
91
|
+
<p>
|
92
|
+
It is insistently recommended to you to choose and establish any
|
93
|
+
of modern browsers. It is free of charge and also will take only some
|
94
|
+
minutes.
|
95
|
+
</p>
|
96
|
+
<table class="brows" cellspacing="0">
|
97
|
+
<tbody>
|
98
|
+
<tr>
|
99
|
+
<td><noindex><a href="http://www.microsoft.com/windows/Internet-explorer/default.aspx" target="_blank" rel="nofollow"><img src="images/ie.jpg" alt="Internet Explorer"></a></noindex></td>
|
100
|
+
<td><noindex><a href="http://www.opera.com/download/" target="_blank" rel="nofollow"><img src="images/op.jpg" alt="Opera Browser"></a></noindex></td>
|
101
|
+
<td><noindex><a href="http://www.mozilla.com/firefox/" target="_blank" rel="nofollow"><img src="images/mf.jpg" alt="Mozilla Firefox"></a></noindex></td>
|
102
|
+
<td><noindex><a href="http://www.google.com/chrome" target="_blank" rel="nofollow"><img src="images/gc.jpg" alt="Google Chrome"></a></noindex></td>
|
103
|
+
<td><noindex><a href="http://www.apple.com/safari/download/" target="_blank" rel="nofollow"><img src="images/as.jpg" alt="Apple Safari"></a></noindex></td>
|
104
|
+
</tr>
|
105
|
+
<tr class="brows_name">
|
106
|
+
<td><noindex><a href="http://www.microsoft.com/windows/Internet-explorer/default.aspx" target="_blank" rel="nofollow">Internet Explorer NEW</a></noindex></td>
|
107
|
+
<td><noindex><a href="http://www.opera.com/download/" target="_blank" rel="nofollow">Opera Browser</a></noindex></td>
|
108
|
+
<td><noindex><a href="http://www.mozilla.com/firefox/" target="_blank" rel="nofollow">Mozilla Firefox</a></noindex></td>
|
109
|
+
<td><noindex><a href="http://www.google.com/chrome" target="_blank" rel="nofollow">Google Chrome</a></noindex></td>
|
110
|
+
<td><noindex><a href="http://www.apple.com/safari/download/" target="_blank" rel="nofollow">Apple Safari</a></noindex></td>
|
111
|
+
</tr>
|
112
|
+
</tbody>
|
113
|
+
</table>
|
114
|
+
<h2>Why it is necessary to change browser IE to another?</h2>
|
115
|
+
<p>
|
116
|
+
Browser Internet Explorer is not simply a browser of the old
|
117
|
+
version, it is an out-of-date browser, a browser of old generation! It
|
118
|
+
cannot give all possibilities which can be given by modern browsers, and
|
119
|
+
speed of its work is several times lower! Internet Explorer is not
|
120
|
+
capable to display the majority of sites correctly.
|
121
|
+
</p>
|
122
|
+
<table class="why" cellspacing="0">
|
123
|
+
<tbody>
|
124
|
+
<tr>
|
125
|
+
<td class="td1">
|
126
|
+
<h3>Safety</h3>
|
127
|
+
<p>Using of IE is potentially dangerous. Viruses and fraudsters can get</p>
|
128
|
+
<p>access to your computer throe use</p>
|
129
|
+
<p>of this browser.</p>
|
130
|
+
</td>
|
131
|
+
<td> </td>
|
132
|
+
<td class="td2">
|
133
|
+
<h3>Only facts</h3>
|
134
|
+
IE6 was released in year 2001.<br>
|
135
|
+
IE7 was released in year 2006.<br>
|
136
|
+
IE8 was released in year 2009.<br>
|
137
|
+
Versions Nr.9, Nr.10 and Nr.11 were released
|
138
|
+
</td>
|
139
|
+
<td> </td>
|
140
|
+
<td class="td3">
|
141
|
+
<h3>Microsoft</h3>
|
142
|
+
Microsoft,the developer of<br>
|
143
|
+
Internet Explorer, has stopped the support for IE versions 6,7,8 and recommends to install new version of Microsoft browser.
|
144
|
+
</td>
|
145
|
+
</tr>
|
146
|
+
</tbody>
|
147
|
+
</table>
|
148
|
+
</div>
|
149
|
+
</div>
|
150
|
+
<div class="footer"><!-- --></div>
|
151
|
+
</div>
|
152
|
+
<!--jQuery library-->
|
153
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
|
154
|
+
<script>
|
155
|
+
(function($) {
|
156
|
+
$(function tabs(){
|
157
|
+
var settings = {
|
158
|
+
tab : '.tabs',
|
159
|
+
tabCurrent : 'current',
|
160
|
+
tabSection : '.wrap',
|
161
|
+
tabContent : '.qtcontent'
|
162
|
+
};
|
163
|
+
$(settings.tab).delegate('li:not(.'+settings.tabCurrent+')', 'click', function() {
|
164
|
+
var $el = $(this);
|
165
|
+
$el
|
166
|
+
.addClass(settings.tabCurrent)
|
167
|
+
.siblings().removeClass(settings.tabCurrent)
|
168
|
+
.parents(settings.tabSection).find(settings.tabContent).eq($el.index()).fadeIn(150)
|
169
|
+
.siblings(settings.tabContent).hide();
|
170
|
+
});
|
171
|
+
});
|
172
|
+
})(jQuery)
|
173
|
+
</script>
|
174
|
+
</body>
|
175
|
+
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en" class="home">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<title>HTML</title>
|
6
|
+
<meta name="description" content="">
|
7
|
+
<meta name="author" content="">
|
8
|
+
<!-- Mobile Specific Metas -->
|
9
|
+
<!-- <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"> -->
|
10
|
+
<!-- CSS style -->
|
11
|
+
<link rel="stylesheet" href="css/index.css?v=1">
|
12
|
+
<!-- CSS for developers -->
|
13
|
+
<!-- <link rel="stylesheet" href="css/dev.css?v=1" media="screen"> -->
|
14
|
+
<!-- Scripts -->
|
15
|
+
<script data-headjs-load="js/init.js" src="js/min/head.min.js"></script>
|
16
|
+
</head>
|
17
|
+
<body>
|
18
|
+
<header role="banner" class="header container"></header>
|
19
|
+
<div role="main" class="content container">
|
20
|
+
<section role="section" class="main-section"></section><!--end main-section-->
|
21
|
+
</div><!--end content-->
|
22
|
+
<footer role="contentinfo" class="footer container"></footer><!--end footer-->
|
23
|
+
</body>
|
24
|
+
</html>
|
@@ -0,0 +1,79 @@
|
|
1
|
+
<?php
|
2
|
+
$templateName = themeName();
|
3
|
+
function themeName(){
|
4
|
+
$themeNameDir = dirname(__FILE__);
|
5
|
+
$themeNameArr = explode("/", $themeNameDir);
|
6
|
+
$themeNameVar = end($themeNameArr);
|
7
|
+
return $themeNameVar;
|
8
|
+
}
|
9
|
+
?>
|
10
|
+
<!DOCTYPE HTML>
|
11
|
+
<html lang="en-US">
|
12
|
+
<head>
|
13
|
+
<meta charset="UTF-8">
|
14
|
+
<title><?=$templateName?></title>
|
15
|
+
<meta name="description" content="HTML&CSS template">
|
16
|
+
<meta name="author" content="Sergii Rudchyk">
|
17
|
+
<!-- Mobile Specific Metas -->
|
18
|
+
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
|
19
|
+
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
20
|
+
<style>
|
21
|
+
body{
|
22
|
+
background-color: #fafafa;
|
23
|
+
font: 1rem Arial, Helvetica, sans-serif;
|
24
|
+
}
|
25
|
+
a{
|
26
|
+
color: #287fc3;
|
27
|
+
}
|
28
|
+
a:hover{
|
29
|
+
text-decoration: none;
|
30
|
+
}
|
31
|
+
.theme-container{
|
32
|
+
max-width: 940px;
|
33
|
+
margin: auto;
|
34
|
+
}
|
35
|
+
.theme-thumbnail,
|
36
|
+
.theme-title{
|
37
|
+
text-align: center
|
38
|
+
}
|
39
|
+
.theme-thumbnail{
|
40
|
+
padding: 1em;
|
41
|
+
}
|
42
|
+
.theme-thumbnail-pic{
|
43
|
+
box-shadow: 0 0 15px #ccc;
|
44
|
+
max-width: 100%;
|
45
|
+
}
|
46
|
+
.theme-list{
|
47
|
+
max-width: 500px;
|
48
|
+
margin: auto;
|
49
|
+
padding-bottom: 1em;
|
50
|
+
}
|
51
|
+
@media only screen and (max-width: 1024px) {
|
52
|
+
.theme-list{
|
53
|
+
padding: 0 1em;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
.fa{
|
57
|
+
font-size: 11px;
|
58
|
+
}
|
59
|
+
</style>
|
60
|
+
</head>
|
61
|
+
<body>
|
62
|
+
<div class="theme-container">
|
63
|
+
<h1 class="theme-title"><?=$templateName?></h1>
|
64
|
+
<ul class="theme-list">
|
65
|
+
<?php
|
66
|
+
if ($handle = opendir('.')) {
|
67
|
+
foreach (glob("*.html") as $filename) {
|
68
|
+
echo "<li class='theme-item'><a href='$filename' target='_blank' class='theme-item-link'>$filename</a> <i class='fa fa-external-link'></i></li>";
|
69
|
+
}
|
70
|
+
closedir($handle);
|
71
|
+
}
|
72
|
+
?>
|
73
|
+
</ul>
|
74
|
+
<div class="theme-thumbnail">
|
75
|
+
<img src="screenshot.jpg" alt="<?=$templateName?>" class="theme-thumbnail-pic">
|
76
|
+
</div>
|
77
|
+
</div>
|
78
|
+
</body>
|
79
|
+
</html>
|
@@ -0,0 +1 @@
|
|
1
|
+
$(document).ready(function() {});
|
@@ -0,0 +1,33 @@
|
|
1
|
+
(function($){
|
2
|
+
$("input[placeholder], textarea[placeholder]").each(function(){
|
3
|
+
var that = this;
|
4
|
+
if (hasClass(document.documentElement, 'ie') && that.placeholder && 'placeholder' in document.createElement(that.tagName)) return;
|
5
|
+
var placeholder = that.getAttribute('placeholder'),
|
6
|
+
input = $(that),
|
7
|
+
placeholderClass = 'text-placeholder';
|
8
|
+
if (that.value === '' || that.value == placeholder) {
|
9
|
+
input.addClass(placeholderClass);
|
10
|
+
that.value = placeholder;
|
11
|
+
}
|
12
|
+
input
|
13
|
+
.focus(function(){
|
14
|
+
if (input.hasClass(placeholderClass)) {
|
15
|
+
this.value = '';
|
16
|
+
input.removeClass(placeholderClass);
|
17
|
+
}
|
18
|
+
})
|
19
|
+
.blur(function(){
|
20
|
+
if (this.value === '') {
|
21
|
+
input.addClass(placeholderClass);
|
22
|
+
this.value = placeholder;
|
23
|
+
} else {
|
24
|
+
input.removeClass(placeholderClass);
|
25
|
+
}
|
26
|
+
});
|
27
|
+
that.form && jQuery(that.form).submit(function(){
|
28
|
+
if (input.hasClass(placeholderClass)) {
|
29
|
+
that.value = '';
|
30
|
+
}
|
31
|
+
});
|
32
|
+
});
|
33
|
+
})($);
|