Exemplo n.º 1
0
# flake8: noqa

from wdom.tag import NewTagClass as NewTag
from wdom.themes import *

name = 'Furtive'
project_url = 'http://furtive.co/'
project_repository = 'https://github.com/johnotander/furtive'
license = 'MIT License'
license_url = 'https://github.com/johnotander/furtive/blob/master/LICENSE'

css_files = [
    '//cdnjs.cloudflare.com/ajax/libs/furtive/2.2.3/furtive.css',
]

Button = NewTag('Button', 'a', Button, class_='btn', is_='button')
DefaultButton = NewTag('DefaultButton', 'a', Button, is_='default-button')
PrimaryButton = NewTag('PrimaryButton',
                       'a',
                       Button,
                       class_='btn--blue',
                       is_='primary-button')
SecondaryButton = NewTag('SecondaryButton',
                         'a',
                         Button,
                         is_='secondary-button')
SuccessButton = NewTag('SuccessButton',
                       'a',
                       Button,
                       class_='btn--green',
                       is_='success-button')
Exemplo n.º 2
0
# flake8: noqa

from wdom.tag import NewTagClass as NewTag
from wdom.themes import *

name = 'Schema'
project_url = 'http://danmalarkey.github.io/schema/'
project_repository = 'https://github.com/danmalarkey/schema'
license = 'MIT License & CC BY 3.0 (EasyDropdown)'
license_url = 'https://github.com/danmalarkey/schema#license'

css_files = [
    '_static/css/schema.min.css',
]

Button = NewTag('Button', bases=Button, class_='btn')
DefaultButton = NewTag('DefaultButton', 'button', Button, class_='btn-default', is_='default-button')
PrimaryButton = NewTag('PrimaryButton', 'button', Button, class_='btn-primary', is_='primary-button')
SecondaryButton = NewTag('SecondaryButton', 'button', Button, class_='btn-default', is_='secondary-button')
SuccessButton = NewTag('SuccessButton', 'button', Button, class_='btn-success', is_='success-button')
InfoButton = NewTag('InfoButton', 'button', Button, class_='btn-info', is_='info-button')
WarningButton = NewTag('WarningButton', 'button', Button, class_='btn-warning', is_='warning-button')
DangerButton = NewTag('DangerButton', 'button', Button, class_='btn-danger', is_='danger-button')
ErrorButton = NewTag('ErrorButton', 'button', Button, class_='btn-danger', is_='error-button')
LinkButton = NewTag('LinkButton', 'button', Button, class_='btn-link', is_='link-button')

FormGroup = NewTag('FormGroup', 'div', FormGroup, class_='form-group')
Input = NewTag('Input', 'input', Input, class_='form-element')
TextInput = NewTag('TextInput', 'input', TextInput, class_='form-element')
Textarea = NewTag('Textarea', 'textarea', Textarea, class_='form-element')
Select = NewTag('Select', 'select', Select, class_='form-element')
Exemplo n.º 3
0
from wdom.themes import *

name = 'Milligram'
project_url = 'http://milligram.github.io/'
project_repository = 'https://github.com/milligram/milligram'
license = 'MIT License'
license_url = 'https://github.com/milligram/milligram/blob/master/license'

css_files = [
    '//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic',
    '//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css',
    '//cdnjs.cloudflare.com/ajax/libs/milligram/1.1.0/milligram.min.css'
]

DefaultButton = NewTag('DefaultButton',
                       'button',
                       Button,
                       class_='button-outline')
InfoButton = NewTag('InfoButton', 'button', Button, class_='button-outline')
PrimaryButton = NewTag('PrimaryButton',
                       'button',
                       Button,
                       class_='button-primary')
LinkButton = NewTag('LinkButton', 'button', Button, class_='button-clear')
Button = NewTag('Button', 'button', DefaultButton, class_='button-outline')

Container = NewTag('Container', 'div', Container, class_='container')
Wrapper = NewTag('Wrapper', 'div', Wrapper, class_='container')
Row = NewTag('Row', 'div', Row, class_='row')
Col = NewTag('Col', 'div', Col, class_='column')
Col1 = NewTag('Col1', 'div', Col1, class_='column-10 column')
Col2 = NewTag('Col2', 'div', Col2, class_='column-20 column')
Exemplo n.º 4
0
project_url = 'https://groundworkcss.github.io/groundwork/'
project_repository = 'https://github.com/groundworkcss/groundwork'
license = 'MIT License'
license_url = 'https://github.com/groundworkcss/groundwork/blob/master/LICENSE'

