Code Monkey home page Code Monkey logo

semantic-ui's People

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  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

semantic-ui's Issues

Modal with dimmer - working only once

Hi,
I've used this lib for the first time, I love the design and feel!

I've found a couple of problems, this is related to the modal:

To show the modal I use:

$('.ui.modal.signoff').modal('toggle')

This is the inspected HTML:

<div class="ui dimmer page visible active">
<div class="ui signoff modal transition visible active" style="margin-top: -198px;">
...
</div>
</div>

After closing the modal, this is the HTML (no more classes on the modal div!):

<div class="ui dimmer page hidden">
<div class="" style="margin-top: -198px;">
....
</div>
</div>

Alex

Checkbox (radio) in modal not working

Hi,
I'm displaying a radio group inside a modal and the radios are not selectable (clickable). Might be a z-index problem?

<div class="ui dimmer page visible active">
<div class="ui signoff modal transition visible active" style="margin-top: -198px;">
            <i class="close icon"></i>
            <div class="header">
              ...
            </div>
            <div class="content">
              <div class="left">
                <img class="ui image" src="images/avatar.jpg">
              </div>
              <div class="right">
                <div class="ui header">...</div>
                <div class="ui form">
                  <div class="grouped inline fields">
                    <div class="field">
                      <div class="ui radio checkbox">
                        <input type="radio" name="example" checked="checked" value="1">
                        <label></label>
                      </div>
                      <label>A</label>
                    </div>
                    <div class="field">
                      <div class="ui radio checkbox">
                        <input type="radio" name="example" value="2">
                        <label></label>
                      </div>
                      <label>B</label>
                    </div>
                    <div class="field">
                      <div class="ui radio checkbox">
                        <input type="radio" name="example" value="3">
                        <label></label>
                      </div>
                      <label>C</label>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <div class="actions">
            ...
            </div>
          </div>
</div>

Icon Extras

It would be awesome if font-awesome-ish icon styles were added.

E.g.

  • Rotated/Flipped Icons
  • Stacked Icons
  • Spinners

modules/modal: On 'show' passes default params

I may be not that experienced with UI but let me show what happens when I try to pass onHide function into the modal.
At first, I initialise it with these params. And I can see that the params were passed successfully:

        debug: false
        performance: false
        onHide: ->
            console.log "Hided!"
        onShow: ->
            console.log "Shown!" 

But if I try to show it:

$('.ui.modal').modal('show')

I get a modal with default params. E. g. with debug: true and without callbacks.

What am I doing wrong?

circular icon inside field isn't circular

<div class="field">
    <label>Password</label>
    <div class="ui right labeled icon input">
      <input type="password">
      <i class="circular inverted teal lock icon"></i>
    </div>
  </div>

examples/feed: right floated date

examples_feed

<a class="item">
  <i class="empty star link icon"></i>
  text
  <div class="right floated date">Sep 05, 2013</div>
</a>

should be

examples_feed_2

<a class="item">
  <div class="right floated date">Sep 05, 2013</div>
  <i class="empty star link icon"></i>
  text
</a>

So that it shows the text and dates like in the feed view.

views_feed

Make it really semantic

Please rework the whole codebase, especially the examples, to make the project semantic, as it states itself to be.

Where is the semantic in styling a DIV as a button? Use the BUTTON-element instead. It has a special purpose and meaning. And purpose and meaning are what drives semantics. Not the naming of a class.

Modal

Do you have Modal module in your Semantic UI?

Thanks!

Issue when closing the dimmer

In the second example of dimmer documentation to close it you have to click out of the centered div, and could mislead the user.
I think would be better if close when you click anywhere.

Add a select dropdown with a search input

I wnat to talk about the possibility of adding a select dropdown with input search, some like Select2, Selectize or Choosen... but restyled to fit to the apperance of semantic-ui.
With an animation when the dropdown appear.
Would be epic. I think would be very useful.

Autocomplete

I hope you will add autocomplete to your project soon... Thanks!

Modules events are being enqueued

The Dropdown and Dimmer hide and show events are being enqueued and executing multiple times.
To reproduce that try clicking the dropdown or dimmer button multiple times.

AJAX form validation

Does you have any plans to add any kind of AJAX-validations support for the form validation module? I think, it would be great.

More Specification Information

i want to say well done ... Good Job ๐Ÿ‘ I think it would be nice to add more specification such as

  • Supported Browser
  • CSS version
  • Possible Dependency (eg HTML5)
  • Mobile Compatibility
  • Performance
  • etc

modules/accordion: colored table segment without curved corners

The border corners in the table segments in modules/accordion...

modules_accordion

...should look like that of the colored segments in elements/segment.

elements_segment

The tables on the doc pages of the other modules use celled definition table segments instead of colored table segments. Do the definition tables supersede the colored tables? It would be nice to have an example of a colored table segment in collections/table.

modules_rating

Form Validations

To make inline validation perfect (the last example here http://semantic-ui.com/modules/form.html) according to the UX, the scenario should be like that:

  1. I enter 'wrong' data, no error is showed.
  2. I move focus to the other input and in case of wrong data in previous one the inline error appears.
  3. I return to the input with wrong data and (this part works wrong now) as only as I enter correct data the error message disappears.
    Now check happens only when the input loses focus. But in case of error already shown check should happen after every sign typed.
    form validation

On the website, 'Download' uses the 'Upload' icon

In both the sidebar and the main button on the homepage, this isn't very semantic.

There is a download icon available on Fontello.

Class stack you're using:

inverted circular red upload icon

What it should probably be:

inverted circular red download icon

improve the semantic about menu component

if you have a list of items, you probably have to work with UL followed by LI

and if you have a short piece of code inside your menu, you shouldn't use DIV, because W3C recommends SMALL tag to do this.

elements/divider: Icon in input field caused wrong left offset in corner label icon

elements_divider

<div class="field">
  <label>Username</label>
  <div class="ui labeled icon input">
    <input type="password" placeholder="Username">
    <i class="user icon"></i>
    <div class="ui corner label">
      <i class="asterisk icon"></i>
    </div>
  </div>
</div>

How the corner label icon looks if the icon i in the input field and the class icon in the div are removed:

elements_divider_2

<div class="field">
  <label>Username</label>
  <div class="ui labeled input">
    <input type="password" placeholder="Username">
    <div class="ui corner label">
      <i class="asterisk icon"></i>
    </div>
  </div>
</div>

Also: input type should not be "password" for the username.

Conditional button only with "or" word

In the conditional buttons there is no the chance to choose the word of inside.
Imagine that someone wants to put "and" instead, or just a word in another language.

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.