Skip to content

Commit

Permalink
fixup! Fix GitHub loading repos and some feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
ashumilova committed Jun 27, 2017
1 parent c98c4a7 commit 527ca9f
Show file tree
Hide file tree
Showing 17 changed files with 51 additions and 40 deletions.
5 changes: 5 additions & 0 deletions dashboard/src/app/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -237,3 +237,8 @@ md-option:hover

.noselect
user-select none

.popover
font-family 'Open Sans'
font-size 12px
border-radius 2px
4 changes: 2 additions & 2 deletions dashboard/src/app/stacks/stack-details/stack.styl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

.md-chip
background-color $che-medium-blue-color
border-radius 3px
border-radius 2px
padding 0 !important
font-weight bold
font-size 11px
Expand All @@ -90,7 +90,7 @@

md-chip-template .stack-library-text
border none
border-radius 3px
border-radius 2px
padding 0 25px 0 11px

md-chip-template .stack-library-btn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
required>
</che-input-box>

<div layout="row" layout-align="left"
flex flex-offset="15">
<div layout="row" layout-align="left" class="skip-root-container">
<div flex="20"></div>
<md-checkbox ng-model="importZipProjectController.skipFirstLevel"
ng-change="importZipProjectController.onCheckboxChanged()"
aria-label="Skip the root folder of the archive">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@
span
color $label-primary-color
vertical-align text-top

.skip-root-container
max-width 800px
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<toggle-single-button class="add-project"
che-title="Add or Import Project"
che-multiline-title
che-font-icon="fa fa-plus"
che-font-icon="material-design icon-ic_add_24px"
che-on-change="projectSourceSelectorController.updateData({buttonState: state, buttonType: projectSourceSelectorController.buttonType.ADD_PROJECT})"
ng-init="projectSourceSelectorController.selectedButtonType = projectSourceSelectorController.buttonType.ADD_PROJECT"
che-value="projectSourceSelectorController.buttonValues['ADD_PROJECT']"></toggle-single-button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
color white
height 50px

md-icon
min-width 35px
text-align center

&:before
font-size 28px

&:hover
background-color darken($primary-color, 10%)

Expand All @@ -35,7 +42,7 @@
button
position relative
line-height 33px
border-radius 5px
border-radius 2px
float none
display block
text-align left
Expand Down Expand Up @@ -83,7 +90,7 @@

.project-source-selector-popover-toggle-buttons
.che-toggle-button .che-toggle-title
font-size 13px
font-size 12px

.project-source-selector-button

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
</div>
</div>

<div flex layout="row">
<div flex layout="row" flex="auto">
<!-- Name -->
<div flex layout="column" layout-align="center start">
<div flex="40" layout="column" layout-align="center start">
<span class="che-list-item-name ram-settings-machine-item-item-name">{{ramSettingsMachineItemController.machineName}}</span>
</div>

Expand All @@ -28,7 +28,7 @@
</div>

<!-- RAM limit -->
<div flex="30" layout="column" layout-align="center start">
<div flex="25" layout="column" layout-align="center start">
<ng-form name="ramAmountForm">
<che-number-spinner che-form="ramAmountForm"
che-name="memory"
Expand All @@ -44,9 +44,10 @@
</che-number-spinner>
</ng-form>
</div>

<div style="width: 10px"></div>
</div>


</che-list-item>

</div>
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.ram-settings-machine-item
font-size 12px

md-item.che-list-item
border none

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
margin-right 16px

.md-chip
border-radius 3px !important
border-radius 2px !important
border none !important
padding 0 !important
height 17px
Expand All @@ -70,7 +70,7 @@

.stack-library-filter-tag-text, .stack-library-filter-suggestion-text
border 1px solid #fff
border-radius 3px !important
border-radius 2px !important

