Skip to content

Commit

Permalink
compile postCSS
Browse files Browse the repository at this point in the history
  • Loading branch information
tadatuta committed Dec 15, 2016
1 parent 5acbbea commit ad91fa9
Show file tree
Hide file tree
Showing 104 changed files with 3,346 additions and 0 deletions.
9 changes: 9 additions & 0 deletions common.blocks/attach/attach.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.attach {
touch-action: manipulation;
}
.attach__file,
.attach__no-file,
.attach_disabled .attach__clear,
.attach .button__text {
display: none;
}
3 changes: 3 additions & 0 deletions common.blocks/button/button.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.button {
touch-action: manipulation;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.test {
width: 150px;
}
5 changes: 5 additions & 0 deletions common.blocks/checkbox/_type/checkbox_type_button.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.checkbox.checkbox_type_button .checkbox__control {
position: absolute;

visibility: hidden;
}
3 changes: 3 additions & 0 deletions common.blocks/checkbox/checkbox.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.checkbox {
touch-action: manipulation;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.test {
padding: 5px;
width: 150px;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.test {
display:inline-block;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.separator {
width: 100%;
height: 1px;
margin: 25px 0;

border-top: 1px solid #808080;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.test {
display: inline-block;

padding-right: 30px;
}
22 changes: 22 additions & 0 deletions common.blocks/icon/icon.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.icon {
display: inline-block;

text-align: center;

background: 50% no-repeat;
}
/* Hack for correct baseline positioning */
.icon:empty:after {
visibility: hidden;
content: '\00A0';
}
/*
* Чтобы иконка правильно позиционировалась внутри блочного контекста,
* нужно прописать родителю свойство line-height со значением, равным высоте иконки
*/
.icon > img,
.icon > svg {
margin: -5.15em 0 -5em;
/* 0.15 — magic number, empirically found */
vertical-align: middle;
}
3 changes: 3 additions & 0 deletions common.blocks/image/image.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.image {
border: 0;
}
3 changes: 3 additions & 0 deletions common.blocks/input/input.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.input {
touch-action: manipulation;
}
5 changes: 5 additions & 0 deletions common.blocks/input/input.tests/gemini.blocks/test/test.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.test {
display: inline-block;

margin-right: 10px;
}
3 changes: 3 additions & 0 deletions common.blocks/link/link.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.link {
touch-action: manipulation;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.separator {
padding-bottom: 15px;
}
3 changes: 3 additions & 0 deletions common.blocks/menu/__item/menu__item.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.menu__item {
touch-action: manipulation;
}
3 changes: 3 additions & 0 deletions common.blocks/menu/menu.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.menu {
overflow-y: auto;
}
9 changes: 9 additions & 0 deletions common.blocks/menu/menu.tests/gemini.blocks/test/test.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.test {
display: table-cell;

width: 150px;
padding-right: 20px;
}
.test .menu {
border: 1px solid rgba(0, 0, 0, 0.1);
}
18 changes: 18 additions & 0 deletions common.blocks/menu/menu.tests/simple.blocks/test/test.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.test {
display: table-cell;

width: 150px;
padding: 1px;

border-right: 20px solid transparent;
}
.test h3 {
margin-top: 0;
}
.test .button {
display: block;
margin: 5px;
}
.test .menu[class*="menu_theme"] {
border: 1px solid rgba(0, 0, 0, 0.1);
}
26 changes: 26 additions & 0 deletions common.blocks/modal/modal.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.modal {
position: fixed;
top: 0;
left: 0;

height: 100%;
width: 100%;

overflow-y: auto;

-webkit-overflow-scrolling: touch;
}
.modal__table {
display: table;
width: 100%;
height: 100%;
text-align: center;
}
.modal__cell {
display: table-cell;
vertical-align: middle;
}
.modal__content {
display: inline-block;
text-align: left;
}
14 changes: 14 additions & 0 deletions common.blocks/modal/modal.tests/simple.blocks/test/test.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.test {
margin: 10px 0;
}

.test__content
{
width: 450px;
padding: 20px;
}

.page_hide-scroll {
overflow: hidden;
min-height: 100vh;
}
3 changes: 3 additions & 0 deletions common.blocks/popup/popup.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.popup {
position: absolute;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.directions {
padding: 70px;
}
.directions__cell {
padding: 8px;
}
.directions__cell_border_yes {
border: 1px solid #ccc;
}
.directions__cell_align_left {
text-align: left;
}
.directions__cell_align_center {
text-align: center;
}
.directions__cell_align_right {
text-align: right;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.page {
padding: 15px;
}
14 changes: 14 additions & 0 deletions common.blocks/popup/popup.examples/20-popup.blocks/popup/popup.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.popup:after {
font-size: 10px;
line-height: 10px;

position: absolute;
top: 0;
right: 0;

display: block;

content: 'z-index: ' attr(zindex);

color: #ddd;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.scrollable {
overflow: auto;

width: 300px;
height: 300px;

background-color: #eee;
}
.scrollable .test {
position: relative;
width: 800px;
height: 800px;
}
.scrollable .test .link {
position: absolute;
top: 50%;
left: 50%;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.summon-test {
display: inline-block;

margin-bottom: 1em;
padding: 10px;

background-color: #eee;
}
.summon-test__popup {
padding: 10px;
}
.summon-test .test {
display: inline-block;
margin-right: 100px;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.test__popup {
padding: 16px;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.test-wrap {
position: relative;
height: 400px;
}
25 changes: 25 additions & 0 deletions common.blocks/popup/popup.tests/gemini.blocks/test/test.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.test {
position: absolute;
}
.test_direction_all,
.test_direction_left,
.test_direction_right {
top: 200px;
}
.test_direction_all {
left: 300px;
}
.test_direction_left {
left: 170px;
}
.test_direction_right {
left: 410px;
}
.test_direction_bottom {
top: 250px;
left: 280px;
}
.test_direction_top {
top: 150px;
left: 290px;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.test-wrap {
position: relative;
height: 400px;
}
25 changes: 25 additions & 0 deletions common.blocks/popup/popup.tests/simple.blocks/test/test.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.test {
position: absolute;
}
.test_direction_all,
.test_direction_left,
.test_direction_right {
top: 200px;
}
.test_direction_all {
left: 300px;
}
.test_direction_left {
left: 170px;
}
.test_direction_right {
left: 410px;
}
.test_direction_bottom {
top: 250px;
left: 280px;
}
.test_direction_top {
top: 150px;
left: 290px;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.test {
width: 300px;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.test {
display: inline-block;

margin: 0 55px 10px 0;
}
5 changes: 5 additions & 0 deletions common.blocks/radio/_type/radio_type_button.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.radio.radio_type_button .radio__control {
position: absolute;

visibility: hidden;
}
3 changes: 3 additions & 0 deletions common.blocks/radio/radio.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.radio {
touch-action: manipulation;
}
3 changes: 3 additions & 0 deletions common.blocks/select/select.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.select {
display: inline-block;
}
4 changes: 4 additions & 0 deletions common.blocks/select/select.tests/gemini.blocks/test/test.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.test {
width: 220px;
padding: 0 40px 150px 0;
}
3 changes: 3 additions & 0 deletions common.blocks/textarea/textarea.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.textarea {
touch-action: manipulation;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.test {
display: inline-block;

margin-right: 10px;
}
30 changes: 30 additions & 0 deletions common.blocks/z-index-group/z-index-group.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.z-index-group_level_0 {
z-index: 1000
}
.z-index-group_level_1 {
z-index: 2000
}
.z-index-group_level_2 {
z-index: 3000
}
.z-index-group_level_3 {
z-index: 4000
}
.z-index-group_level_4 {
z-index: 5000
}
.z-index-group_level_5 {
z-index: 6000
}
.z-index-group_level_6 {
z-index: 7000
}
.z-index-group_level_7 {
z-index: 8000
}
.z-index-group_level_8 {
z-index: 9000
}
.z-index-group_level_9 {
z-index: 10000
}
Loading

0 comments on commit ad91fa9

Please sign in to comment.