css_files = [
    '_static/css/groundwork.css',
]

js_files = [
    '//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js',
    '//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js',
    '_static/js/groundwork.all.js',
]

Button = NewTag('Button', bases=Button)
DefaultButton = NewTag('DefaultButton', 'button', Button, is_='default-button')
PrimaryButton = NewTag('PrimaryButton', 'button', Button, class_='blue', is_='primary-button')
SecondaryButton = NewTag('SecondaryButton', 'button', Button, class_='turquoise', is_='secondary-button')
SuccessButton = NewTag('SuccessButton', 'button', Button, class_='success', is_='success-button')
InfoButton = NewTag('InfoButton', 'button', Button, class_='info', is_='info-button')
WarningButton = NewTag('WarningButton', 'button', Button, class_='warning', is_='warning-button')
DangerButton = NewTag('DangerButton', 'button', Button, class_='error', is_='danger-button')
ErrorButton = NewTag('ErrorButton', 'button', Button, class_='error', is_='error-button')
LinkButton = NewTag('LinkButton', 'button', Button, class_='green', is_='link-button')

Row = NewTag('Row', 'div', Row, class_='row')
Col1 = NewTag('Col1', 'div', Col1, class_='one twelfth')
Col2 = NewTag('Col2', 'div', Col2, class_='one sixth')
Col3 = NewTag('Col3', 'div', Col3, class_='one fourth')
Col4 = NewTag('Col4', 'div', Col4, class_='one third')
Exemplo n.º 5
0
# flake8: noqa

from wdom.tag import NewTagClass as NewTag
from wdom.themes import *

name = 'Papier'
project_url = 'http://gugel.io/papier/'
project_repository = 'https://github.com/alexanderGugel/papier'
license = 'MIT License'
license_url = 'https://github.com/alexanderGugel/papier/blob/master/LICENSE.md'

css_files = [
    '//cdn.rawgit.com/alexanderGugel/papier/master/dist/papier-1.0.0.min.css',
]

DefaultButton = NewTag('DefaultButton', 'button', Button, class_='bg-white')
PrimaryButton = NewTag('PrimaryButton', 'button', Button, class_='bg-blue')
SecondaryButton = NewTag('SecondaryButton', 'button', Button, class_='bg-grey')
SuccessButton = NewTag('SuccessButton',
                       'button',
                       Button,
                       class_='bg-light-blue')
InfoButton = NewTag('InfoButton', 'button', Button, class_='bg-green')
WarningButton = NewTag('WarningButton', 'button', Button, class_='bg-orange')
DangerButton = NewTag('DangerButton', 'button', Button, class_='bg-red')
ErrorButton = NewTag('ErrorButton', 'button', Button, class_='bg-red')
LinkButton = NewTag('LinkButton', 'button', Button, class_='bg-cyan')

Row = NewTag('Row', 'div', Row, class_='row')
Col1 = NewTag('Col1', 'div', Col1, class_='col-1')
Col2 = NewTag('Col2', 'div', Col2, class_='col-2')
Exemplo n.º 6
0
project_repository = 'https://github.com/twbs/bootstrap'
license = 'MIT License'
license_url = 'https://github.com/twbs/bootstrap/blob/master/LICENSE'

css_files = [
    '//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css',
]

js_files = [
    '//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js',
    '//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js',
]

headers = []

Button = NewTag('Button', 'button', bases=Button, class_='btn')
# Inherit Button class defined here, to inherit 'btn' class
DefaultButton = NewTag('DefaultButton',
                       'button',
                       Button,
                       class_='btn-default',
                       is_='default-button')
PrimaryButton = NewTag('PrimaryButton',
                       'button',
                       Button,
                       class_='btn-primary',
                       is_='primary-button')
