Browse Source

Fix valign of icon message

pull/954/head
jlukic 11 years ago
parent
commit
93aa4b9a1a
5 changed files with 9 additions and 9 deletions
  1. 8
      server/documents/modules/sidebar.html.eco
  2. 2
      server/files/stylesheets/semantic.css
  3. 3
      src/definitions/modules/checkbox.less
  4. 2
      src/themes/packages/default/collections/message.variables
  5. 3
      src/themes/packages/default/modules/checkbox.variables

8
server/documents/modules/sidebar.html.eco

@ -234,7 +234,7 @@ type : 'UI Module'
<div class="ui styled sidebar">...</div> <div class="ui styled sidebar">...</div>
</div> </div>
<div class="ui labeled icon button"> <div class="ui labeled icon button">
<i class="reorder icon"></i>
<i class="left arrow icon"></i>
Show Show
</div> </div>
</div> </div>
@ -271,7 +271,7 @@ type : 'UI Module'
<div class="ui floating sidebar">...</div> <div class="ui floating sidebar">...</div>
</div> </div>
<div class="ui labeled icon button"> <div class="ui labeled icon button">
<i class="reorder icon"></i>
<i class="left arrow icon"></i>
Show Show
</div> </div>
</div> </div>
@ -435,7 +435,7 @@ type : 'UI Module'
; ;
</div> </div>
<div class="ui disabled secondary labeled icon toggle button"> <div class="ui disabled secondary labeled icon toggle button">
<i class="reorder icon"></i>
<i class="left arrow icon"></i>
Trigger Sidebar Trigger Sidebar
</div> </div>
</div> </div>
@ -452,7 +452,7 @@ type : 'UI Module'
; ;
</div> </div>
<div class="ui disabled secondary labeled icon open button"> <div class="ui disabled secondary labeled icon open button">
<i class="reorder icon"></i>
<i class="left arrow icon"></i>
Open Sidebar Open Sidebar
</div> </div>
</div> </div>

2
server/files/stylesheets/semantic.css

@ -626,6 +626,8 @@ body.guide .main.container > * {
#example .position.example .icon { #example .position.example .icon {
position: absolute; position: absolute;
margin: 0em; margin: 0em;
width: auto;
height: auto;
padding: 0.5em !important; padding: 0.5em !important;
} }
#example .position.example .segment { #example .position.example .segment {

3
src/definitions/modules/checkbox.less

@ -35,8 +35,8 @@
height: @checkboxSize; height: @checkboxSize;
font-size: 1rem; font-size: 1rem;
line-height: @checkboxLineHeight;
min-width: @checkboxSize; min-width: @checkboxSize;
line-height: @checkboxHeight;
backface-visibility: hidden; backface-visibility: hidden;
outline: none; outline: none;
@ -61,7 +61,6 @@
.ui.checkbox label { .ui.checkbox label {
cursor: pointer; cursor: pointer;
padding-left: @labelPadding; padding-left: @labelPadding;
line-height: @labelLineHeight;
outline: none; outline: none;
} }
.ui.checkbox label { .ui.checkbox label {

2
src/themes/packages/default/collections/message.variables

@ -57,7 +57,7 @@
@iconSize: 2em; @iconSize: 2em;
@iconOpacity: 0.8; @iconOpacity: 0.8;
@iconDistance: 1.5em; @iconDistance: 1.5em;
@iconVerticalAlign: middle;
@iconVerticalAlign: top;
/* Attached */ /* Attached */
@attachedOffset: -1px; @attachedOffset: -1px;

3
src/themes/packages/default/modules/checkbox.variables

@ -4,10 +4,10 @@
@checkboxColor: @textColor; @checkboxColor: @textColor;
@fontSize: 1em; @fontSize: 1em;
@checkboxLineHeight: 15px;
/* Label */ /* Label */
@labelPadding: 2em; @labelPadding: 2em;
@labelLineHeight: 15px;
@neutralCheckbox: @transparentBlack; @neutralCheckbox: @transparentBlack;
@positiveCheckbox: @positiveColor; @positiveCheckbox: @positiveColor;
@ -27,7 +27,6 @@
/* Checkmark */ /* Checkmark */
@checkboxCheckOffset: 1px; @checkboxCheckOffset: 1px;
/* Radio */ /* Radio */
@checkboxRadioOffset: 3px; @checkboxRadioOffset: 3px;
@checkboxRadioCircleSize: 9px; @checkboxRadioCircleSize: 9px;

Loading…
Cancel
Save