Organization.less 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. @import "~assets/less/variable";
  2. .groupList {
  3. padding: 8px 24px;
  4. box-shadow: 0 -1px 0 @grey-line-color;
  5. display: flex;
  6. justify-content: space-between;
  7. &:hover {
  8. color: @blue;
  9. cursor: pointer;
  10. }
  11. .orgHeader {
  12. display: flex;
  13. //flex-direction: column;
  14. .avatar {
  15. display: flex;
  16. align-items: center;
  17. img {
  18. vertical-align: top;
  19. }
  20. }
  21. .name {
  22. display: flex;
  23. flex-direction: column;
  24. margin-left: 8px;
  25. .title {
  26. font-weight: 400;
  27. font-size: 16px;
  28. .nameTag {
  29. color: @white;
  30. font-size: 12px;
  31. margin-left: 8px;
  32. background: lighten(@blue, 20%);;
  33. padding: 1px 6px;
  34. border-radius: 3px;
  35. }
  36. }
  37. .desc {
  38. font-size: 12px;
  39. color: @light-text-color;
  40. }
  41. }
  42. }
  43. .setting {
  44. align-self: center;
  45. font-size: 18px;
  46. cursor: pointer;
  47. }
  48. }
  49. .listWrapper {
  50. margin: 12px auto 24px auto;
  51. padding: 0 8px;
  52. .tableWrap {
  53. padding: 24px 0px 8px 0px;
  54. }
  55. }
  56. .organizationLogo {
  57. margin: 24px auto 24px 8px;
  58. display: flex;
  59. img {
  60. vertical-align: top;
  61. }
  62. .title {
  63. font-size: 20px;
  64. font-weight: 400;
  65. line-height: 40px;
  66. margin-left: 16px;
  67. color: @rich-text;
  68. }
  69. }
  70. .container {
  71. display: flex;
  72. padding-left: 40px;
  73. padding-bottom: 60px;
  74. flex-direction: column;
  75. .form {
  76. flex: 1;
  77. }
  78. hr {
  79. margin: 0 0 48px 0;
  80. border: 0;
  81. border-top: 1px solid @grey-line-color;
  82. }
  83. }
  84. .addCol {
  85. padding: 0 4px;
  86. text-align: right;
  87. }
  88. .projectItemWrap{
  89. padding: 8px 8px;
  90. margin-top: 16px;
  91. border-radius: 4px;
  92. display: flex;
  93. border: 1px solid @grey-line-color;
  94. &:hover {
  95. box-shadow: @block-box-shadow;
  96. //transform: translate3d(0, -5px, 0);
  97. cursor: pointer;
  98. .avatarWrapper {
  99. background-size: 110%;
  100. }
  101. }
  102. .avatarWrapper{
  103. width: 260px;
  104. height: 120px;
  105. margin-right: 20px;
  106. flex-shrink: 0;
  107. background-color: @body-background;
  108. background-repeat: no-repeat;
  109. background-size: 100%;
  110. background-position: center center;
  111. border-radius: 2px;
  112. box-shadow: @block-box-shadow;
  113. transform: translate3d(0, 0, 0);
  114. transition: transform 200ms linear,
  115. box-shadow 200ms linear,
  116. background-size 500ms linear;
  117. position: relative;
  118. }
  119. .detailWrapper {
  120. display: flex;
  121. flex-direction: column;
  122. .title {
  123. max-width: 460px;
  124. font-size: 18px;
  125. font-weight: 600;
  126. margin-bottom: 16px;
  127. color: @blue;
  128. cursor: pointer;
  129. padding: 0px 58px 0 0;
  130. .ellipsis;
  131. }
  132. .desc {
  133. font-size: 12px;
  134. max-width: 400px;
  135. color: @light-text-color;
  136. margin-bottom: 8px;
  137. .ellipsis;
  138. }
  139. .tag {
  140. margin-bottom: 8px;
  141. span {
  142. font-size: 12px;
  143. }
  144. }
  145. .others {
  146. display: flex;
  147. .updateTime {
  148. color: @rich-text;
  149. margin-right: 32px;
  150. .label {
  151. color: @light-text-color;
  152. margin-right: 8px;
  153. }
  154. }
  155. .stars {
  156. margin-right: 32px;
  157. cursor: pointer;
  158. color: @rich-text;
  159. }
  160. .delete {
  161. cursor: pointer;
  162. margin-left: 16px;
  163. i {
  164. font-size: 18px;
  165. line-height: 21px;
  166. }
  167. }
  168. }
  169. }
  170. }
  171. .create {
  172. font-size: 24px;
  173. line-height: 32px;
  174. margin-left: 6px;
  175. cursor: pointer;
  176. }
  177. .formWrapper {
  178. padding: 16px;
  179. text-align: left;
  180. .header {
  181. .title{
  182. font-size: 24px;
  183. color:@rich-text;
  184. font-weight: 600;
  185. .orgName {
  186. font-size: 20px;
  187. color: @blue;
  188. }
  189. }
  190. .desc{
  191. margin-top: 4px;
  192. font-size: 14px;
  193. color:@light-text-color;
  194. }
  195. }
  196. .body {
  197. margin: 16px auto;
  198. }
  199. .footer{
  200. button {
  201. margin-right: 6px;
  202. }
  203. }
  204. }
  205. .permissionZone {
  206. margin:20px 20px;
  207. }
  208. .selectOption {
  209. display: flex;
  210. justify-content: space-between;
  211. align-items: center;
  212. .title{
  213. display: flex;
  214. align-items: center;
  215. }
  216. .owner{
  217. color: @rich-text;
  218. font-size: 18px;
  219. font-weight: 600;
  220. margin-right: 8px;
  221. }
  222. }
  223. .dangerZone{
  224. margin-left: 20px;
  225. .title {
  226. font-weight: 600;
  227. font-size: 16px;
  228. margin: 24px auto 16px auto;
  229. color: crimson;
  230. }
  231. .titleDesc {
  232. padding: 16px;
  233. border-radius: 6px;
  234. border: 1px solid crimson;
  235. display: inline-block;
  236. .button {
  237. font-weight: 600;
  238. font-size: 18px;
  239. color: @rich-text;
  240. }
  241. .desc{
  242. margin-bottom: 8px;
  243. font-size: 12px;
  244. color: crimson;
  245. }
  246. }
  247. }
  248. .badge {
  249. display: inline-block;
  250. vertical-align: text-bottom;
  251. padding: 2px 5px;
  252. font-size: 12px;
  253. font-weight: 600;
  254. line-height: 1;
  255. color: #586069;
  256. background-color: rgba(27,31,35,0.08);
  257. border-radius: 20px;
  258. margin-left: 4px;
  259. }
  260. .avatarWrapper {
  261. display: flex;
  262. flex-direction: row;
  263. align-items: center;
  264. }
  265. .avatarName {
  266. font-size: 14px;
  267. font-weight: 600;
  268. line-height: 30px;
  269. margin-left: 8px;
  270. }
  271. .radioStyle {
  272. display: block;
  273. height: 30px;
  274. line-Height: 30px;
  275. }
  276. .radioWrapper {
  277. display: flex;
  278. margin-bottom: 8px;
  279. :global(.ant-radio-wrapper) {
  280. padding-top: 9px;
  281. }
  282. .labelWrapper {
  283. display: flex;
  284. flex-direction: column;
  285. align-items: flex-start;
  286. .label{
  287. font-size: 14px;
  288. color: @rich-text;
  289. font-weight: 600;
  290. }
  291. .labelDesc {
  292. }
  293. }
  294. }
  295. .teamTableExpandIcon {
  296. cursor: pointer;
  297. }
  298. .childTable {
  299. background-color: @white;
  300. margin: -11px -9px !important;
  301. }
  302. .childTableCell {
  303. display: flex;
  304. flex-direction: row;
  305. justify-content: space-between;
  306. padding-right: 8px;
  307. }
  308. .notUsersWrapper {
  309. .titleWrapper {
  310. text-align: center;
  311. .icon{
  312. font-size: 32px;
  313. }
  314. .title {
  315. font-size: 24px;
  316. color: @rich-text;
  317. margin-top: 16px;
  318. }
  319. }
  320. .body {
  321. margin: 16px 16px 0;
  322. }
  323. .footer {
  324. text-align: right;
  325. margin-right: 8px;
  326. margin-top: 32px;
  327. }
  328. }