-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'task/dev/#65' into nightly
- Loading branch information
Showing
9 changed files
with
383 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@charset "utf-8"; | ||
|
||
@import "../style/variables.less"; | ||
@import "/api/mixin.less"; | ||
@import "../style/control.less"; | ||
|
||
@edge-section-color: #444; | ||
|
||
|
||
// h3, h4 {display: none; } | ||
h3 { .font(1.2em); padding-left: 1.0em; } | ||
h4 { .font(1.1em); padding-left: 1.2em; } | ||
|
||
body { .color(#333, #eee); } | ||
|
||
div { .indent(1em); } // .edge(@edge-section-color); | ||
button, input, textarea { color: #eee; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<!DOCTYPE html> | ||
<html lang="ru"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | ||
<link rel="stylesheet/less" type="text/css" href="component.less" /> | ||
<script src="/less.js"></script> | ||
<title>UI компоненты</title> | ||
</head> | ||
<body> | ||
<main> | ||
<h3>Controls</h3> | ||
<section> | ||
<h4>Button</h4> | ||
<article> | ||
<div class="components"> | ||
<button class="control button small accent darken">Кнопка</button> | ||
<button class="control button small accent">Кнопка</button> | ||
<button class="control button small fade darken">Кнопка</button> | ||
<button class="control button small fade">Кнопка</button> | ||
<button class="control button small darken">Кнопка</button> | ||
<button class="control button small">Кнопка</button> | ||
</div> | ||
|
||
<div class="components"> | ||
<button class="control button medium accent darken">Средняя кнопка</button> | ||
<button class="control button medium accent">Средняя кнопка</button> | ||
<button class="control button medium fade darken">Средняя кнопка</button> | ||
<button class="control button medium fade">Средняя кнопка</button> | ||
<button class="control button medium darken">Средняя кнопка</button> | ||
<button class="control button medium">Средняя кнопка</button> | ||
</div> | ||
|
||
<div class="components"> | ||
<button class="control button large accent darken">Очень большая кнопка</button> | ||
<button class="control button large accent">Очень большая кнопка</button> | ||
<button class="control button large fade darken">Очень большая кнопка</button> | ||
<button class="control button large fade">Очень большая кнопка</button> | ||
<button class="control button large darken">Очень большая кнопка</button> | ||
<button class="control button large">Очень большая кнопка</button> | ||
</div> | ||
</article> | ||
|
||
<h4>Input</h4> | ||
<article> | ||
<div class="components"> | ||
<div class="control input"> | ||
<input type="text" required /> | ||
<label>Текстовое поле</label> | ||
<span class="ripple"></span> <!-- анимации --> | ||
</div> | ||
</div> | ||
</article> | ||
|
||
<h4>Textarea</h4> | ||
<article> | ||
<div class="components"> | ||
<div class="control input"> | ||
<textarea required></textarea> | ||
<label>Текстовое поле</label> | ||
<span class="ripple"></span> <!-- анимации --> | ||
</div> | ||
</div> | ||
</article> | ||
|
||
</section> | ||
</main> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.