.stack-library-filter-tag-btn, .stack-library-filter-suggestion-btn
border-left 1px solid #fff
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
class="stack-selector-item-description">
<!-- Name cell -->
<div flex-gt-md="15">
<span class="stack-selector-item-name">{{stack.name}}</span>
<span class="che-list-item-name">{{stack.name}}</span>
</div>
<!-- Description cell -->
<div flex-gt-md>
<span class="stack-selector-item-secondary-color">{{stack.description}}</span>
<span class="che-list-item-secondary">{{stack.description}}</span>
</div>
</div>

Expand All @@ -52,11 +52,10 @@
</div>

<!-- RAM -->
<div flex="25">
<span class="stack-selector-item-ram-offset stack-selector-item-secondary-color"
<div flex="25" layout="row" layout-align="start center">
<span class="stack-ram-offset stack-selector-item-secondary-color"
ng-if="stackMachines.length === 1">{{stackMachines[0].memoryLimitBytes | changeMemoryUnit:['B','GB']}}</span>
</div>

<!-- todo Pull number -->
<!-- not implemented yet -->

Expand All @@ -75,7 +74,7 @@
class="stack-selector-item-machine-name">{{machine.name}}
</div>
<div flex="25"
class="stack-selector-item-secondary-color">{{machine.memoryLimitBytes | changeMemoryUnit:['B','GB']}}</div>
class="stack-selector-item-secondary-color stack-ram-offset">{{machine.memoryLimitBytes | changeMemoryUnit:['B','GB']}}</div>
</div>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,6 @@
div
width 50px

.stack-selector-item-ram-offset
padding-left 0

.stack-selector-item-name, .stack-selector-item-machine-name
color lighten($che-black-color, 29%)

.stack-selector-item-secondary-color
color lighten($che-ide-background-color, 60%)

.stack-selector-machines .stack-selector-machine-icon > div
font-size 24px
margin-left 120px
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
che-sort-item="name"
che-column-title="Name"></che-list-header-column>
<che-list-header-column flex="25"
class="stack-selector-title-ram-offset"
class="stack-ram-offset"
che-column-title="RAM"></che-list-header-column>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
top -40px

.che-list-content
.stack-selector-item-ram-offset
line-height 50px
.stack-selector-item-icon
line-height inherit

Expand All @@ -60,3 +58,5 @@
.che-list
margin 0

.stack-ram-offset
padding-left 52px
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export class CheNamespaceRegistry {
this.$interval = $interval;
this.$timeout = $timeout;
this.namespaces = [];
this.namespaces.push({id: 'tets', label: 'test', location: 'test'});

this.caption = 'Namespace';
}
Expand Down
4 changes: 2 additions & 2 deletions dashboard/src/components/widget/input/che-input-box.styl
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
white-space nowrap
background-color $che-white-color
border 1px solid $default-border-color
padding 0 0 0 10px !important
border-radius 5px
padding 0 20px 0px 10px !important
border-radius 2px

&:focus
border-color $primary-color
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.che-number-spinner
font-size 12px
// hide spin buttons
input[type=number] {
-moz-appearance: textfield;
Expand Down Expand Up @@ -41,7 +42,7 @@
text-align right
font-weight 600
min-width 1px
max-width 50px
max-width 26px

.unit
font-weight 600
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ toggle-single-button
.md-button
height 20px
line-height 20px
padding 2px 10px 0 20px
margin 0 -1px 0 0
font-size 12px
z-index 1

border-radius: 2px !important;
font-size: 1em;
width: auto;
padding-left: 10px;
text-transform: capitalize;
font-weight: normal;
box-shadow: 0 2px 1px 0 rgba(0,0,0,0.15);
color $button-enabled-color
border-radius inherit
border 1px solid $button-enabled-border-color
background-color $button-enabled-background-color

Expand All @@ -47,7 +50,7 @@ toggle-single-button
color inherit
vertical-align initial
margin-left 0
margin-right 0
margin-right 10px

&:not(.toggle-single-button-disabled):hover
background-color darken($button-enabled-background-color, 5%)
Expand Down

0 comments on commit 527ca9f

Please sign in to comment.