silverwind
4617bb689b
Misc UI fixes, add secondary color ( #13378 )
...
* Misc UI fixes, add secondary color
- Add secondary color, primarily used in arc-green currently
- Convert icons on release page to SVG
- Improve resolved conversation placeholder
- Diff fixes on arc-green
- Misc color tweaks
* fix comment header, adjust arc-green dropzone
* label margin, sidebar margin
* flexbox commits table and add primary button styles
* tooltip styles
* file header fixes
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: zeripath <art27@cantab.net>
4 years ago
silverwind
2ac112d84e
Comment box tweaks and SVG dropdown triangles ( #13376 )
...
* Comment box tweaks and SVG dropdown triangles
- Change all dropdown triangles to SVG
- Bring inline review comment box closer to regular comment boxes
- Enhance arc-green checkbox contrast
- Minor reaction tweaks
- Flexbox the diff file header
* remove a border
* fix type marker in arc-green
* add small code padding
* fix position regression and remove useless rules
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
silverwind
de871f7c93
Various style fixes ( #13372 )
...
- Add alpha variants for primary color
- Make timeline items solid background color
- Fix reaction styles recently regressed
- Fix diff header and make it flexbox
- Numerous smaller fixes for arc green
4 years ago
silverwind
6c323678d0
Use CSS Vars for primary color ( #13361 )
...
* Use CSS Vars for primary color
- Create 15 color shades derived from primary color
- Change blue-ish colors to use that primary color
- Move styles for scrollbars, selection from arc-green to base
- Remove obsolete arc-green styles that now use those variables
* simplify webkit scrollbar style
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
silverwind
3ddf3f93d6
Use CSS Variables for fonts, remove postcss-loader ( #13204 )
...
* Use CSS Variables for fonts, remove postcss-loader
- Use CSS variables for fonts, making the fonts easier to customize
- Remove postcss-loader, it's not doing anything useful and is actually
applying strange transforms on our CSS.
Fixes: https://github.com/go-gitea/gitea/issues/11045
* introduce helper variable, mark documented vars
* work around case issue by always quoting specific fonts
4 years ago
silverwind
eb4db0445b
Reindent Less to 2-space ( #12602 )
...
Reindent and unify codebase to 2-space indentation.
5 years ago
silverwind
84a419de98
Replace code fold icons with octicons ( #12222 )
...
- replace font-awesome icons with octicons
- clean up js and css surrounding the code expansion and file folding
- fix hover color on arc-green
- tweak diff line number colors
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
Cirno the Strongest
180286da0c
Fix missing styling for dropdown icon on review button ( #11998 )
...
* Fix missing styling for dropdown icon on review button
* Remove unnecessary span element
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
Cirno the Strongest
6c38f371ea
Align show/hide outdated button on code review block ( #11932 )
...
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
5 years ago
zeripath
1ee6c13f11
Initialize SimpleMDE when making a code comment ( #11749 )
...
Fix #11704
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-Authored-By: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com>
5 years ago
Cirno the Strongest
e682a92295
Fix margin for attached top header on code review ( #11571 )
...
Introduced naively by #11463
The margin was being applied too widely.
5 years ago
silverwind
9e0e2a9fcf
Enable stylelint's shorthand-property-no-redundant-values ( #11436 )
...
Enabled the rule and --fix'ed issues.
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
5 years ago
Cirno the Strongest
7fd60c6d8d
Fix styling of resolved code comment box ( #11463 )
...
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
Cirno the Strongest
6603045476
Better styling for code review comment textarea ( #11428 )
...
* Better styling for code review comment textarea
* align tabular menu with textarea
* border around active tab instead of textarea
* border radius
* use .28571429rem
5 years ago
Cirno the Strongest
c483419184
Better styling for code review comment form ( #11413 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
5 years ago
silverwind
4e912d2ed8
Disallow leading zeroes in Less ( #10407 )
5 years ago
zeripath
9f1f2e6675
Set max-width on review-box comment box ( #10348 )
5 years ago
Antoine GIRARD
cdda5c4b90
ui: better mobile review-box sizing ( #10297 )
5 years ago
Benno
bb2c0c3729
fix add comment button text align ( #9140 )
5 years ago
Benno
149a9df9e8
Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code ( #8924 )
...
* update #8659 fold/unfold code diffs
* add fold button style
* update #8659 implement expand up/down codes (blob excerpt)
* fix golint errors
* fix expand direction
* remove debug message
* update css style for blob exceprt
* fix typo in comment
* update style sheet with less
* update expect diff (add SectionInfo)
* update #8942 accept suggested change (fix typo)
* close reader and check file type before get tail section
* adjust button position and check file type before insert fold button
* move index js to web_src
* merge index.js with master
* generate index.js
* update js coding style
5 years ago
Lunny Xiao
e4e6d48e30
Move less from public/ to web_src/ so that it will not be packe… ( #8908 )
5 years ago