Code Monkey home page Code Monkey logo

maxmertkit's Introduction

[NOT SUPPORTED ANYMORE]

Join the chat at https://gitter.im/maxmert/maxmertkit

Build Status

Maxmertkit, powerful, most customizable and easiest for usage mobile first front-end framework for web-development, created by Vetrenko Maxim, and maintained by the core team with the support and involvement of the community.

To get started, check out http://maxmert.com!

Table of contents

Quick start

Three quick start options are available:

Read the Start page for information on the framework contents, howto videos, examples, and more.

What's included

Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations.

Bugs, errors and feature requests

Have a bug, text error or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Documentation

Maxmertkit's documentation, included in this repo in the root directory, is run with Nodejs. The docs may be run locally.

Running documentation locally

Go to maxmert.com/start and watch HOWTO video

  1. If necessary, install Nodejs, install NPM, install Bower.
  2. From the root /maxmertkit directory, run npm install in the command line.
  3. Run bower install in the command line.
  4. From the /docs directory, run npm install in the command line.
  5. From the /docs directory, run bower install in the command line.
  6. From the root /maxmertkit directory, run gulp in the command line.
  7. Open http://localhost:3333 in your browser.

Documentation for previous releases

Documentation for v0.0.2 has been made available for the time being at http://old.maxmert.com while folks transition to Maxmertkit 1.0.0.

Compiling CSS and JavaScript

Maxmertkit uses Gulp with convenient methods for working with the framework. It's how we compile our code, run tests, and more. To use it, install the required dependencies as directed and then run some Gulp commands.

Install Gulp

