diff options
author | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-11-04 21:58:28 +0800 |
---|---|---|
committer | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-11-04 21:58:28 +0800 |
commit | b866dc92d77c37c12982609b641c159d9eb109bf (patch) | |
tree | 9e9f2b65570a54fec57b65c253a7b1eb6aa5a70a /public/ng/less/ui | |
parent | 743b55b9b0117d50e543cb95221d3737bf02d6bc (diff) | |
download | gitea-b866dc92d77c37c12982609b641c159d9eb109bf.tar.gz gitea-b866dc92d77c37c12982609b641c159d9eb109bf.zip |
finish issue list ui draft
Diffstat (limited to 'public/ng/less/ui')
-rw-r--r-- | public/ng/less/ui/pager.less | 28 | ||||
-rw-r--r-- | public/ng/less/ui/var.less | 9 |
2 files changed, 37 insertions, 0 deletions
diff --git a/public/ng/less/ui/pager.less b/public/ng/less/ui/pager.less new file mode 100644 index 0000000000..18e24cd132 --- /dev/null +++ b/public/ng/less/ui/pager.less @@ -0,0 +1,28 @@ +@import "var"; + +.pager{ + .page{ + padding: 2px 6px; + margin: 0 3px; + background-color: @pagerPageBgColor; + color: @pagerPageColor; + &:hover,&.hover{ + background-color: @pagerHoverBgColor; + color: @pagerHoverColor; + } + } + .prev,.next{ + padding: 2px 8px; + margin: 0 4px; + background-color: @pagerDirectionBgColor; + color: @pagerDirectionColor; + &.invalid{ + background-color: @pagerInvalidBgColor; + color: @pagerInvalidColor; + cursor: not-allowed; + } + } + .page-radius{ + border-radius: .2em; + } +}
\ No newline at end of file diff --git a/public/ng/less/ui/var.less b/public/ng/less/ui/var.less index e3c5ada633..c9eb162930 100644 --- a/public/ng/less/ui/var.less +++ b/public/ng/less/ui/var.less @@ -81,3 +81,12 @@ @preBgColor:#444; @preFontColor:#FFF; + +@pagerPageColor:#444; +@pagerPageBgColor:#CCC; +@pagerHoverBgColor:#428BCA; +@pagerHoverColor:#FFF; +@pagerInvalidColor:#AAA; +@pagerInvalidBgColor:#EEE; +@pagerDirectionBgColor:#505050; +@pagerDirectionColor:#FAFAFA; |