123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301 |
- @import "../ui/var";
- @headerBgColor: #428BCA;
- @headerLinkFontColor: #FFF;
- @headerLinkHoverColor: #fff65f;
- @headerLinkCurrentColor: #fff65f;
- @headerSignOutColor: #ff908b;
- @footerBorderColor: #D6D6D6;
- @footerFontColor: #888;
- @langNum: 2px;
- // means 2 items
- html,
- body {
- height: 100%;
- }
- .octicon,
- .fa {
- width: 16px;
- text-align: center;
- }
- .container {
- max-width: 1170px;
- padding: 0 1.5em;
- margin: auto;
- }
- img.avatar-16 {
- width: 16px;
- height: 16px;
- vertical-align: middle;
- }
- img.avatar-20 {
- width: 20px;
- height: 20px;
- vertical-align: middle;
- }
- img.avatar-24 {
- width: 24px;
- height: 24px;
- vertical-align: middle;
- }
- img.avatar-30 {
- width: 30px;
- height: 30px;
- vertical-align: middle;
- }
- img.avatar-40 {
- width: 40px;
- height: 40px;
- vertical-align: middle;
- }
- img.avatar-48{
- width: 48px;
- height: 48px;
- vertical-align: middle;
- }
- img.avatar-100{
- width: 100px;
- height: 100px;
- vertical-align: middle;
- }
- .drop-down{
- .panel-header{
- font-size: 14px;
- }
- }
- #wrapper {
- padding: 0;
- margin: 0 0 -55px 0;
- min-height: 100%;
- }
- #footer {
- background-color: white;
- border-top: 1px solid@footerBorderColor;
- clear: both;
- width: 100%;
- .container {
- padding: 15px;
- }
- color:@footerFontColor;
- .official,
- .version {
- color: @footerFontColor;
- }
- }
- #footer-links {
- > * {
- border-left: 1px solid@footerBorderColor;
- padding-left: 8px;
- margin-left: 5px;
- &:first-child {
- border-left: none;
- }
- }
- }
- #footer-lang {
- position: relative;
- .drop-down {
- top: -2-31*@langNum;
- left: -2px;
- position: absolute;
- height: -3+31*@langNum;
- z-index: 100;
- font-size: 12px;
- width: 170%;
- min-width: 140px;
- li > a {
- padding: 3px 9px;
- }
- }
- }
- #header {
- background-color: @headerBgColor;
- height: 45px;
- > .menu-line {
- > li > a {
- display: inline-block;
- color:@headerLinkFontColor;
- &:hover {
- background-color: transparent;
- color: @headerLinkHoverColor;
- }
- }
- > li.head {
- color: @headerLinkFontColor;
- }
- > li.hover a:after {
- bottom: -9px;
- color: @headerLinkFontColor;
- }
- > li.current > a {
- color: @headerLinkCurrentColor;
- font-weight: bold;
- }
- }
- }
- #header-nav-user {
- height: 44px;
- img {
- margin: -2px 10px 0 0;
- border-radius: 3px;
- }
- }
- #header-nav-sign-out > a:hover {
- color: @headerSignOutColor !important;
- }
- #header-nav-logo {
- padding: 6px 1.2em 6px 0;
- }
- #header-nav-explore,
- #header-nav-help {
- font-size: 14px;
- }
- #header-new-repo-menu {
- width: 180px;
- background-color: #FFF;
- top: 44px;
- border-top: none;
- .octicon {
- margin-right: 6px;
- font-size: 1.1em;
- }
- left:-66px;
- }
- .switching-list {
- width: 100%;
- list-style: none;
- > li {
- border-bottom: 1px solid #eaeaea;
- &:last-child {
- border-bottom: none;
- }
- > a {
- padding: .4em 1.2em;
- display: block;
- color: #444;
- &:hover {
- background-color: #428bca !important;
- color: #fff !important;
- }
- }
- }
- }
- .social-buttons {
- .btn {
- border: none;
- font-size: 16px;
- border-radius: 4px;
- margin-right: 12px;
- font-family: 'PT Sans Narrow', sans-serif;
- padding: 5px 12px;
- color: #FFF;
- .fa {
- margin-right: 6px;
- font-size: 16px;
- }
- }
- .twitter {
- background-color: #1c6399;
- &:hover {
- background-color: #1c5487;
- }
- }
- .github {
- background-color: #444;
- &:hover {
- background-color: #333;
- }
- }
- .google {
- background-color: #C03D20;
- &:hover {
- background-color: #D56060;
- }
- }
- .weibo {
- background-color: #bf1324;
- &:hover {
- background-color: #b94c4a;
- }
- }
- .qq {
- background-color: #03a2ef;
- &:hover {
- background-color: #3cb3ff;
- }
- }
- }
- .main-wrapper {
- padding: 20px 0 40px;
- }
- .user-list {
- width: auto;
- min-width: 180px;
- max-width: 300px;
- img {
- width: 28px;
- height: 28px;
- margin-right: 1em;
- margin-top: 1px;
- vertical-align: middle;
- }
- li {
- cursor: pointer;
- font-weight: bold;
- }
- }
- .text-success {
- color: #3c763d;
- }
- .text-blue {
- color: #15c;
- }
- .text-red {
- color: #DD4B39;
- }
- .text-grey {
- color: #999999;
- }
- .text-black {
- color: #444444;
- }
- .text-gold {
- color: #a1882b;
- }
- .table {
- width: 100%;
- max-width: 100%;
- > thead > tr > th,
- > tbody > tr > th,
- > tfoot > tr > th,
- > thead > tr > td,
- > tbody > tr > td,
- > tfoot > tr > td {
- border-top: 1px solid #e7eaec;
- line-height: 1.42857;
- padding: 8px;
- vertical-align: top;
- }
- th {
- text-align: left;
- }
- }
- .table-striped {
- >tbody>tr:nth-child(odd)>td,
- >tbody>tr:nth-child(odd)>th {
- background-color: #f9f9f9;
- }
- }
- .pagination {
- display: inline-block;
- padding-left: 0;
- margin: 20px 0;
- border-radius: 4px;
- li {
- display: inline;
- }
- }
- .list-unstyled {
- padding-left: 0;
- list-style: none;
- }
|