From the command line:

  1. Install gulp globally with npm install -g gulp (maybe you'll need to run it with sudosudo npm install -g gulp).
  2. Read about running documentation locally.

When completed, you'll be able to run the various Gulp commands provided from the command line.

Unfamiliar with npm? Don't have node installed? That's a-okay. npm stands for node packaged modules and is a way to manage development dependencies through node.js. Download and install node.js before proceeding.

Available Gulp commands

Build and watch (development) - gulp

Run gulp to run buld and run documentation locally. It will compile coffeescript and sass into /docs and run nodemon server at port 3333.

Only compile CSS and JavaScript (production) - gulp build

Run gulp build to clear the /build directory and recompile all coffeescript and sass files with gzip and standart version.

Tests - gulp test

Troubleshooting dependencies

Should you encounter problems with installing dependencies or running Gulp commands, uninstall all previous dependency versions (global and local). Then, rerun npm install and bower install in the root and /docs directory.

Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

Moreover, if your pull request contains JavaScript patches or features, please include relevant unit tests. All HTML and CSS should conform to the Code Guide, maintained by Mark Otto.

Community

Keep track of development and community news.

Versioning

For transparency into our release cycle and in striving to maintain backward compatibility, Maxmertkit is maintained under the Semantic Versioning guidelines. Sometimes I screw up, but I'll adhere to these rules whenever possible.

Releases will be numbered with the following format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

  • Breaking backward compatibility bumps the major while resetting minor and patch
  • New additions without breaking backward compatibility bumps the minor while resetting the patch
  • Bug fixes and misc changes bumps only the patch

For more information on SemVer, please visit http://semver.org/.

Author

Vetrenko Maxim

Copyright and license

Code and documentation copyright 2012-2014 Maxmert. Code released under the MIT license. Docs released under Creative Commons.

Bitdeli Badge

maxmertkit's People

Contributors

bitdeli-chef avatar bonerdelli avatar gitter-badger avatar maxmert avatar parmactep avatar pyshcoder avatar tombyrer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

maxmertkit's Issues

Форма _horizontal_ не поддерживает адаптивную верстку

Пример указанный на сайте
http://maxmert.com/scaffolding#formHorizontal

  • никак не позволяет подстраивать форму под размеры экрана, что приводит к сведению на нет всей адаптивной верстки страницы с блоками

Устроило бы решение form grid,
http://maxmert.com/scaffolding#formGrid
если бы для ячеек без полей - не создавалась бы серая рамка.

Для себя использовал костыль в виде дополнительного класса, но ведь это не правильно
.-form .-form-field.text{
line-height: normal;
border-style: none;
text-align: right;
padding: 3px;
}

Горизонтальная форма должна модифицироваться в вертикальную, если размер экрана слишком мал?

Заменять модификаторы размера на виджетах

Когда перемещаешь размер на элемент и справа изменяется html, я заметил, что размер дописывается в конец, а не производится его замена на другой, при нескольких применений:

Левое меню не видно

страница http://maxmert.com/javascript . Если уменьшить размер окна браузера, появляется скрол, но левое меню уходит как бы "влево" и его становится не видно. Также справа под кнопкой fork me появляется белый фон.

ReferenceError: Modernizr is not defined

[21:26:27.430] ReferenceError: Modernizr is not defined @ file:///C:/Users/flicus/WebstormProjects/eva_search/static/js/maxmertkit.popup.js:249

javascript
$('.pageSize').popup({
trigger: 'hover, hover',
animation: 'scaleIn',
animationDuration: 400,
template: '

',
content: 'Количество результатов на странице',
placement: 'bottom',
onlyOne: true
});

html
https://gist.github.com/flicus/5124959

Открытие табов по наведению { trigger: 'hover' }

Работает если наводить только из-за пределов "рабочей области бразуера" в общем если навести сначала на адресную строку браузера, а потом на таб - тогда сработает, иначе никак.

Port to Dart

I'm slowly moving my javascript projects into google's Dart and while maxmertkit is my top choice for further projects, it would be nice to have it natively available.

Режется меню

В Сафари режется меню в левой колонке. Первые буквы не видны.
макбук айр, наверное 1440 на 900, окно чуть-меньше экрана, сафари 6.0.2

Иконки шрифтов в ie mobi

Доброе время суток.. Спасибо большое за работ вашу.. меня единственное останавливает от использования Font Awesome то что иконки не работаю в ie mobile .. Сам не нашел никаких способов решить эту проблему к сожалению..

IE полностью отказывается считывать стили, или что-то в этом роде, могу ошибаться.

Опыта не так много, чтобы решить проблему самому, а ваш фрйемворк крайне заинтересовал, подскажите.. в чем может быть проблема, в Chrome создал grid, она изначально отобразился только в цифрах, пришлось забраться на сайт и утащить из style.css строчку со стилями color-row, вставил их в maxmertkit.css, в Chrome успешно появились цвета блоков, но в IE 9 нету не только цветов, но и самих цифр то есть текст даже не виден, в чем может быть дело?
Для наглядности картинки: http://disk.tom.ru/gv4s42y

RTL Support.

Hi. Thanx for Nice Work.
Can you add the RTL Support feature?

Thumbnails

Пожелание: добавьте еще классы для вывода изображений. А-ля thumbnail в bootstrap.

БЭМ

А почему решили сделать фреймворк не на базе БЭМ?

Конструктор позволяет добавить несколько модификаторов одной группы

Если на модификатор dropdown навести сначала top а потом right то модификатор top не удаляется. Предотвращение дублирование можно сделать перечислением всех свйоств, а не только left для правых и etc. В таком случае будет работать последний модификатор, который будет в css.
Старый модификатор цвета или размера можно полностью заменять, а не добавлять существующий.

Как передать данные в modal?

Максим, приветветсвую. Спасибо за maxmertkit. Выбрал его для персонального проекта вместо всяких bootstrap и прочих.

Пытаюсь использовать modal вместо подтверждающего окошка для удаления данных. Как мне в modal передать данные? наприемер id или целую модель которую я сношу? (использую Ember JS). Нужно отследить нажатие кнопки в самом модале и удалить если подтвердили.

Спасибо

З.Ы: Надеюсь разработка не остановилась? а то уже обновлений не было с самого начала года.

Странное поведение form grid

Применяя классы -col# на .-form-field и на input получаем поля разной ширины.
Два input.-col1 по ширине меньше чем один input.-col2

Как мне кажется (хотя могу и ошибаться) код ниже должен построить форму с полями одинаковой ширины, если не во всех вариантах конструкций - то должен быть способ сделать это без лишнего гемороя :)

<form class="-form _horizontal_">
    <div class="-form-row">
        <label>Text</label>
        <span class="-form-field -col2">
            <input type="text"/>
        </span>
    </div>

    <div class="-form-row">
        <label>Text</label>
        <span class="-form-field">
            <input class="-col2" type="text"/>
        </span>
    </div>


    <div class="-form-row">
        <label>Select</label>
        <span class="-form-field">
            <select class="-col2">
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
            </select>
        </span>
    </div>

    <div class="-form-row">
        <label>Select</label>
        <span class="-form-field -col2">
            <select>
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
            </select>
        </span>
    </div>

    <div class="-form-row">
        <label>Inline</label>

        <span class="-form-field">
            <input class="-col1" type="text"/>
        </span>

        <span class="-form-field">
            <input class="-col1" type="text"/>
        </span>
    </div>

    <div class="-form-row">
        <label>Inline</label>

        <span class="-form-field -col1">
            <input type="text"/>
        </span>

        <span class="-form-field -col1">
            <input type="text"/>
        </span>
    </div>

    <div class="-form-row">
        <label>Group</label>

        <div class="-form-field -group">
            <input class="-col1" type="text"/>
            <input class="-col1" type="text"/>
        </div>
    </div>

    <div class="-form-row">
        <label>Group</label>

        <div class="-form-field -group _vertical_ -col2">
            <input type="text"/>
            <input type="text"/>
        </div>
    </div>