SecondaryButton = NewTag('SecondaryButton',
                         'button',
                         Button,
                         class_='btn-secondary',
Exemplo n.º 7
0
from wdom.themes import *

name = 'Bulma'
project_url = 'http://bulma.io/'
project_repository = 'https://github.com/jgthms/bulma/'
license = 'MIT License'
license_url = 'https://github.com/jgthms/bulma/blob/master/LICENSE'

css_files = [
    '//cdnjs.cloudflare.com/ajax/libs/bulma/0.0.20/css/bulma.min.css',
]

js_files = []
headers = []

Button = NewTag('Button', bases=Button, class_='button')
DefaultButton = NewTag('DefaultButton', 'button', Button, is_='default-button')
PrimaryButton = NewTag('PrimaryButton',
                       'button',
                       Button,
                       class_='is-primary',
                       is_='primary-button')
SecondaryButton = NewTag('SecondaryButton',
                         'button',
                         PrimaryButton,
                         class_='is-outlined',
                         is_='secondary-button')
SuccessButton = NewTag('SuccessButton',
                       'button',
                       Button,
                       class_='is-success',
Exemplo n.º 8
0
project_repository = 'https://github.com/kathamo/Kathamo'
license = 'MIT License'
license_url = 'https://github.com/kathamo/Kathamo/blob/master/LICENSE'

css_files = [
    '_static/css/kathamo.min.css',
]


class Button(_Button):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self.setAttribute('data-role', 'button')


DefaultButton = NewTag('DefaultButton', 'button', Button, is_='default-button')
PrimaryButton = NewTag('PrimaryButton', 'button', Button, is_='primary-button')
SecondaryButton = NewTag('DefaultButton',
                         'button',
                         Button,
                         is_='secondary-button')
SuccessButton = NewTag('DefaultButton', 'button', Button, is_='success-button')
InfoButton = NewTag('InfoButton', 'button', Button, is_='info-button')
WarningButton = NewTag('WarningButton', 'button', Button, is_='warning-button')
DangerButton = NewTag('DangerButton', 'button', Button, is_='danger-button')
ErrorButton = NewTag('ErrorButton', 'button', Button, is_='error-button')
LinkButton = NewTag('LinkButton', 'button', Button, is_='link-button')

Row = NewTag('Row', 'div', Row, class_='container')
Col1 = NewTag('Col1', 'div', Col1, class_='col-sm-1 col-md-1 col-lg-1')
Col2 = NewTag('Col2', 'div', Col2, class_='col-sm-2 col-md-2 col-lg-2')
Exemplo n.º 9
0
# flake8: noqa

from wdom.tag import NewTagClass as NewTag
from wdom.themes import *

name = 'Vital'
project_url = 'https://vitalcss.com/'
project_repository = 'https://github.com/doximity/vital'
license = 'Apache 2.0'
license_url = 'https://github.com/doximity/vital/blob/master/LICENSE.md'

css_files = [
    '//cdn.rawgit.com/doximity/vital/v2.2.1/dist/css/vital.min.css',
]

Button = NewTag('Button', bases=Button, class_='btn')
DefaultButton = NewTag('DefaultButton',
                       'button',
                       Button,
                       class_='solid',
                       is_='default-button')
PrimaryButton = NewTag('PrimaryButton',
                       'button',
                       DefaultButton,
                       class_='blue',
                       is_='primary-button')
SecondaryButton = NewTag('SecondaryButton',
                         'button',
                         Button,
                         class_='blue',
                         is_='secondary-button')
Exemplo n.º 10
0
from wdom.tag import NewTagClass as NewTag
from wdom.themes import *

name = 'Concise'
project_url = 'http://http://concisecss.com/'
project_repository = 'https://github.com/ConciseCSS/concise.css'
license = 'MIT License'
license_url = 'https://github.com/ConciseCSS/concise.css/blob/master/LICENSE'

css_files = [
    '//cdn.concisecss.com/v3.4.0/concise.min.css',
]
js_files = []
headers = []

DefaultButton = NewTag('DefaultButton', 'button', DefaultButton)
PrimaryButton = NewTag('PrimaryButton',
                       'button',
                       PrimaryButton,
                       class_='bg--primary')
SecondaryButton = NewTag('SecondaryButton',
                         'button',
                         SecondaryButton,
                         class_='bg--success')
SuccessButton = NewTag('SuccessButton',
                       'button',
                       SuccessButton,
                       class_='bg--success')
InfoButton = NewTag('InfoButton', 'button', InfoButton, class_='button--flat')
WarningButton = NewTag('WarningButton',
                       'button',
Exemplo n.º 11
0
name = 'Material Design Lite (MDL)'
project_url = 'http://www.getmdl.io/'
project_repository = 'https://github.com/google/material-design-lite'
license = 'Apache License 2.0'
license_url = 'https://github.com/google/material-design-lite/blob/master/LICENSE'

css_files = [
    '//fonts.googleapis.com/icon?family=Material+Icons',
    '//code.getmdl.io/1.1.3/material.indigo-pink.min.css',
]
js_files = [
    '//code.getmdl.io/1.1.3/material.min.js',
]
headers = []

Button = NewTag('Button', bases=Button, class_='mdl-button mdl-js-button')
DefaultButton = NewTag('DefaultButton',
                       'button',
                       Button,
                       class_='mdl-button--raised',
                       is_='default-button')
PrimaryButton = NewTag('PrimaryButton',
                       'button',
                       DefaultButton,
                       class_='mdl-button--primary',
                       is_='primary-button')
SecondaryButton = NewTag('SecondaryButton',
                         'button',
                         Button,
                         class_='mdl-button--raised',
                         is_='secondary-button')
Exemplo n.º 12
0
from wdom.tag import NewTagClass as NewTag
from wdom.themes import *

name = 'Pure'
project_url = 'http://purecss.io/'
project_repository = 'https://github.com/yahoo/pure/'
license = 'BSD License'
license_url = 'https://github.com/yahoo/pure/blob/master/LICENSE.md'

css_files = [
    '//yui.yahooapis.com/pure/0.6.0/pure-min.css',
    '_static/css/pure-extra.css',
]

Button = NewTag('Button', bases=Button, class_='pure-button')
DefaultButton = NewTag('DefaultButton', 'button', Button, is_='default-button')
PrimaryButton = NewTag('PrimaryButton', 'button', Button, class_='pure-button-primary', is_='primary-button')
SecondaryButton = NewTag('SecondaryButton', 'button', Button, class_='pure-button-secondary', is_='secondary-button')
SuccessButton = NewTag('SuccessButton', 'button', Button, class_='pure-button-success', is_='success-button')
InfoButton = NewTag('InfoButton', 'button', Button, class_='pure-button-secondary', is_='info-button')
WarningButton = NewTag('WarningButton', 'button', Button, class_='pure-button-warning', is_='warning-button')
DangerButton = NewTag('DangerButton', 'button', Button, class_='pure-button-error', is_='danger-button')
ErrorButton = NewTag('ErrorButton', 'button', Button, class_='pure-button-error', is_='error-button')
LinkButton = NewTag('LinkButton', 'button', Button, class_='pure-button-link', is_='link-button')

Form = NewTag('Form', 'form', Form, class_='pure-form')

Table = NewTag('Table', 'table', Table, class_='pure-table')

Row = NewTag('Row', 'div', Row, class_='pure-g')
Exemplo n.º 13
0
# flake8: noqa

from wdom.tag import NewTagClass as NewTag
from wdom.themes import *

name = 'Spectre'
project_url = 'https://picturepan2.github.io/spectre'
project_repository = 'https://github.com/picturepan2/spectre'
license = 'MIT License'
license_url = 'https://github.com/picturepan2/spectre/blob/master/LICENSE'

css_files = [
    '_static/css/spectre.min.css',
]

Button = NewTag('Button', bases=Button, class_='btn')
DefaultButton = NewTag('Button', bases=Button)
PrimaryButton = NewTag('PrimaryButton', bases=Button, class_='btn-primary')
SecondaryButton = NewTag('SecondaryButton', bases=Button)
SuccessButton = NewTag('SuccessButton', 'button', Button)
InfoButton = NewTag('InfoButton', 'button', Button)
WarningButton = NewTag('WarningButton', 'button', PrimaryButton)
DangerButton = NewTag('DangerButton', 'button', PrimaryButton)
ErrorButton = NewTag('ErrorButton', 'button', PrimaryButton)
LinkButton = NewTag('LinkButton', bases=Button, class_='btn-link')

FormGroup = NewTag('FormGroup', 'div', FormGroup)
FormInner = NewTag('FormInner', 'div', FormGroup, class_='form-group')
Select = NewTag('Select', 'select', Select, class_='form-select')

Table = NewTag('Table', 'table', Table, class_='table')
Exemplo n.º 14
0
# flake8: noqa

from wdom.tag import NewTagClass as NewTag
from wdom.themes import *

name = 'Bijou'
project_url = 'http://andhart.github.io/bijou/'
project_repository = 'https://github.com/andhart/bijou'
license = 'MIT License'
license_url = 'https://github.com/andhart/bijou/blob/master/LICENSE'

css_files = [
    '_static/css/bijou.min.css',
]

Button = NewTag('Button', bases=Button, class_='button small')
DefaultButton = NewTag('DefaultButton', 'button', Button, is_='default-button')
PrimaryButton = NewTag('PrimaryButton',
                       'button',
                       Button,
                       class_='primary',
                       is_='primary-button')
SecondaryButton = NewTag('SecondaryButton',
                         'button',
                         Button,
                         is_='secondary-button')
SuccessButton = NewTag('SuccessButton',
                       'button',
                       Button,
                       class_='success',
                       is_='success-button')
Exemplo n.º 15
0
# flake8: noqa

from wdom.tag import NewTagClass as NewTag
from wdom.themes import *

name = 'Bagpakk'
project_url = 'http://brutaldesign.github.io/bagpakk/'
project_repository = 'https://github.com/brutaldesign/bagpakk/'
license = 'MIT License'
license_url = 'https://github.com/brutaldesign/bagpakk/blob/master/LICENSE'

css_files = [
    '_static/css/bagpakk.min.css',
]

Button = NewTag('Button', 'a', class_='button-alt', is_='button')
DefaultButton = NewTag('DefaultButton',
                       'a',
                       class_='button-alt',
                       is_='default-button')
PrimaryButton = NewTag('PrimaryButton',
                       'a',
                       class_='button',
                       is_='primary-button')
SecondaryButton = NewTag('SecondaryButton',
                         'a',
                         class_='button-alt',
                         is_='secondary-button')
SuccessButton = NewTag('SuccessButton',
                       'a',
                       class_='button',
Exemplo n.º 16
0
name = 'INK'
project_url = 'http://ink.sapo.pt/'
project_repository = 'https://github.com/sapo/Ink/'
license = 'MIT License'
license_url = 'https://github.com/sapo/Ink/blob/develop/LICENSE'

css_files = [
    '//fastly.ink.sapo.pt/3.1.10/css/ink.css',
]
js_files = [
    '//fastly.ink.sapo.pt/3.1.10/js/ink-all.js',
]
headers = []

Button = NewTag('Button', 'button', Button, class_='ink-button')
DefaultButton = NewTag('DefaultButton', 'button', Button, is_='default-button')
PrimaryButton = NewTag('PrimaryButton',
                       'button',
                       Button,
                       class_='blue',
                       is_='primary-button')
SecondaryButton = NewTag('SecondaryButton',
                         'button',
                         Button,
                         is_='secondary-button')
SuccessButton = NewTag('SuccessButton',
                       'button',
                       Button,
                       class_='green',
                       is_='success-button')
Exemplo n.º 17
0
# flake8: noqa

from wdom.tag import NewTagClass as NewTag
from wdom.themes import *

name = 'Picnic'
project_url = 'http://picnicss.com/'
project_repository = 'https://github.com/picnicss/picnic'
license = 'MIT License'
license_url = 'https://github.com/picnicss/picnic/blob/master/LICENSE'

css_files = [
    '//cdn.jsdelivr.net/picnicss/5.1.0/picnic.min.css',
]

Button = NewTag('Button', bases=Button)
DefaultButton = NewTag('DefaultButton', 'button', Button, is_='default-button')
PrimaryButton = NewTag('PrimaryButton', 'button', Button, is_='primary-button')
SecondaryButton = NewTag('SecondaryButton', 'button', Button, is_='secondary-button')
SuccessButton = NewTag('SuccessButton', 'button', Button, class_='success', is_='success-button')
InfoButton = NewTag('InfoButton', 'button', Button, is_='info-button')
WarningButton = NewTag('WarningButton', 'button', Button, class_='warning', is_='warning-button')
DangerButton = NewTag('DangerButton', 'button', Button, class_='error', is_='danger-button')
ErrorButton = NewTag('ErrorButton', 'button', Button, class_='error', is_='error-button')
LinkButton = NewTag('LinkButton', 'button', Button, class_='pseudo', is_='link-button')

Row = NewTag('Row', 'div', Row, class_='row')
Col1 = NewTag('Col1', 'div', Col1)
Col2 = NewTag('Col2', 'div', Col2)
Col3 = NewTag('Col3', 'div', Col3, class_='fourth')
Col4 = NewTag('Col4', 'div', Col4, class_='third')
Exemplo n.º 18
0
name = 'MUI'
project_url = 'https://www.muicss.com/'
project_repository = 'https://github.com/muicss/mui'
license = 'MIT License'
license_url = 'https://github.com/muicss/mui/blob/master/LICENSE.txt'

css_files = [
    '//cdn.muicss.com/mui-0.5.1/css/mui.min.css',
]
js_files = [
    '//cdn.muicss.com/mui-0.5.1/js/mui.min.js',
]
headers = []

Button = NewTag('Button', bases=Button, class_='mui-btn')
RaisedButton = NewTag('RaisedButton',
                      'button',
                      Button,
                      class_='mui-btn--raised')
FlatButton = NewTag('FlatButton', 'button', Button, class_='mui-btn--flat')
DefaultButton = NewTag('DefaultButton',
                       'button',
                       RaisedButton,
                       is_='default-button')
PrimaryButton = NewTag('PrimaryButton',
                       'button',
                       RaisedButton,
                       class_='mui-btn--primary',
                       is_='primary-button')
SecondaryButton = NewTag('SecondaryButton',
Exemplo n.º 19
0
class TypedButton(Button):
    type_ = None
    outline = False

    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        if self.type_:
            self.setAttribute('type', self.type_)
        if self.outline:
            self.setAttribute('outline', True)


DefaultButton = NewTag('DefaultButton',
                       'button',
                       TypedButton,
                       type_='black',
                       outline=True,
                       is_='default-button')
PrimaryButton = NewTag('PrimaryButton',
                       'button',
                       TypedButton,
                       type_='primary',
                       is_='primary-button')
SecondaryButton = NewTag('SecondaryButton',
                         'button',
                         TypedButton,
                         type_='black',
                         outline=True,
                         is_='secondary-button')
SuccessButton = NewTag('SuccessButton',
                       'button',
Exemplo n.º 20
0
from wdom.tag import NewTagClass as NewTag
from wdom.themes import *

name = 'Siimple'
project_url = 'https://siimple.github.io/'
project_repository = 'https://github.com/siimple/siimple/'
license = 'MIT License'
license_url = 'https://github.com/siimple/siimple/blob/master/LICENSE.md'

css_files = [
    '_static/css/siimple.min.css',
]

PrimaryButton = NewTag('PrimaryButton',
                       bases=Button,
                       class_='btn',
                       is_='primary-button')
SuccessButton = NewTag('SuccessButton',
                       'button',
                       PrimaryButton,
                       is_='success-button')
InfoButton = NewTag('InfoButton', 'button', PrimaryButton, is_='info-button')
WarningButton = NewTag('WarningButton',
                       'button',
                       PrimaryButton,
                       is_='warning-button')
DangerButton = NewTag('DangerButton',
                      'button',
                      PrimaryButton,
                      is_='danger-button')
ErrorButton = NewTag('ErrorButton',
Exemplo n.º 21
0
license_url = 'https://github.com/Semantic-Org/Semantic-UI/blob/master/LICENSE.md'

css_files = [
    '//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.8/semantic.min.css',
]

# Need jQuery
js_files = [
    '//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js',
    '//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.8/semantic.min.js',
]

headers = []

# Buttons http://semantic-ui.com/elements/button.html
Button = NewTag('Button', bases=Button, class_='ui button')
DefaultButton = NewTag('DefaultButton', 'button', Button, is_='default-button')
PrimaryButton = NewTag('PrimaryButton',
                       'button',
                       Button,
                       class_='primary',
                       is_='primary-button')
SecondaryButton = NewTag('SecondaryButton',
                         'button',
                         Button,
                         class_='blue',
                         is_='secondary-button')
SuccessButton = NewTag('SuccessButton',
                       'button',
                       Button,
                       class_='teal',
Exemplo n.º 22
0
from wdom.tag import NewTagClass as NewTag
from wdom.themes import *

name = 'Skeleton'
project_url = 'http://getskeleton.com/'
project_repository = 'https://github.com/dhg/Skeleton'
license = 'MIT License'
license_url = 'https://github.com/dhg/Skeleton/blob/master/LICENSE.md'

css_files = [
    '//cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css',
]

PrimaryButton = NewTag('PrimaryButton',
                       'button',
                       Button,
                       class_='button-primary',
                       is_='primary-button')
Container = NewTag('Container', 'div', Container, class_='container')
Wrapper = NewTag('Wrapper', 'div', Wrapper, class_='container')
Row = NewTag('Row', 'div', Row, class_='row')
Col = NewTag('Col', 'div', Col, class_='columns')
Col1 = NewTag('Col1', 'div', Col1, class_='one column')
Col2 = NewTag('Col2', 'div', Col2, class_='two columns')
Col3 = NewTag('Col3', 'div', Col3, class_='three columns')
Col4 = NewTag('Col4', 'div', Col4, class_='four columns')
Col5 = NewTag('Col5', 'div', Col5, class_='five columns')
Col6 = NewTag('Col6', 'div', Col6, class_='six columns')
Col7 = NewTag('Col7', 'div', Col7, class_='seven columns')
Col8 = NewTag('Col8', 'div', Col8, class_='eight columns')
Col9 = NewTag('Col9', 'div', Col9, class_='nine columns')
Exemplo n.º 23
0
project_repository = 'https://github.com/twistedpixel/spark/'
license = 'MIT License'
license_url = 'https://github.com/twistedpixel/spark/blob/master/dist/LICENSE'

css_files = [
    '_static/css/spark.min.css',
]

js_files = [
    '//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js',
    '_static/js/spark.min.js',
]

headers = []

Button = NewTag('Button', bases=Button, class_='btn flat')
DefaultButton = NewTag('DefaultButton',
                       'button',
                       Button,
                       class_='black',
                       is_='default-button')
PrimaryButton = NewTag('PrimaryButton',
                       'button',
                       Button,
                       class_='blue',
                       is_='primary-button')
SecondaryButton = NewTag('SecondaryButton',
                         'button',
                         Button,
                         class_='green',
                         is_='secondary-button')
Exemplo n.º 24
0
project_repository = 'https://github.com/zurb/foundation-sites'
license = 'MIT License'
license_url = 'https://github.com/zurb/foundation-sites/blob/develop/LICENSE'

css_files = [
    '//cdn.jsdelivr.net/foundation/6.2.1/foundation.min.css',
]

js_files = [
    '//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js',
    '//cdn.jsdelivr.net/foundation/6.2.1/foundation.min.js',
]

headers = []

Button = NewTag('Button', bases=Button, class_='button')
DefaultButton = NewTag('DefaultButton',
                       'button',
                       Button,
                       class_='hollow secondary',
                       is_='default-button')
PrimaryButton = NewTag('PrimaryButton', 'button', Button, is_='primary-button')
SecondaryButton = NewTag('SecondaryButton',
                         'button',
                         Button,
                         class_='secondary',
                         is_='secondary-button')
SuccessButton = NewTag('SuccessButton',
                       'button',
                       Button,
                       class_='success',
Exemplo n.º 25
0
# flake8: noqa

from wdom.tag import NewTagClass as NewTag
from wdom.themes import *

name = 'SkyBlue'
project_url = 'http://stanko.github.io/skyblue/'
project_repository = 'https://github.com/Stanko/skyblue'
license = 'MIT License'
license_url = 'https://github.com/Stanko/skyblue/blob/gh-pages/LICENSE.md'

css_files = [
    '_static/css/skyblue.min.css',
]

Button = NewTag('Button', 'a', bases=A, class_='btn', is_='button')
DefaultButton = NewTag('DefaultButton',
                       'a',
                       Button,
                       class_='btn-dark',
                       is_='default-button')
PrimaryButton = NewTag('PrimaryButton', 'a', Button, is_='primary-button')
SecondaryButton = NewTag('SecondaryButton',
                         'a',
                         Button,
                         class_='btn-light',
                         is_='secondary-button')
SuccessButton = NewTag('SuccessButton',
                       'a',
                       Button,
                       class_='btn-success',