</form>

form_grid_bug

"Drop a widget here" area doesn't work

JavaScript error:
Uncaught TypeError: Cannot read property 'nodeName' of undefined global.js:157
(anonymous function) global.js:157
Y.event.dispatch libs.js:1
o.handle.u

Linux, Chrome 25.0.1364.29 dev

Долгая загрузка панели навигации на maxmert.com

Пользуюсь Gentoo Linux и Firefox 17.0.1.

На странице http://maxmert.com/social не загружается панель навигации и не активно боковое меню из-за того, что не возвращается callback от кнопки github.

В Firebug активный GET-запрос:
http://maxmert.com/services/social/githubForkButton?user=maxmert&repo=maxmertkit&counter=true&buttontext=Watch%20me

После большого таймаута появляется меню навигации и становится активным боковое меню кроме кнопки #delicious.

Бордер для кнопок

Еще стоит добавить хотя бы еле заметный верхний border для кнопок. Иначе с appendix и в группе с input они смотрятся странно — визуально элементы получаются разной высоты.

Шрифтовые иконы, виндовс

На маке, вероятно, со шрифтами ситуация получше, но в винде иконки выглядят действительно ужасно. Для хрома есть небольшой трюк. Если в font-face указать путь к svg-шрифту раньше, чем к woff, то ситуация заметно улучшается:

Выпадающий список в модальном окне

Если кнопка с выпадающим списком находится в модальном окне, то после его закрытия список не исчезает и остается в фиксированном положении.

p.s. Фреймворк шикарен, спасибо вам за такую работу=)

SQRe
SQR2

Label in forms

label — в примере прописан, но бесполезен

Login Help me

А вот так форма ломается

Login // Если перенести сюда Help me

При подключении минимизированной версии maxmertkit.min.js не работает модальное окно

Использую v 0.0.2, скачанную с сайта (http://maxmert.com/download).

Если подключать файл maxmertkit.min.js, то модельное окно (#div-modal), с классом "-modal" , отображается прямо на странице, не прячется после загрузки DOM, хотя к нему применяются css-стили.

<script type="text/javascript" src="/js/maxmertkit.min.js"></script>

В консоли браузера выдаются ошибки:

  1. e.kit is not a constructor 1 строке файла maxmertkit.min.js
    2 )$("#div-modal").modal is not a function в файле моего примера

Если подключить вместо одного два этих, то все работает отлично.

<script type="text/javascript" src="/js/maxmertkit.js"></script> <script type="text/javascript" src="/js/maxmertkit.modal.js"></script>

Спасибо за отличный фреймворк.

Артефакт при анимации появления модального окна

http://maxmert.com/javascript#modaljs

При нажатии на кнопку «Show modal» появляется окно с белой рамкой вокруг, после заверешения анимации рамка пропадает.

При этом, если модальное окно не закрывать и проскролить страницу, то артефакт в виде белой рамки опять появляется и пропадает.

Mac OS 10.7.5, Google Chrome 24.0.1312.52.

В Safari 6.0.2 (7536.26.17) такое не наблюдается.

Convert to coffeescript

As Vetrenko Maxim Sergeevich says : "Today all javascript code is native, but I want to rewrite it to coffee. It is easier to support coffee code."

My take would be http://js2coffee.org/ which (although it looks abandoned), it gives you a nice shortcut to coffee...
Then you can begin to better taking use of coffee's sugars :-)

Build error

[gulp] Finished 'kitSass' after 22 s
[gulp] maxmertkit.js saved 22.84 kB (51.65 kB -> 28.81 kB)

stream.js:94
throw er; // Unhandled stream error in pipe.
^
Error: Invalid arguments
at filesize (/Users/admin/Downloads/maxmertkit-1.0.0/node_modules/gulp-bytediff/node_modules/filesize/lib/filesize.js:33:9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.